numam-dpdk/drivers/net
Sergio Gonzalez Monroy 1c2bbcdfd7 ixgbevf: fix link status for PF up/down events
Current ixgbe VF base driver only really read the status register when:
 - get_link_status is true
 - link reset
 - mailbox timeout.

We only set get_link_status to true when we start the PF/VF, so
following calls to ixgbe_dev_link_update will just keep the old link
status unless the link has been reset.

Because of this behaviour, when the link status of the PF changes after
the VF has been initialized, we do not read the current status register
from the nic and instead we just keep the old link status.

Fix the problem by setting this field to true before calling
ixgbe_check_link function from base driver. We don't need to check after
this call for get_link_status anymore, so remove it.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2015-06-22 12:16:49 +02:00
..
af_packet af_packet: move to drivers/net/ 2015-05-22 15:51:38 +02:00
bonding bonding: remove useless memset 2015-06-04 10:46:45 +02:00
e1000 e1000: add multicast MAC address filtering 2015-06-12 15:55:38 +02:00
enic drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
fm10k drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
i40e drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
ixgbe ixgbevf: fix link status for PF up/down events 2015-06-22 12:16:49 +02:00
mlx4 mlx4: fix 32-bit build 2015-06-12 17:38:14 +02:00
null null: remove useless memset 2015-06-04 10:46:45 +02:00
pcap drivers: fix whitespace 2015-06-12 11:10:10 +02:00
ring ring: move to drivers/net/ 2015-05-22 16:06:22 +02:00
virtio virtio: fix crash if CQ is not negotiated 2015-06-12 14:50:06 +02:00
vmxnet3 drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
xenvirt xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
Makefile xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00