diff options
author | Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com> | 2008-02-01 15:58:49 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-05 13:31:32 -0500 |
commit | e092be60b2292af91c55f085151d58dc8a76820a (patch) | |
tree | 4ea782d555da72be99a59d6a59b3ba86abd7f647 /drivers/net/ixgbe/ixgbe.h | |
parent | d4f80882ee7bdc721230b9ac209ddd3a837e4545 (diff) | |
download | blackbird-op-linux-e092be60b2292af91c55f085151d58dc8a76820a.tar.gz blackbird-op-linux-e092be60b2292af91c55f085151d58dc8a76820a.zip |
ixbge: remove TX lock and redo TX accounting.
This ports Herbert Xu's "maybe_stop_tx" code and removes the tx_lock
which is not needed.
Signed-off-by: Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 7dd9a03650d3..d0bf206632ca 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h @@ -136,8 +136,6 @@ struct ixgbe_ring { u16 head; u16 tail; - /* To protect race between sender and clean_tx_irq */ - spinlock_t tx_lock; struct ixgbe_queue_stats stats; |