linux/drivers/net/ethernet/intel
Alexander Duyck 21ba6fe193 igb: Update igb to use a path similar to ixgbe to determine when to stop Tx
After reviewing the igb and ixgbe code I realized there are a few issues in
how the code is structured.  Specifically we are not checking the size of the
buffers being used in transmits and we are not using the same value to
determine when to stop or start a Tx queue.  As such the code is prone to be
buggy.

This patch makes it so that we have one value DESC_NEEDED that we will use for
starting and stopping the queue.  In addition we will check the size of
buffers being used when setting up a transmit so as to avoid a possible buffer
overrun if we were to receive a frame with a block of data larger than 32K in
skb->data.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-02-15 01:31:19 -08:00
..
e1000 drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
e1000e e1000e: cleanup checkpatch braces checks 2013-02-05 00:37:47 -08:00
igb igb: Update igb to use a path similar to ixgbe to determine when to stop Tx 2013-02-15 01:31:19 -08:00
igbvf ethernet: Remove unnecessary alloc/OOM messages, alloc cleanups 2013-02-04 13:22:33 -05:00
ixgb drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
ixgbe bridge: Add vlan support to static neighbors 2013-02-13 19:42:16 -05: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