Home
last modified time | relevance | path

Searched refs:rate_mbps (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/samples/bpf/
Dhbm.c322 unsigned int rate_mbps = ((qstats.bytes_total - in run_bpf_prog() local
344 fprintf(fout, "rate_mbps:%d\n", rate_mbps); in run_bpf_prog()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c704 int mlx5_esw_qos_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num, u32 rate_mbps) in mlx5_esw_qos_modify_vport_rate() argument
718 err = esw_qos_vport_enable(esw, vport, rate_mbps, vport->qos.bw_share, NULL); in mlx5_esw_qos_modify_vport_rate()
720 MLX5_SET(scheduling_context, ctx, max_average_bw, rate_mbps); in mlx5_esw_qos_modify_vport_rate()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h359 int mlx5_esw_qos_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num, u32 rate_mbps);
Den_tc.c4707 u32 rate_mbps = 0; in apply_police_params() local
4728 rate_mbps = max_t(u32, rate, 1); in apply_police_params()
4731 err = mlx5_esw_qos_modify_vport_rate(esw, vport_num, rate_mbps); in apply_police_params()