diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-10-27 19:45:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 06:25:31 -0400 |
commit | 4fc82adfb01bdee79ec21e44557dc409ef31419a (patch) | |
tree | ca9dbca3e71231e7a875ada6000660ec1c65c05f /drivers/net/igb/igb.h | |
parent | 9c1bbbaf3eef357b15c0e94085d96f18c6f1bde6 (diff) |
igb: add support for seperate tx-usecs setting in ethtool
This patch adds support for a seperate tx-usecs interrupt moderation setting
in ethtool which is supported when tx and rx interrupt vectors are sperated.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index 6c35c9029a50..bef8cdc1c225 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h | |||
@@ -249,8 +249,8 @@ struct igb_adapter { | |||
249 | unsigned int total_rx_bytes; | 249 | unsigned int total_rx_bytes; |
250 | unsigned int total_rx_packets; | 250 | unsigned int total_rx_packets; |
251 | /* Interrupt Throttle Rate */ | 251 | /* Interrupt Throttle Rate */ |
252 | u32 itr; | 252 | u32 rx_itr_setting; |
253 | u32 itr_setting; | 253 | u32 tx_itr_setting; |
254 | u16 tx_itr; | 254 | u16 tx_itr; |
255 | u16 rx_itr; | 255 | u16 rx_itr; |
256 | 256 | ||
@@ -321,6 +321,7 @@ struct igb_adapter { | |||
321 | #define IGB_FLAG_HAS_MSI (1 << 0) | 321 | #define IGB_FLAG_HAS_MSI (1 << 0) |
322 | #define IGB_FLAG_DCA_ENABLED (1 << 1) | 322 | #define IGB_FLAG_DCA_ENABLED (1 << 1) |
323 | #define IGB_FLAG_QUAD_PORT_A (1 << 2) | 323 | #define IGB_FLAG_QUAD_PORT_A (1 << 2) |
324 | #define IGB_FLAG_QUEUE_PAIRS (1 << 3) | ||
324 | 325 | ||
325 | enum e1000_state_t { | 326 | enum e1000_state_t { |
326 | __IGB_TESTING, | 327 | __IGB_TESTING, |