Home
last modified time | relevance | path

Searched refs:bw_share (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
A Dqos_tracepoint.h31 TP_ARGS(vport, bw_share, max_rate),
35 __field(unsigned int, bw_share)
42 __entry->bw_share = bw_share;
48 __entry->bw_share, __entry->max_rate, __entry->group
54 TP_ARGS(vport, bw_share, max_rate)
59 TP_ARGS(vport, bw_share, max_rate)
97 unsigned int tsar_ix, u32 bw_share, u32 max_rate),
98 TP_ARGS(dev, group, tsar_ix, bw_share, max_rate),
102 __field(unsigned int, bw_share)
108 __entry->bw_share = bw_share;
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dqos.c27 u32 bw_share, u32 max_avg_bw, u32 *id) in mlx5_qos_create_leaf_node() argument
34 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_leaf_node()
42 u32 bw_share, u32 max_avg_bw, u32 *id) in mlx5_qos_create_inner_node() argument
50 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_inner_node()
66 u32 bw_share, u32 max_avg_bw, u32 id) in mlx5_qos_update_node() argument
71 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_update_node()
A Dqos.h22 u32 bw_share, u32 max_avg_bw, u32 *id);
24 u32 bw_share, u32 max_avg_bw, u32 *id);
26 int mlx5_qos_update_node(struct mlx5_core_dev *mdev, u32 bw_share,
A Deswitch.h187 u32 bw_share; member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dqos.c20 u32 bw_share; member
33 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_tsar_config()
53 max_rate, bw_share); in esw_qos_group_config()
142 u32 bw_share; in esw_qos_normalize_vports_min_rate() local
150 if (bw_share == evport->qos.bw_share) in esw_qos_normalize_vports_min_rate()
157 evport->qos.bw_share = bw_share; in esw_qos_normalize_vports_min_rate()
168 u32 bw_share; in esw_qos_normalize_groups_min_rate() local
174 if (bw_share == group->bw_share) in esw_qos_normalize_groups_min_rate()
181 group->bw_share = bw_share; in esw_qos_normalize_groups_min_rate()
332 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_vport_create_sched_element()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dhtb.c13 u32 bw_share; member
255 struct mlx5e_qos_node *parent, u32 *bw_share) in mlx5e_htb_convert_rate() argument
268 *bw_share = share == 0 ? 1 : share > 100 ? 0 : share; in mlx5e_htb_convert_rate()
317 node->bw_share, node->max_average_bw, in mlx5e_htb_leaf_alloc_queue()
359 node->bw_share, node->max_average_bw, in mlx5e_htb_leaf_to_inner()
557 node->parent->bw_share, in mlx5e_htb_leaf_del_last()
630 u32 old_bw_share = child->bw_share; in mlx5e_htb_update_children()
637 if (child->bw_share == old_bw_share) in mlx5e_htb_update_children()
658 u32 bw_share, max_average_bw; in mlx5e_htb_node_modify() local
674 err = mlx5_qos_update_node(htb->mdev, bw_share, in mlx5e_htb_node_modify()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dfw_qos.c73 __be32 bw_share; member
244 out_param[i].bw_share = be32_to_cpu(ctx->qos_p_up[i].bw_share); in mlx4_SET_VPORT_QOS_get()
273 ctx->qos_p_up[i].bw_share = cpu_to_be32(in_param[i].bw_share); in mlx4_SET_VPORT_QOS_set()
A Dfw_qos.h51 u32 bw_share; member
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
A Dtracepoints.rst115 …136.838831: mlx5_esw_vport_qos_create: (0000:82:00.0) vport=2 tsar_ix=4 bw_share=0, max_rate=0 gro…
122 …754.223823: mlx5_esw_vport_qos_config: (0000:82:00.0) vport=1 tsar_ix=3 bw_share=34, max_rate=1000…
143 …5_esw_group_qos_config: (0000:82:00.0) group=000000008dac63ea tsar_ix=5 bw_share=100 max_rate=20000
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_dcb.h257 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share,
A Di40e_dcb.c1569 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share, in i40e_dcb_hw_rx_ets_bw_config() argument
1580 reg |= ((u32)bw_share[i] << I40E_PRTDCB_RETSTCC_BWSHARE_SHIFT) & in i40e_dcb_hw_rx_ets_bw_config()
A Di40e_main.c5585 u8 *bw_share) in i40e_vsi_configure_bw_alloc() argument
5606 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc()
5764 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_vsi_config_tc() local
5779 bw_share[i] = 1; in i40e_vsi_config_tc()
5782 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
5811 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
6304 u8 *bw_share) in i40e_channel_config_bw() argument
6313 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw()
6343 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_channel_config_tx_ring() local
6350 bw_share[i] = 1; in i40e_channel_config_tx_ring()
[all …]
/linux-6.3-rc2/include/linux/mlx5/
A Dmlx5_ifc.h3849 u8 bw_share[0x20]; member

Completed in 118 milliseconds