2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/net/ethernet/intel/ixgbe
Alexander Duyck 8f4a0a3d9f ixgbe: Fix issues with SR-IOV loopback when flow control is disabled
This patch allows us to avoid a Tx hang when SR-IOV is enabled.  This hang
can be triggered by sending small packets at a rate that was triggering Rx
missed errors from the adapter while the internal Tx switch and at least
one VF are enabled.

This was all due to the fact that under heavy stress the Rx FIFO never
drained below the flow control high water mark.  This resulted in the Tx
FIFO being head of line blocked due to the fact that it relies on the flow
control high water mark to determine when it is acceptable for the Tx to
place a packet in the Rx FIFO.

The resolution for this is to set the FCRTH value to the RXPBSIZE - 32 so
that even if the ring is almost completely full we can still place Tx
packets on the Rx ring and drop incoming Rx traffic if we do not have
sufficient space available in the Rx FIFO.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-03-19 17:37:21 -04:00
..
ixgbe_82598.c ixgbe: Do not disable read relaxed ordering when DCA is enabled 2012-03-14 00:30:17 -07:00
ixgbe_82599.c ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe_common.c ixgbe: Fix issues with SR-IOV loopback when flow control is disabled 2012-03-19 17:37:21 -04:00
ixgbe_common.h ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe_dcb_82598.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82598.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_82599.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb_nl.c net: dcb: getnumtcs()/setnumtcs() should return an int 2012-03-02 18:16:49 -08:00
ixgbe_dcb.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_dcb.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_ethtool.c ixgbe: Correct flag values set by ixgbe_fix_features 2012-03-19 13:43:34 -07:00
ixgbe_fcoe.c ixgbe: Store Tx flags and protocol information to tx_buffer sooner 2012-03-19 01:38:42 -07:00
ixgbe_fcoe.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_lib.c ixgbe: fix namespace issues when FCoE/DCB is not enabled 2012-03-19 13:59:11 -07:00
ixgbe_main.c ixgbe: fix namespace issues when FCoE/DCB is not enabled 2012-03-19 13:59:11 -07:00
ixgbe_mbx.c ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_mbx.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-04 16:39:32 -05:00
ixgbe_phy.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_sriov.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
ixgbe_sriov.h ixgbe: update copyright to 2012 2012-02-03 03:05:30 -08:00
ixgbe_type.h ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe_x540.c ixgbe: Fix race condition where RX buffer could become corrupted. 2012-03-14 00:47:42 -07:00
ixgbe.h ixgbe: fix namespace issues when FCoE/DCB is not enabled 2012-03-19 13:59:11 -07:00
Makefile ixgbe: fix namespace issues when FCoE/DCB is not enabled 2012-03-19 13:59:11 -07:00