2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/drivers/net/ethernet/intel
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
..
e1000 v2 e1000: Neaten e1000_dump function 2012-02-24 02:03:43 -08:00
e1000e e1000e: use msleep instead of mdelay 2012-02-29 23:14:19 -08:00
igb igb: Support RX-ALL feature flag. 2012-03-17 01:02:26 -07:00
igbvf igbvf: Use ETH_ALEN 2012-03-19 16:53:08 -04:00
ixgb ixgb: Remove unnecessary defines, use pr_debug 2012-03-14 00:26:42 -07:00
ixgbe ixgbe: Fix issues with SR-IOV loopback when flow control is disabled 2012-03-19 17:37:21 -04:00
ixgbevf ixgbevf: print MAC via printk format specifier 2012-02-24 15:40:59 -05:00
e100.c e100: Show short v/s long rx length errors in ethtool stats. 2012-03-02 18:09:27 -08:00
Kconfig i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00