On Thu, Jan 4, 2018 at 5:25 PM, Leon Romanovsky <leon@xxxxxxxxxx> wrote: > v1 -> v2: > * Dropped "IB/mlx5: Use correct mdev for vport queries in ib_virt" > v0 -> v1: > * Rebased to latest rdma/for-next > * Enriched commit messages. The V2 post LGTM re the points I was commenting on: the IB virt patch removed and the cover letter + change-log properly elaborate on how the feature is configured and what would be the resulted IB devices under the different variations, see one followup below: [..] > SR-IOV devices follow the same pattern as the physical ones. VFs of a > master port can bind VFs of slave ports, if available, and operate as > dual port devices. > > Examples of devices passed to a VM: > (master) - One net device, one IB device that has two ports. The slave > port will always be down. > (slave) - One net device, no IB devices. > (slave, slave) - Two net devices and no IB devices. > (master, master) - Two net devices, two IB devices, each with two ports. > The slave port of each device will always be down. > (master, slave) - Two net devices, one IB device, with two ports. Both > ports can be used. > > There are no changes to the existing design for net devices. > > The feature is disabled by default and it is enabled in firmware with mlxconfig. Dan, so what happens w.r.t to the different combinations specified above, if on SRIOV setup where the admin enabled the feature, VFs land in VMs whose mlx5 driver doesn't have these changes? -- 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