Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c113 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_getmaxrate() local
125 priv->params_ethtool.max_bw_value[i] = max_bw_value[i] * MLX5E_100MB; in mlx5e_getmaxrate()
128 priv->params_ethtool.max_bw_value[i] = max_bw_value[i] * MLX5E_1GB; in mlx5e_getmaxrate()
131 priv->params_ethtool.max_bw_value[i] = 0; in mlx5e_getmaxrate()
134 priv->params_ethtool.max_bw_value[i] = -1; in mlx5e_getmaxrate()
200 memset(max_bw_value, 0, IEEE_8021QAZ_MAX_TCS); in mlx5e_tc_get_parameters()
212 max_bw_value[i] = howmany(temp, MLX5E_100MB); in mlx5e_tc_get_parameters()
215 max_bw_value[i] = howmany(temp, MLX5E_1GB); in mlx5e_tc_get_parameters()
227 u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; in mlx5e_tc_maxrate_handler() local
257 memcpy(priv->params_ethtool.max_bw_value, new_bw_value, in mlx5e_tc_maxrate_handler()
[all …]
H A Den.h723 u64 max_bw_value[IEEE_8021QAZ_MAX_TCS];
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw_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()
/freebsd/sys/dev/mlx5/
H A Dport.h204 u8 *max_bw_value,
207 const u8 *max_bw_value,
H A Dmlx5_ifc.h10271 u8 max_bw_value[0x8]; member
10282 u8 max_bw_value[0x8]; member
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_port.c873 u8 *max_bw_value, in mlx5_query_port_tc_rate_limit() argument
888 max_bw_value[i] = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_rate_limit()
889 max_bw_value); in mlx5_query_port_tc_rate_limit()
899 const u8 *max_bw_value, in mlx5_modify_port_tc_rate_limit() argument
914 MLX5_SET(ets_tcn_config_reg, ets_tcn_conf, max_bw_value, in mlx5_modify_port_tc_rate_limit()
915 max_bw_value[i]); in mlx5_modify_port_tc_rate_limit()