OpenCloudOS-Kernel/drivers/net/hyperv
Haiyang Zhang 0054795561 hv_netvsc: fix vf serial matching with pci slot info
The VF device's serial number is saved as a string in PCI slot's
kobj name, not the slot->number. This patch corrects the netvsc
driver, so the VF device can be successfully paired with synthetic
NIC.

Fixes: 00d7ddba11 ("hv_netvsc: pair VF based on serial number")
Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-15 22:58:11 -07:00
..
Kconfig hv_netvsc: drop common code until callback model fixed 2018-06-12 15:22:28 -07:00
Makefile hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
hyperv_net.h hv_netvsc: Add handler for LRO setting change 2018-09-22 17:23:16 -07:00
netvsc.c hv_netvsc: Add support for LRO/RSC in the vSwitch 2018-09-22 17:23:15 -07:00
netvsc_drv.c hv_netvsc: fix vf serial matching with pci slot info 2018-10-15 22:58:11 -07:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
rndis_filter.c hv_netvsc: Add handler for LRO setting change 2018-09-22 17:23:16 -07:00