On Thu, Mar 2, 2017 at 12:17 AM, Weiny, Ira <ira.weiny@xxxxxxxxx> wrote: >> >> > 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. >> > > Interesting... Do you have a "struct ib_device" for each pci function? > > Ira > yes. that how mlx5 devices are mapped on the PCI bus. each will have a separate function with single port. -- 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