i40e: Add vsi.tx_restart to i40e ethtool stats
authorNabil S. Alramli <dev@nalramli.com>
Thu, 24 Mar 2022 20:03:38 +0000 (20:03 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 12 Apr 2022 18:07:05 +0000 (11:07 -0700)
Add vsi.tx_restart to the i40e driver ethtool statistics

Signed-off-by: Nabil S. Alramli <dev@nalramli.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c

index 162bae158160d87c4f9ed74e935701971421e51b..610f00cbaff9857cccb127741477293821270ee2 100644 (file)
@@ -300,6 +300,7 @@ static const struct i40e_stats i40e_gstrings_misc_stats[] = {
        I40E_VSI_STAT("rx_cache_alloc", rx_page_alloc),
        I40E_VSI_STAT("rx_cache_waive", rx_page_waive),
        I40E_VSI_STAT("rx_cache_busy", rx_page_busy),
+       I40E_VSI_STAT("tx_restart", tx_restart),
 };
 
 /* These PF_STATs might look like duplicates of some NETDEV_STATs,