Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h184 #define MLX5_TC_FLAG(flag) BIT(MLX5E_TC_FLAG_##flag##_BIT) macro
H A Den_tc.c4205 if (flags & MLX5_TC_FLAG(INGRESS)) in get_flags()
4207 if (flags & MLX5_TC_FLAG(EGRESS)) in get_flags()
4210 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) in get_flags()
4212 if (flags & MLX5_TC_FLAG(NIC_OFFLOAD)) in get_flags()
4214 if (flags & MLX5_TC_FLAG(FT_OFFLOAD)) in get_flags()
4233 if (flags & MLX5_TC_FLAG(ESW_OFFLOAD)) { in get_tc_ht()
4764 bool dir_ingress = !!(flags & MLX5_TC_FLAG(INGRESS)); in same_flow_direction()
4765 bool dir_egress = !!(flags & MLX5_TC_FLAG(EGRESS)); in same_flow_direction()
5455 unsigned long flags = MLX5_TC_FLAG(INGRESS); in mlx5e_setup_tc_block_cb()
5462 flags |= MLX5_TC_FLAG(ESW_OFFLOAD); in mlx5e_setup_tc_block_cb()
[all …]
H A Den_main.c3902 int tc_flag = mlx5e_is_uplink_rep(priv) ? MLX5_TC_FLAG(ESW_OFFLOAD) : in set_feature_hw_tc()
3903 MLX5_TC_FLAG(NIC_OFFLOAD); in set_feature_hw_tc()