Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c551 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getmaxrate() local
556 err = mlx5_query_port_ets_rate_limit(mdev, max_bw_value, max_bw_unit); in mlx5e_dcbnl_ieee_getmaxrate()
565 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_100MB; in mlx5e_dcbnl_ieee_getmaxrate()
568 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_1GB; in mlx5e_dcbnl_ieee_getmaxrate()
586 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setmaxrate() local
591 memset(max_bw_value, 0, sizeof(max_bw_value)); in mlx5e_dcbnl_ieee_setmaxrate()
600 max_bw_value[i] = div_u64(maxrate->tc_maxrate[i], in mlx5e_dcbnl_ieee_setmaxrate()
602 max_bw_value[i] = max_bw_value[i] ? max_bw_value[i] : 1; in mlx5e_dcbnl_ieee_setmaxrate()
605 max_bw_value[i] = div_u64(maxrate->tc_maxrate[i], in mlx5e_dcbnl_ieee_setmaxrate()
613 __func__, i, max_bw_value[i]); in mlx5e_dcbnl_ieee_setmaxrate()
[all …]
Dport.c761 u8 *max_bw_value, in mlx5_modify_port_ets_rate_limit() argument
776 MLX5_SET(ets_tcn_config_reg, ets_tcn_conf, max_bw_value, in mlx5_modify_port_ets_rate_limit()
777 max_bw_value[i]); in mlx5_modify_port_ets_rate_limit()
785 u8 *max_bw_value, in mlx5_query_port_ets_rate_limit() argument
800 max_bw_value[i] = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_ets_rate_limit()
801 max_bw_value); in mlx5_query_port_ets_rate_limit()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Dfw_qos.c59 __be16 max_bw_value; member
140 tc->max_bw_value = htons(r); in mlx4_SET_PORT_SCHEDULER()
142 tc->max_bw_value = htons(MLX4_RATELIMIT_DEFAULT); in mlx4_SET_PORT_SCHEDULER()
/Linux-v5.10/include/linux/mlx5/
Dport.h188 u8 *max_bw_value,
191 u8 *max_bw_value,
Dmlx5_ifc.h9956 u8 max_bw_value[0x8]; member
9967 u8 max_bw_value[0x8]; member