Home
last modified time | relevance | path

Searched refs:max_average_bw (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhtb.c14 u32 max_average_bw; member
259 while (parent->classid != MLX5E_HTB_CLASSID_ROOT && !parent->max_average_bw) in mlx5e_htb_convert_rate()
262 if (parent->max_average_bw) in mlx5e_htb_convert_rate()
264 parent->max_average_bw); in mlx5e_htb_convert_rate()
271 rate, (u64)parent->max_average_bw * BYTES_IN_MBIT, *bw_share); in mlx5e_htb_convert_rate()
276 static void mlx5e_htb_convert_ceil(struct mlx5e_htb *htb, u64 ceil, u32 *max_average_bw) in mlx5e_htb_convert_ceil() argument
279 *max_average_bw = max_t(u32, div_u64(ceil, BYTES_IN_MBIT), 1); in mlx5e_htb_convert_ceil()
282 ceil, *max_average_bw); in mlx5e_htb_convert_ceil()
314 mlx5e_htb_convert_ceil(htb, ceil, &node->max_average_bw); in mlx5e_htb_leaf_alloc_queue()
317 node->bw_share, node->max_average_bw, in mlx5e_htb_leaf_alloc_queue()
[all …]
Dqos.c484 u32 max_average_bw; in mlx5e_mqprio_rl_init() local
486 max_average_bw = mlx5e_qos_bytes2mbits(mdev, max_rate[tc]); in mlx5e_mqprio_rl_init()
487 err = mlx5_qos_create_leaf_node(mdev, rl->root_id, 0, max_average_bw, in mlx5e_mqprio_rl_init()
493 tc, rl->leaves_id[tc], max_average_bw); in mlx5e_mqprio_rl_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dqos.c35 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_create_leaf_node()
51 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_create_inner_node()
72 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_avg_bw); in mlx5_qos_update_node()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c32 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_tsar_config()
331 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_vport_create_sched_element()
720 MLX5_SET(scheduling_context, ctx, max_average_bw, rate_mbps); in mlx5_esw_qos_modify_vport_rate()
/linux-6.6.21/include/linux/mlx5/
Dmlx5_ifc.h3864 u8 max_average_bw[0x20]; member