[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210419085348.6f5afd0b@hermes.local>
Date: Mon, 19 Apr 2021 08:53:48 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Dexuan Cui <decui@...rosoft.com>
Cc: davem@...emloft.net, kuba@...nel.org, kys@...rosoft.com,
haiyangz@...rosoft.com, sthemmin@...rosoft.com, wei.liu@...nel.org,
liuwe@...rosoft.com, netdev@...r.kernel.org, leon@...nel.org,
andrew@...n.ch, bernd@...rovitsch.priv.at, rdunlap@...radead.org,
shacharr@...rosoft.com, linux-kernel@...r.kernel.org,
linux-hyperv@...r.kernel.org
Subject: Re: [PATCH v8 net-next 1/2] hv_netvsc: Make netvsc/VF binding check
both MAC and serial number
On Fri, 16 Apr 2021 13:11:58 -0700
Dexuan Cui <decui@...rosoft.com> 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@...rosoft.com>
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
> Co-developed-by: Shachar Raindel <shacharr@...rosoft.com>
> Signed-off-by: Shachar Raindel <shacharr@...rosoft.com>
> Signed-off-by: Dexuan Cui <decui@...rosoft.com>
Acked-by: Stephen Hemminger <stephen@...workplumber.org>
Powered by blists - more mailing lists