summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e.h
diff options
context:
space:
mode:
authorAnjali Singhai Jain <anjali.singhai@intel.com>2015-08-27 11:42:29 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-10-07 14:35:45 -0700
commit2fc3d7152ae9562c15c30ed4a766ba05a3db8200 (patch)
treeadd557469920af138a3961a20207c0e3a0c34d2e /drivers/net/ethernet/intel/i40e/i40e.h
parent2f41f3358672dfda67c1e254f1e823d98e6a3099 (diff)
downloadblackbird-op-linux-2fc3d7152ae9562c15c30ed4a766ba05a3db8200.tar.gz
blackbird-op-linux-2fc3d7152ae9562c15c30ed4a766ba05a3db8200.zip
i40e/i40evf: Add a stat to keep track of linearization count
Keep track of how many times we ask the stack to linearize the skb because the HW cannot handle skbs with more than 8 frags per segment/single packet. Change-ID: If455452060963a769bbe6112cba952e79e944b52 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 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h
index a54577af4884..681bd5d37960 100644
--- a/drivers/net/ethernet/intel/i40e/i40e.h
+++ b/drivers/net/ethernet/intel/i40e/i40e.h
@@ -475,6 +475,7 @@ struct i40e_vsi {
#endif
u32 tx_restart;
u32 tx_busy;
+ u64 tx_linearize;
u32 rx_buf_failed;
u32 rx_page_failed;
OpenPOWER on IntegriCloud