Searched refs:MLX5_CAP_QOS (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | qos.c | 12 if (!MLX5_CAP_QOS(mdev, nic_sq_scheduling)) in mlx5_qos_is_supported() 14 if (!MLX5_CAP_QOS(mdev, nic_bw_share)) in mlx5_qos_is_supported() 16 if (!MLX5_CAP_QOS(mdev, nic_rate_limit)) in mlx5_qos_is_supported() 23 return 1 << MLX5_CAP_QOS(mdev, log_max_qos_nic_queue_group); in mlx5_qos_max_leaf_nodes()
|
D | rl.c | 327 MLX5_CAP_QOS(dev, packet_pacing_uid) ? in mlx5_rl_add_rate() 351 MLX5_CAP_QOS(dev, packet_pacing_uid) ? in mlx5_rl_remove_rate() 369 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, packet_pacing)) { in mlx5_init_rl_table() 377 table->max_size = MLX5_CAP_QOS(dev, packet_pacing_rate_table_size) - 1; in mlx5_init_rl_table() 378 table->max_rate = MLX5_CAP_QOS(dev, packet_pacing_max_rate); in mlx5_init_rl_table() 379 table->min_rate = MLX5_CAP_QOS(dev, packet_pacing_min_rate); in mlx5_init_rl_table() 393 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, packet_pacing)) in mlx5_cleanup_rl_table()
|
D | fw.c | 219 err = mlx5_core_get_caps(dev, MLX5_CAP_QOS); in mlx5_query_hca_caps()
|
D | main.c | 1540 MLX5_CAP_QOS,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | qos.c | 29 if (!MLX5_CAP_GEN(dev, qos) || !MLX5_CAP_QOS(dev, esw_scheduling)) in esw_qos_tsar_config() 93 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_calculate_min_rate_divider() 138 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_normalize_vports_min_rate() 166 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_normalize_groups_min_rate() 203 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_set_vport_min_rate() 204 min_rate_supported = MLX5_CAP_QOS(esw->dev, esw_bw_share) && in esw_qos_set_vport_min_rate() 228 max_rate_supported = MLX5_CAP_QOS(esw->dev, esw_rate_limit); in esw_qos_set_vport_max_rate() 252 u32 fw_max_bw_share = MLX5_CAP_QOS(esw->dev, max_tsar_bw_share); in esw_qos_set_group_min_rate() 257 if (!(MLX5_CAP_QOS(dev, esw_bw_share) && fw_max_bw_share >= MLX5_MIN_BW_SHARE)) in esw_qos_set_group_min_rate() 475 if (!MLX5_CAP_QOS(esw->dev, log_esw_max_sched_depth)) in esw_qos_create_rate_group() [all …]
|
/linux-6.1.9/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 | 1071 if (MLX5_CAP_QOS(mdev, packet_pacing) && in mlx5_ib_query_device() 1074 MLX5_CAP_QOS(mdev, packet_pacing_max_rate); in mlx5_ib_query_device() 1076 MLX5_CAP_QOS(mdev, packet_pacing_min_rate); in mlx5_ib_query_device() 1079 if (MLX5_CAP_QOS(mdev, packet_pacing_burst_bound) && in mlx5_ib_query_device() 1080 MLX5_CAP_QOS(mdev, packet_pacing_typical_size)) in mlx5_ib_query_device()
|
D | qp.c | 4239 MLX5_CAP_QOS(dev->mdev, packet_pacing_burst_bound)) { in __mlx5_ib_modify_qp() 4250 MLX5_CAP_QOS(dev->mdev, packet_pacing_typical_size)) { in __mlx5_ib_modify_qp()
|
/linux-6.1.9/include/linux/mlx5/ |
D | device.h | 1193 MLX5_CAP_QOS, enumerator 1396 #define MLX5_CAP_QOS(mdev, cap)\ macro 1397 MLX5_GET(qos_cap, mdev->caps.hca[MLX5_CAP_QOS]->cur, cap)
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | meter.c | 549 MLX5_CAP_QOS(mdev, log_meter_aso_max_alloc)); in mlx5e_flow_meters_init()
|