diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2007-01-06 12:51:38 -0500 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2007-01-06 12:51:38 -0500 |
commit | dfd341e4e467d146901a3accb761f04fda535433 (patch) | |
tree | 60c663f439cbfdd50eff5cdf1f76ee9436b6c6d2 /drivers/net/ixgb/ixgb.h | |
parent | 5d9278537502d2e404e85485d1b905814fe728c0 (diff) |
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 { | |||
171 | 171 | ||
172 | /* TX */ | 172 | /* TX */ |
173 | struct ixgb_desc_ring tx_ring ____cacheline_aligned_in_smp; | 173 | struct ixgb_desc_ring tx_ring ____cacheline_aligned_in_smp; |
174 | unsigned int restart_queue; | ||
174 | unsigned long timeo_start; | 175 | unsigned long timeo_start; |
175 | uint32_t tx_cmd_type; | 176 | uint32_t tx_cmd_type; |
176 | uint64_t hw_csum_tx_good; | 177 | uint64_t hw_csum_tx_good; |