linux/drivers/net/hyperv
Stephen Hemminger d2a93f6910 hv_netvsc: do not use VF device if link is down
[ Upstream commit 7c9864bbcc ]

If the accelerated networking SRIOV VF device has lost carrier
use the synthetic network device which is available as backup
path. This is a rare case since if VF link goes down, normally
the VMBus device will also loose external connectivity as well.
But if the communication is between two VM's on the same host
the VMBus device will still work.

Reported-by: "Shah, Ashish N" <ashish.n.shah@intel.com>
Fixes: 0c195567a8 ("netvsc: transparent VF management")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-11 15:32:34 +02:00
..
hyperv_net.h hv_netvsc: Fix offset usage in netvsc_send_table() 2020-01-27 14:51:20 +01:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: do not use VF device if link is down 2020-08-11 15:32:34 +02:00
netvsc_trace.c
netvsc_trace.h
netvsc.c hv_netvsc: Fix unwanted wakeup in netvsc_attach() 2020-03-05 16:42:19 +01:00
rndis_filter.c hv_netvsc: Fix memory leak when removing rndis device 2020-01-23 08:21:34 +01:00