Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dqos.c716 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
730 err = esw_qos_vport_enable(esw, vport, rate_mbps, vport->qos.bw_share, NULL); in mlx5_esw_qos_modify_vport_rate()
732 MLX5_SET(scheduling_context, ctx, max_average_bw, rate_mbps); in mlx5_esw_qos_modify_vport_rate()
/Linux-v6.1/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.c4705 u32 rate_mbps = 0; in apply_police_params() local
4726 rate_mbps = max_t(u32, rate, 1); in apply_police_params()
4729 err = mlx5_esw_qos_modify_vport_rate(esw, vport_num, rate_mbps); in apply_police_params()