]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/intel/i40evf/i40e_type.h
i40e/i40evf: add handling of writeback descriptor
[karo-tx-linux.git] / drivers / net / ethernet / intel / i40evf / i40e_type.h
index e32dc0b3616dc15b7b1d611fd5db642554b14be5..cf865cc8d1b3c901630b3f588fd858b5f6b20c76 100644 (file)
@@ -434,6 +434,7 @@ struct i40e_ieee_app_priority_table {
 
 struct i40e_dcbx_config {
        u32 numapps;
+       u32 tlv_status; /* CEE mode TLV status */
        struct i40e_ieee_ets_config etscfg;
        struct i40e_ieee_ets_recommend etsrec;
        struct i40e_ieee_pfc_config pfc;
@@ -485,6 +486,7 @@ struct i40e_hw {
 
        /* state of nvm update process */
        enum i40e_nvmupd_state nvmupd_state;
+       struct i40e_aq_desc nvm_wb_desc;
 
        /* HMC info */
        struct i40e_hmc_info hmc; /* HMC info struct */
@@ -1095,6 +1097,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 */