Searched refs:MLX5_CAP_QOS (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rl.c | 258 MLX5_CAP_QOS(dev, packet_pacing_uid) ? in mlx5_rl_add_rate() 282 MLX5_CAP_QOS(dev, packet_pacing_uid) ? in mlx5_rl_remove_rate() 306 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, packet_pacing)) { in mlx5_init_rl_table() 312 table->max_size = MLX5_CAP_QOS(dev, packet_pacing_rate_table_size) - 1; in mlx5_init_rl_table() 313 table->max_rate = MLX5_CAP_QOS(dev, packet_pacing_max_rate); in mlx5_init_rl_table() 314 table->min_rate = MLX5_CAP_QOS(dev, packet_pacing_min_rate); in mlx5_init_rl_table()
|
D | eswitch.c | 971 return MLX5_CAP_QOS(dev, esw_element_type) & in element_type_supported() 974 return MLX5_CAP_QOS(dev, esw_element_type) & in element_type_supported() 977 return MLX5_CAP_QOS(dev, esw_element_type) & in element_type_supported() 980 return MLX5_CAP_QOS(dev, esw_element_type) & in element_type_supported() 994 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_create_tsar() 1047 !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_vport_enable_qos() 1106 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_vport_qos_config() 2224 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in calculate_vports_min_rate_divider() 2242 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in normalize_vports_min_rate() 2292 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in mlx5_eswitch_set_vport_rate() [all …]
|
D | fw.c | 208 err = mlx5_core_get_caps(dev, MLX5_CAP_QOS); in mlx5_query_hca_caps()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | qos.c | 20 MLX5_CAP_QOS(dev->mdev, packet_pacing) && in pp_is_supported() 21 MLX5_CAP_QOS(dev->mdev, packet_pacing_uid)); in pp_is_supported()
|
D | main.c | 1062 if (MLX5_CAP_QOS(mdev, packet_pacing) && in mlx5_ib_query_device() 1065 MLX5_CAP_QOS(mdev, packet_pacing_max_rate); in mlx5_ib_query_device() 1067 MLX5_CAP_QOS(mdev, packet_pacing_min_rate); in mlx5_ib_query_device() 1070 if (MLX5_CAP_QOS(mdev, packet_pacing_burst_bound) && in mlx5_ib_query_device() 1071 MLX5_CAP_QOS(mdev, packet_pacing_typical_size)) in mlx5_ib_query_device()
|
D | qp.c | 3995 MLX5_CAP_QOS(dev->mdev, packet_pacing_burst_bound)) { in __mlx5_ib_modify_qp() 4006 MLX5_CAP_QOS(dev->mdev, packet_pacing_typical_size)) { in __mlx5_ib_modify_qp()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | device.h | 1148 MLX5_CAP_QOS, enumerator 1315 #define MLX5_CAP_QOS(mdev, cap)\ macro 1316 MLX5_GET(qos_cap, mdev->caps.hca_cur[MLX5_CAP_QOS], cap)
|