RE: [PATCH v8 net-next 1/2] hv_netvsc: Make netvsc/VF binding check both MAC and serial number

From: Dexuan Cui
Date: Wed Apr 21 2021 - 20:18:20 EST


> From: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
> Sent: Monday, April 19, 2021 8:54 AM
> To: Dexuan Cui <decui@xxxxxxxxxxxxx>
> ...
> On Fri, 16 Apr 2021 13:11:58 -0700
> Dexuan Cui <decui@xxxxxxxxxxxxx> wrote:
>
> > Currently the netvsc/VF binding logic only checks the PCI serial number.
> >
> > The upcoming Microsoft Azure Network Adapter (MANA) supports multiple
> > net_device interfaces (each such interface is called a "vPort", and has
> > its unique MAC address) which are backed by the same VF PCI device, so
> > the binding logic should check both the MAC address and the PCI serial
> > number.
> >
> > The change should not break any other existing VF drivers, because
> > Hyper-V NIC SR-IOV implementation requires the netvsc network
> > interface and the VF network interface have the same MAC address.
> >
> > Co-developed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> > Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> > Co-developed-by: Shachar Raindel <shacharr@xxxxxxxxxxxxx>
> > Signed-off-by: Shachar Raindel <shacharr@xxxxxxxxxxxxx>
> > Signed-off-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
>
> Acked-by: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>

Hi David, Jakub,
The "2/2" patch has been in the net-next tree since Monday, but this
"1/2" patch is not in -- can you please pick up this patch as well? This
patch is needed by the "2/2" patch.

Thanks,
-- Dexuan