X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fice%2Fice_dcf.h;h=6ec766ebda0452f37cacb8e8a0fdf4baf5607a1f;hb=78156d38e112b33032eedfada65b0df8b047bc31;hp=1c7653de3d3c972776e06b95dca887d85910addf;hpb=3a6bfc37eaf49b46af211beb0e448b5ad862d017;p=dpdk.git diff --git a/drivers/net/ice/ice_dcf.h b/drivers/net/ice/ice_dcf.h index 1c7653de3d..6ec766ebda 100644 --- a/drivers/net/ice/ice_dcf.h +++ b/drivers/net/ice/ice_dcf.h @@ -90,6 +90,7 @@ struct ice_dcf_hw { uint16_t pf_vsi_id; struct ice_dcf_tm_conf tm_conf; + struct virtchnl_dcf_bw_cfg_list **qos_bw_cfg; struct ice_aqc_port_ets_elem *ets_config; struct virtchnl_version_info virtchnl_version; struct virtchnl_vf_resource *vf_res; /* VF resource */ @@ -110,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, @@ -131,5 +134,7 @@ int ice_dcf_link_update(struct rte_eth_dev *dev, __rte_unused int wait_to_complete); 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_ */