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)
commit00d7ddba1143623b31bc2c15d18216e2da031b14
treee0815806a52bc6669417949d52257c22539bdf70
parenta15f2c08c70811f120d99288d81f70d7f3d104f1
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