Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2886 struct mlx4_vport_qos_param vpp_qos[MLX4_NUM_UP]; in mlx4_set_vport_qos() local
2889 memset(vpp_qos, 0, sizeof(struct mlx4_vport_qos_param) * MLX4_NUM_UP); in mlx4_set_vport_qos()
2897 err = mlx4_SET_VPORT_QOS_get(dev, port, 0, vpp_qos); in mlx4_set_vport_qos()
2905 vpp_qos[i].max_avg_bw = max_tx_rate; in mlx4_set_vport_qos()
2906 vpp_qos[i].enable = 1; in mlx4_set_vport_qos()
2912 vpp_qos[i].enable = 0; in mlx4_set_vport_qos()
2916 err = mlx4_SET_VPORT_QOS_set(dev, port, slave, vpp_qos); in mlx4_set_vport_qos()