Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c167 unsigned long flags = MLX5_TC_FLAG(INGRESS) | MLX5_TC_FLAG(ESW_OFFLOAD); in mlx5e_rep_setup_tc_cb()
189 flags = MLX5_TC_FLAG(INGRESS) | in mlx5e_rep_setup_ft_cb()
190 MLX5_TC_FLAG(ESW_OFFLOAD) | in mlx5e_rep_setup_ft_cb()
191 MLX5_TC_FLAG(FT_OFFLOAD); in mlx5e_rep_setup_ft_cb()
342 unsigned long flags = MLX5_TC_FLAG(EGRESS) | MLX5_TC_FLAG(ESW_OFFLOAD); in mlx5e_rep_indr_setup_tc_cb()
368 flags = MLX5_TC_FLAG(EGRESS) | in mlx5e_rep_indr_setup_ft_cb()
369 MLX5_TC_FLAG(ESW_OFFLOAD) | in mlx5e_rep_indr_setup_ft_cb()
370 MLX5_TC_FLAG(FT_OFFLOAD); in mlx5e_rep_indr_setup_ft_cb()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h129 #define MLX5_TC_FLAG(flag) BIT(MLX5E_TC_FLAG_##flag##_BIT) macro
Den_tc.c1122 if (!mlx5e_tc_num_filters(priv, MLX5_TC_FLAG(NIC_OFFLOAD)) && in mlx5e_tc_del_nic_flow()
4462 if (flags & MLX5_TC_FLAG(INGRESS)) in get_flags()
4464 if (flags & MLX5_TC_FLAG(EGRESS)) in get_flags()
4467 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) in get_flags()
4469 if (flags & MLX5_TC_FLAG(NIC_OFFLOAD)) in get_flags()
4471 if (flags & MLX5_TC_FLAG(FT_OFFLOAD)) in get_flags()
4490 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) { in get_tc_ht()
4904 bool dir_ingress = !!(flags & MLX5_TC_FLAG(INGRESS)); in same_flow_direction()
4905 bool dir_egress = !!(flags & MLX5_TC_FLAG(EGRESS)); in same_flow_direction()
5412 unsigned long flags = MLX5_TC_FLAG(INGRESS) | MLX5_TC_FLAG(NIC_OFFLOAD); in mlx5e_setup_tc_block_cb()
Den_main.c3787 if (!enable && mlx5e_tc_num_filters(priv, MLX5_TC_FLAG(NIC_OFFLOAD))) { in set_feature_tc_num_filters()