linux/drivers/net/ethernet/intel/ixgbe
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
..
Makefile ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe.h ixgbe: Update DESC_NEEDED define to adjust for changes to MAX_SKB_FRAGS 2013-02-15 23:59:32 -08:00
ixgbe_82598.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_82599.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_common.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_common.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82598.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82598.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_nl.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_debugfs.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_ethtool.c ixgbe: fix Tx timeouts with BQL 2013-02-15 23:51:14 -08:00
ixgbe_fcoe.c drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
ixgbe_fcoe.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_lib.c ixgbe: Add function for setting XPS queue mapping 2013-02-15 21:52:03 -08:00
ixgbe_main.c ixgbe: fix Tx timeouts with BQL 2013-02-15 23:51:14 -08:00
ixgbe_mbx.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_mbx.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_phy.c ixgbe: cleanup error checking in ixgbe_identify_sfp_module_generic() 2013-02-15 23:28:15 -08:00
ixgbe_phy.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_ptp.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_sriov.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_sriov.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_sysfs.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_type.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_x540.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00