diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2007-01-06 09:51:38 -0800 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2007-01-06 09:51:38 -0800 |
commit | dfd341e4e467d146901a3accb761f04fda535433 (patch) | |
tree | 60c663f439cbfdd50eff5cdf1f76ee9436b6c6d2 /drivers/net/ixgb/ixgb.h | |
parent | 5d9278537502d2e404e85485d1b905814fe728c0 (diff) | |
download | blackbird-op-linux-dfd341e4e467d146901a3accb761f04fda535433.tar.gz blackbird-op-linux-dfd341e4e467d146901a3accb761f04fda535433.zip |
ixgb: Maybe stop TX if not enough free descriptors
A similar patch to commit 65c7973fa5b46b024f38be208aa477e8daf9a603
but now for ixgb.
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
-rw-r--r-- | drivers/net/ixgb/ixgb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h index 50ffe90488ff..f4aba4355b19 100644 --- a/drivers/net/ixgb/ixgb.h +++ b/drivers/net/ixgb/ixgb.h @@ -171,6 +171,7 @@ struct ixgb_adapter { /* TX */ struct ixgb_desc_ring tx_ring ____cacheline_aligned_in_smp; + unsigned int restart_queue; unsigned long timeo_start; uint32_t tx_cmd_type; uint64_t hw_csum_tx_good; |