Home
last modified time | relevance | path

Searched refs:bw_share (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dqos_tracepoint.h30 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u32 max_rate),
31 TP_ARGS(vport, bw_share, max_rate),
35 __field(unsigned int, bw_share)
42 __entry->bw_share = bw_share;
46 TP_printk("(%s) vport=%hu tsar_ix=%u bw_share=%u, max_rate=%u group=%p\n",
48 __entry->bw_share, __entry->max_rate, __entry->group
53 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u32 max_rate),
54 TP_ARGS(vport, bw_share, max_rate)
58 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u3
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c20 u32 bw_share; member
25 u32 tsar_ix, u32 max_rate, u32 bw_share) in esw_qos_tsar_config()
33 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_tsar_config()
45 u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) in esw_qos_group_config()
53 max_rate, bw_share); in esw_qos_group_config()
57 trace_mlx5_esw_group_qos_config(dev, group, group->tsar_ix, bw_share, max_rate); in esw_qos_group_config()
64 u32 max_rate, u32 bw_share, in esw_qos_vport_config()
75 max_rate, bw_share); in esw_qos_vport_config()
84 trace_mlx5_esw_vport_qos_config(vport, bw_share, max_rat in esw_qos_vport_config()
24 esw_qos_tsar_config(struct mlx5_core_dev *dev, u32 *sched_ctx, u32 tsar_ix, u32 max_rate, u32 bw_share) esw_qos_tsar_config() argument
44 esw_qos_group_config(struct mlx5_eswitch *esw, struct mlx5_esw_rate_group *group, u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) esw_qos_group_config() argument
62 esw_qos_vport_config(struct mlx5_eswitch *esw, struct mlx5_vport *vport, u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) esw_qos_vport_config() argument
142 u32 bw_share; esw_qos_normalize_vports_min_rate() local
168 u32 bw_share; esw_qos_normalize_groups_min_rate() local
314 esw_qos_vport_create_sched_element(struct mlx5_eswitch *esw, struct mlx5_vport *vport, u32 max_rate, u32 bw_share) esw_qos_vport_create_sched_element() argument
634 esw_qos_vport_enable(struct mlx5_eswitch *esw, struct mlx5_vport *vport, u32 max_rate, u32 bw_share, struct netlink_ext_ack *extack) esw_qos_vport_enable() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dqos.c27 u32 bw_share, u32 max_avg_bw, u32 *id) in mlx5_qos_create_leaf_node()
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()
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()
71 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_update_node()
26 mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, u32 bw_share, u32 max_avg_bw, u32 *id) mlx5_qos_create_leaf_node() argument
41 mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u32 parent_id, u32 bw_share, u32 max_avg_bw, u32 *id) mlx5_qos_create_inner_node() argument
65 mlx5_qos_update_node(struct mlx5_core_dev *mdev, u32 bw_share, u32 max_avg_bw, u32 id) mlx5_qos_update_node() argument
H 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,
H A Deswitch.h218 u32 bw_share; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhtb.c13 u32 bw_share; member
255 struct mlx5e_qos_node *parent, u32 *bw_share) in mlx5e_htb_convert_rate()
268 *bw_share = share == 0 ? 1 : share > 100 ? 0 : share; in mlx5e_htb_convert_rate()
270 qos_dbg(htb->mdev, "Convert: rate %llu, parent ceil %llu -> bw_share %u\n", in mlx5e_htb_convert_rate()
271 rate, (u64)parent->max_average_bw * BYTES_IN_MBIT, *bw_share); in mlx5e_htb_convert_rate()
313 mlx5e_htb_convert_rate(htb, rate, node->parent, &node->bw_share); in mlx5e_htb_leaf_alloc_queue()
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()
376 mlx5e_htb_convert_rate(htb, rate, node, &child->bw_share); in mlx5e_htb_leaf_to_inner()
379 err = mlx5_qos_create_leaf_node(htb->mdev, new_hw_id, child->bw_share, in mlx5e_htb_leaf_to_inner()
254 mlx5e_htb_convert_rate(struct mlx5e_htb *htb, u64 rate, struct mlx5e_qos_node *parent, u32 *bw_share) mlx5e_htb_convert_rate() argument
658 u32 bw_share, max_average_bw; mlx5e_htb_node_modify() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H 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()
H A Dfw_qos.h51 u32 bw_share; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H 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()
H A Dfw_qos.h51 u32 bw_share; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c1062 MLX5_SET(scheduling_context, sched_ctx, bw_share, initial_bw_share); in esw_vport_enable_qos()
1098 u32 max_rate, u32 bw_share) in esw_vport_qos_config()
1121 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_vport_qos_config()
1236 esw_vport_enable_qos(esw, vport, vport->info.max_rate, vport->qos.bw_share); in esw_vport_setup()
2248 u32 bw_share; in normalize_vports_min_rate() local
2257 bw_share = 0; in normalize_vports_min_rate()
2260 bw_share = MLX5_RATE_TO_BW_SHARE(vport_min_rate, in normalize_vports_min_rate()
2264 if (bw_share == evport->qos.bw_share) in normalize_vports_min_rate()
1096 esw_vport_qos_config(struct mlx5_eswitch *esw, struct mlx5_vport *vport, u32 max_rate, u32 bw_share) esw_vport_qos_config() argument
[all...]
H A Deswitch.h154 u32 bw_share; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.h257 void i40e_dcb_hw_rx_ets_bw_config(struct i40e_hw *hw, u8 *bw_share,
H A Di40e_dcb.c1562 * @bw_share: Bandwidth share indexed per traffic class
1569 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()
H A Di40e_main.c5604 * @bw_share: BW shared credits per TC
5609 u8 *bw_share) in i40e_vsi_configure_bw_alloc()
5630 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc()
5788 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_vsi_config_tc() local
5803 bw_share[i] = 1; in i40e_vsi_config_tc()
5806 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
5835 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
6328 u8 *bw_share) in i40e_channel_config_bw()
6337 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw()
6367 u8 bw_share[I40E_MAX_TRAFFIC_CLAS in i40e_channel_config_tx_ring() local
5608 i40e_vsi_configure_bw_alloc(struct i40e_vsi *vsi, u8 enabled_tc, u8 *bw_share) i40e_vsi_configure_bw_alloc() argument
6327 i40e_channel_config_bw(struct i40e_vsi *vsi, struct i40e_channel *ch, u8 *bw_share) i40e_channel_config_bw() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c5406 * @bw_share: BW shared credits per TC
5411 u8 *bw_share) in i40e_vsi_configure_bw_alloc()
5431 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_vsi_configure_bw_alloc()
5589 u8 bw_share[I40E_MAX_TRAFFIC_CLASS] = {0}; in i40e_vsi_config_tc() local
5604 bw_share[i] = 1; in i40e_vsi_config_tc()
5607 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
5636 ret = i40e_vsi_configure_bw_alloc(vsi, enabled_tc, bw_share); in i40e_vsi_config_tc()
6129 u8 *bw_share) in i40e_channel_config_bw()
6137 bw_data.tc_bw_credits[i] = bw_share[i]; in i40e_channel_config_bw()
6169 u8 bw_share[I40E_MAX_TRAFFIC_CLAS in i40e_channel_config_tx_ring() local
5410 i40e_vsi_configure_bw_alloc(struct i40e_vsi *vsi, u8 enabled_tc, u8 *bw_share) i40e_vsi_configure_bw_alloc() argument
6128 i40e_channel_config_bw(struct i40e_vsi *vsi, struct i40e_channel *ch, u8 *bw_share) i40e_channel_config_bw() argument
[all...]
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Dmlx5_ifc.h3340 u8 bw_share[0x20]; member
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Dmlx5_ifc.h3862 u8 bw_share[0x20]; member

Completed in 86 milliseconds