diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_sched.h | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/drivers/net/ethernet/intel/ice/ice_sched.h b/drivers/net/ethernet/intel/ice/ice_sched.h index 9beef8f0ec76..6bddcbecaf5e 100644 --- a/drivers/net/ethernet/intel/ice/ice_sched.h +++ b/drivers/net/ethernet/intel/ice/ice_sched.h @@ -58,6 +58,8 @@ struct ice_sched_agg_info {  	DECLARE_BITMAP(tc_bitmap, ICE_MAX_TRAFFIC_CLASS);  	u32 agg_id;  	enum ice_agg_type agg_type; +	/* bw_t_info saves aggregator BW information */ +	struct ice_bw_type_info bw_t_info[ICE_MAX_TRAFFIC_CLASS];  	/* save aggregator TC bitmap */  	DECLARE_BITMAP(replay_tc_bitmap, ICE_MAX_TRAFFIC_CLASS);  }; @@ -89,6 +91,7 @@ enum ice_status  ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs,  		  u8 owner, bool enable);  enum ice_status ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle); +enum ice_status ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle);  /* Tx scheduler rate limiter functions */  enum ice_status @@ -103,6 +106,12 @@ ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,  enum ice_status  ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,  		      u16 q_handle, enum ice_rl_type rl_type); +enum ice_status +ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, +			  enum ice_rl_type rl_type, u32 bw); +enum ice_status +ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, +			       enum ice_rl_type rl_type);  enum ice_status ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes);  void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw);  void ice_sched_replay_agg(struct ice_hw *hw); |