OSDN Git Service

i40e: add tx_busy to ethtool stats
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Thu, 10 May 2018 12:59:45 +0000 (05:59 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 14 May 2018 14:05:16 +0000 (07:05 -0700)
commit3f76d01f3efeeafe2e9f3c74074d6eecff201466
tree227550180102b0a609810c3d18df33d639e658f4
parentca12c9d4213fe8203d58632cd8ad25b5abcc7ef2
i40e: add tx_busy to ethtool stats

This patch adds the tx_busy stat to the ethtool stats. The tx_busy
stat tracks the number of times we return NETDEV_TX_BUSY to the stack
during transmit.

Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c