Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c170 unsigned long flags = MLX5_TC_FLAG(INGRESS) | MLX5_TC_FLAG(ESW_OFFLOAD); in mlx5e_rep_setup_tc_cb()
195 flags = MLX5_TC_FLAG(INGRESS) | in mlx5e_rep_setup_ft_cb()
196 MLX5_TC_FLAG(ESW_OFFLOAD) | in mlx5e_rep_setup_ft_cb()
197 MLX5_TC_FLAG(FT_OFFLOAD); in mlx5e_rep_setup_ft_cb()
350 unsigned long flags = MLX5_TC_FLAG(ESW_OFFLOAD); in mlx5e_rep_indr_setup_tc_cb()
354 MLX5_TC_FLAG(EGRESS) : in mlx5e_rep_indr_setup_tc_cb()
355 MLX5_TC_FLAG(INGRESS); in mlx5e_rep_indr_setup_tc_cb()
380 flags = MLX5_TC_FLAG(EGRESS) | in mlx5e_rep_indr_setup_ft_cb()
381 MLX5_TC_FLAG(ESW_OFFLOAD) | in mlx5e_rep_indr_setup_ft_cb()
382 MLX5_TC_FLAG(FT_OFFLOAD); in mlx5e_rep_indr_setup_ft_cb()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h184 #define MLX5_TC_FLAG(flag) BIT(MLX5E_TC_FLAG_##flag##_BIT) macro
Den_tc.c1423 if (!mlx5e_tc_num_filters(priv, MLX5_TC_FLAG(NIC_OFFLOAD)) && in mlx5e_tc_del_nic_flow()
4181 if (flags & MLX5_TC_FLAG(INGRESS)) in get_flags()
4183 if (flags & MLX5_TC_FLAG(EGRESS)) in get_flags()
4186 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) in get_flags()
4188 if (flags & MLX5_TC_FLAG(NIC_OFFLOAD)) in get_flags()
4190 if (flags & MLX5_TC_FLAG(FT_OFFLOAD)) in get_flags()
4209 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) { in get_tc_ht()
4740 bool dir_ingress = !!(flags & MLX5_TC_FLAG(INGRESS)); in same_flow_direction()
4741 bool dir_egress = !!(flags & MLX5_TC_FLAG(EGRESS)); in same_flow_direction()
5431 unsigned long flags = MLX5_TC_FLAG(INGRESS); in mlx5e_setup_tc_block_cb()
[all …]
Den_main.c3889 int tc_flag = mlx5e_is_uplink_rep(priv) ? MLX5_TC_FLAG(ESW_OFFLOAD) : in set_feature_hw_tc()
3890 MLX5_TC_FLAG(NIC_OFFLOAD); in set_feature_hw_tc()