]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/intel/i40evf/i40e_type.h
i40e/i40evf: Add capability to gather VEB per TC stats
[karo-tx-linux.git] / drivers / net / ethernet / intel / i40evf / i40e_type.h
index e32dc0b3616dc15b7b1d611fd5db642554b14be5..1ab2498d68df2938fbfcee2c550873664fd5883f 100644 (file)
@@ -1095,6 +1095,14 @@ struct i40e_eth_stats {
        u64 tx_errors;                  /* tepc */
 };
 
+/* Statistics collected per VEB per TC */
+struct i40e_veb_tc_stats {
+       u64 tc_rx_packets[I40E_MAX_TRAFFIC_CLASS];
+       u64 tc_rx_bytes[I40E_MAX_TRAFFIC_CLASS];
+       u64 tc_tx_packets[I40E_MAX_TRAFFIC_CLASS];
+       u64 tc_tx_bytes[I40E_MAX_TRAFFIC_CLASS];
+};
+
 /* Statistics collected by the MAC */
 struct i40e_hw_port_stats {
        /* eth stats collected by the port */