diff options
author | Anjali Singhai Jain <anjali.singhai@intel.com> | 2015-10-21 19:47:08 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-11-25 10:05:56 -0800 |
commit | 164c9f54631beca4d174f306acdcaec2bdeef52e (patch) | |
tree | 630dd432f6b8f8781fe25e2f0b5822e9bd2d124f /drivers/net/ethernet/intel/i40evf/i40e_txrx.h | |
parent | i40e: Workaround fix for mss < 256 issue (diff) | |
download | linux-dev-164c9f54631beca4d174f306acdcaec2bdeef52e.tar.xz linux-dev-164c9f54631beca4d174f306acdcaec2bdeef52e.zip |
i40e/i40evf: Add a stat to track how many times we have to do a force WB
When in NAPI with interrupts disabled, the HW needs to be forced to do a
write back on TX if the number of descriptors pending are less than a
cache line.
This stat helps keep track of how many times we get into this situation.
Change-ID: I76c1bcc7ebccd6bffcc5aa33bfe05f2fa1c9a984
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/intel/i40evf/i40e_txrx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_txrx.h b/drivers/net/ethernet/intel/i40evf/i40e_txrx.h index ebc1bf77f036..997b374e86af 100644 --- a/drivers/net/ethernet/intel/i40evf/i40e_txrx.h +++ b/drivers/net/ethernet/intel/i40evf/i40e_txrx.h @@ -201,6 +201,7 @@ struct i40e_tx_queue_stats { u64 tx_busy; u64 tx_done_old; u64 tx_linearize; + u64 tx_force_wb; }; struct i40e_rx_queue_stats { |