net/ice/base: add helper to check for 100M speed support
[dpdk.git] / drivers / net / ice / ice_dcf.h
index 711c0cf..6ec766e 100644 (file)
@@ -111,6 +111,8 @@ struct ice_dcf_hw {
        /* Link status */
        bool link_up;
        uint32_t link_speed;
+
+       bool resetting;
 };
 
 int ice_dcf_execute_virtchnl_cmd(struct ice_dcf_hw *hw,
@@ -133,5 +135,6 @@ int ice_dcf_link_update(struct rte_eth_dev *dev,
 void ice_dcf_tm_conf_init(struct rte_eth_dev *dev);
 void ice_dcf_tm_conf_uninit(struct rte_eth_dev *dev);
 int ice_dcf_replay_vf_bw(struct ice_dcf_hw *hw, uint16_t vf_id);
+int ice_dcf_clear_bw(struct ice_dcf_hw *hw);
 
 #endif /* _ICE_DCF_H_ */