diff options
author | Nelson, Shannon <shannon.nelson@intel.com> | 2009-09-18 13:46:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-21 22:32:31 +0400 |
commit | f7554a2bf2696daad25465734bb962d0184469f2 (patch) | |
tree | 368ef7fd5bd0a460b37553619be790b9d9c68683 /drivers/net/ixgbe/ixgbe.h | |
parent | 0a1f87cbdbf26e1257b36cc5e9c00a08c2236ff2 (diff) | |
download | linux-f7554a2bf2696daad25465734bb962d0184469f2.tar.xz |
ixgbe: Allow tx itr specific settings
Allow the user to set Tx specific itr values. This only makes sense
when there are separate vectors for Tx and Rx. When the queues are
doubled up RxTx on the vectors, we still only use the rx itr value.
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@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/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index dd688d45e9cd..385be6016667 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h @@ -267,7 +267,8 @@ struct ixgbe_adapter { enum ixgbe_fc_mode last_lfc_mode; /* Interrupt Throttle Rate */ - u32 itr_setting; + u32 rx_itr_setting; + u32 tx_itr_setting; u16 eitr_low; u16 eitr_high; @@ -351,7 +352,8 @@ struct ixgbe_adapter { struct ixgbe_hw_stats stats; /* Interrupt Throttle Rate */ - u32 eitr_param; + u32 rx_eitr_param; + u32 tx_eitr_param; unsigned long state; u64 tx_busy; |