Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c166 unsigned long flags = MLX5_TC_FLAG(INGRESS) | MLX5_TC_FLAG(ESW_OFFLOAD); in mlx5e_rep_setup_tc_cb()
191 flags = MLX5_TC_FLAG(INGRESS) | in mlx5e_rep_setup_ft_cb()
192 MLX5_TC_FLAG(ESW_OFFLOAD) | in mlx5e_rep_setup_ft_cb()
193 MLX5_TC_FLAG(FT_OFFLOAD); in mlx5e_rep_setup_ft_cb()
344 unsigned long flags = MLX5_TC_FLAG(EGRESS) | MLX5_TC_FLAG(ESW_OFFLOAD); in mlx5e_rep_indr_setup_tc_cb()
370 flags = MLX5_TC_FLAG(EGRESS) | in mlx5e_rep_indr_setup_ft_cb()
371 MLX5_TC_FLAG(ESW_OFFLOAD) | in mlx5e_rep_indr_setup_ft_cb()
372 MLX5_TC_FLAG(FT_OFFLOAD); in mlx5e_rep_indr_setup_ft_cb()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h147 #define MLX5_TC_FLAG(flag) BIT(MLX5E_TC_FLAG_##flag##_BIT) macro
Den_tc.c1113 if (!mlx5e_tc_num_filters(priv, MLX5_TC_FLAG(NIC_OFFLOAD)) && in mlx5e_tc_del_nic_flow()
4124 if (flags & MLX5_TC_FLAG(INGRESS)) in get_flags()
4126 if (flags & MLX5_TC_FLAG(EGRESS)) in get_flags()
4129 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) in get_flags()
4131 if (flags & MLX5_TC_FLAG(NIC_OFFLOAD)) in get_flags()
4133 if (flags & MLX5_TC_FLAG(FT_OFFLOAD)) in get_flags()
4152 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) { in get_tc_ht()
4574 bool dir_ingress = !!(flags & MLX5_TC_FLAG(INGRESS)); in same_flow_direction()
4575 bool dir_egress = !!(flags & MLX5_TC_FLAG(EGRESS)); in same_flow_direction()
5138 unsigned long flags = MLX5_TC_FLAG(INGRESS); in mlx5e_setup_tc_block_cb()
[all …]
Den_main.c3305 if (!enable && mlx5e_tc_num_filters(priv, MLX5_TC_FLAG(NIC_OFFLOAD))) { in set_feature_hw_tc()