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
Alexander Duyck 990a315800 ixgbe: Update DESC_NEEDED define to adjust for changes to MAX_SKB_FRAGS
Recent changes have made it so that MAX_SKB_FRAGS is now never less than 16.
As a result we were seeing issues on systems with 64K pages as it would
cause DESC_NEEDED to increase to 68, and we would need over 136 descriptors
free before clean_tx_irq would wake the queue.

This patch makes it so that DESC_NEEDED is always MAX_SKB_FRAGS + 4.  This
should prevent any possible deadlocks on the systems with 64K pages as we will
now only require 42 descriptors to wake.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-02-15 23:59:32 -08:00
..
e1000 e1000: fix whitespace issues and multi-line comments 2013-02-15 21:46:37 -08:00
e1000e e1000e: display a warning message when SmartSpeed works 2013-02-15 21:46:46 -08:00
igb igb: increase timeout for ethtool offline self-test 2013-02-15 21:46:54 -08:00
igbvf igbvf: Make next_to_watch a pointer and adjust memory barriers to avoid races 2013-02-15 21:46:51 -08:00
ixgb drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
ixgbe ixgbe: Update DESC_NEEDED define to adjust for changes to MAX_SKB_FRAGS 2013-02-15 23:59:32 -08:00
ixgbevf ixgbevf: Make sure link status and speed are fetched 2013-01-28 00:19:52 -08:00
e100.c remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
Kconfig e1000e: add support for IEEE-1588 PTP 2013-01-27 00:36:35 -08:00
Makefile