net/qede/base: support packet pacing
[dpdk.git] / drivers / net / qede / base / ecore_dev_api.h
index aee11c0..29fb74b 100644 (file)
@@ -270,6 +270,9 @@ struct ecore_hw_prepare_params {
         */
        bool b_relaxed_probe;
        enum ecore_hw_prepare_result p_relaxed_res;
+
+       /* Enable/disable request by ecore client for pacing */
+       bool b_en_pacing;
 };
 
 /**
@@ -377,6 +380,7 @@ struct ecore_eth_stats_common {
        u64 tx_mac_mc_packets;
        u64 tx_mac_bc_packets;
        u64 tx_mac_ctrl_frames;
+       u64 link_change_count;
 };
 
 struct ecore_eth_stats_bb {