]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: pair VF based on serial number
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 14 Sep 2018 19:54:57 +0000 (12:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Sep 2018 14:59:41 +0000 (07:59 -0700)
commit86bec1e3179c578be6e486f4f8ab85c984fab85f
treee0815806a52bc6669417949d52257c22539bdf70
parent9a7f105ae71d42a7f04525599820334d29cea0fa
hv_netvsc: pair VF based on serial number

Matching network device based on MAC address is problematic
since a non VF network device can be creted with a duplicate MAC
address causing confusion and problems.  The VMBus API does provide
a serial number that is a better matching method.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c