diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2006-11-01 11:47:59 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-02 00:12:00 -0500 |
commit | fcfb1224250d7877b6a6c6a947986e08b2160fb6 (patch) | |
tree | b87742a5b484dcbba418b055337a7f14b2e272dc /drivers/net/e1000/e1000.h | |
parent | fc2307d00c15385fbdbb5928a8517e5f63c3d068 (diff) |
e1000: add queue restart counter
Add a netif_wake/start_queue counter to the ethtool statistics to indicated
to the user that their transmit ring could be too small for their workload.
Signed-off-by: Jesse brandeburg <jesse.brandeburg@intel.com>
Cc: Jamal Hadi <hadi@cyberus.ca>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e1000/e1000.h')
-rw-r--r-- | drivers/net/e1000/e1000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h index 3f0be02e85e2..896ea8a72386 100644 --- a/drivers/net/e1000/e1000.h +++ b/drivers/net/e1000/e1000.h | |||
@@ -265,6 +265,7 @@ struct e1000_adapter { | |||
265 | 265 | ||
266 | /* TX */ | 266 | /* TX */ |
267 | struct e1000_tx_ring *tx_ring; /* One per active queue */ | 267 | struct e1000_tx_ring *tx_ring; /* One per active queue */ |
268 | unsigned int restart_queue; | ||
268 | unsigned long tx_queue_len; | 269 | unsigned long tx_queue_len; |
269 | uint32_t txd_cmd; | 270 | uint32_t txd_cmd; |
270 | uint32_t tx_int_delay; | 271 | uint32_t tx_int_delay; |