Searched refs:max_bw_value (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 553 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_getmaxrate() local 558 err = mlx5_query_port_ets_rate_limit(mdev, max_bw_value, max_bw_unit); in mlx5e_dcbnl_ieee_getmaxrate() 567 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_100MB; in mlx5e_dcbnl_ieee_getmaxrate() 570 maxrate->tc_maxrate[i] = max_bw_value[i] * MLX5E_1GB; in mlx5e_dcbnl_ieee_getmaxrate() 588 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_dcbnl_ieee_setmaxrate() local 593 memset(max_bw_value, 0, sizeof(max_bw_value)); in mlx5e_dcbnl_ieee_setmaxrate() 602 max_bw_value[i] = div_u64(maxrate->tc_maxrate[i], in mlx5e_dcbnl_ieee_setmaxrate() 604 max_bw_value[i] = max_bw_value[i] ? max_bw_value[i] : 1; in mlx5e_dcbnl_ieee_setmaxrate() 607 max_bw_value[i] = div_u64(maxrate->tc_maxrate[i], in mlx5e_dcbnl_ieee_setmaxrate() 615 __func__, i, max_bw_value[i]); in mlx5e_dcbnl_ieee_setmaxrate() [all …]
|
D | port.c | 761 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()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw_qos.c | 59 __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()
|