Searched refs:rate_mbps (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/samples/bpf/ |
D | hbm.c | 322 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/ |
D | qos.c | 704 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/ |
D | eswitch.h | 359 int mlx5_esw_qos_modify_vport_rate(struct mlx5_eswitch *esw, u16 vport_num, u32 rate_mbps);
|
D | en_tc.c | 4707 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()
|