Re: [RFC] libibverbs IB device hotplug support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 1, 2017 at 2:10 AM, ira.weiny <ira.weiny@xxxxxxxxx> wrote:
> After the call it occurred to me that we may be missing a bigger picture with
> this discussion.  In the past we have discussed in the past what exactly a
> "struct ib_device" is within the context of the kernel.
>
> Should we also consider "port hotplug"?
>
> For example what happens if a Mellanox port is unplugged from an IB port and
> plugged into an Ethernet port?  Is that considered a "device" hot plug?

Yes, this fis a 'device' hotplug.
Reconfiguring a ConnectX3 port from one link layer to another requires
full device plugout & plugin. And this needs to be done by the sys
admin.


> What happens if this is a dual port device and only one of the 2 IB ports are
> changed?  So many things like AH, Path Records, etc are tied to the "device"
> but really they should be tied to the port.

The newer ConnectX4 (and forward) devices expose a pci function per
port, so reconfiguring a port link layer will hotplug only that pci
function.

Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux