Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dport.c737 void *ets_tcn_conf; in mlx5_query_port_tc_group() local
744 ets_tcn_conf = MLX5_ADDR_OF(qetc_reg, out, in mlx5_query_port_tc_group()
747 *tc_group = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_group()
772 void *ets_tcn_conf; in mlx5_query_port_tc_bw_alloc() local
779 ets_tcn_conf = MLX5_ADDR_OF(qetc_reg, out, in mlx5_query_port_tc_bw_alloc()
782 *bw_pct = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_bw_alloc()
794 void *ets_tcn_conf; in mlx5_modify_port_ets_rate_limit() local
800 ets_tcn_conf = MLX5_ADDR_OF(qetc_reg, in, tc_configuration[i]); in mlx5_modify_port_ets_rate_limit()
802 MLX5_SET(ets_tcn_config_reg, ets_tcn_conf, r, 1); in mlx5_modify_port_ets_rate_limit()
803 MLX5_SET(ets_tcn_config_reg, ets_tcn_conf, max_bw_units, in mlx5_modify_port_ets_rate_limit()
[all …]