Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c112 u8 max_bw_unit[IEEE_8021QAZ_MAX_TCS]; in mlx5e_getmaxrate() local
118 err = -mlx5_query_port_tc_rate_limit(mdev, max_bw_value, max_bw_unit); in mlx5e_getmaxrate()
123 switch (max_bw_unit[i]) { in mlx5e_getmaxrate()
193 u64 *new_bw_value, u8 *max_bw_value, u8 *max_bw_unit) in mlx5e_tc_get_parameters() argument
201 memset(max_bw_unit, 0, IEEE_8021QAZ_MAX_TCS); in mlx5e_tc_get_parameters()
208 max_bw_unit[i] = MLX5_BW_NO_LIMIT; in mlx5e_tc_get_parameters()
210 max_bw_unit[i] = MLX5_BW_NO_LIMIT; in mlx5e_tc_get_parameters()
213 max_bw_unit[i] = MLX5_100_MBPS_UNIT; in mlx5e_tc_get_parameters()
216 max_bw_unit[i] = MLX5_GBPS_UNIT; in mlx5e_tc_get_parameters()
226 u8 max_bw_unit[IEEE_8021QAZ_MAX_TCS]; in mlx5e_tc_maxrate_handler() local
[all …]