Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v0.c704 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_bit_mask()
737 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_tag()
793 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
819 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_src_tag()
845 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag()
881 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_bit_mask()
932 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
993 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_bit_mask()
1006 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_tag()
1029 struct mlx5dr_match_spec *mask = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_dst_bit_mask()
[all …]
Ddr_ste_v1.c919 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
945 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()
991 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1015 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()
1039 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag()
1073 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()
1123 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1181 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask()
1193 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_tag()
1214 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask()
[all …]
Ddr_matcher.c6 static bool dr_mask_is_smac_set(struct mlx5dr_match_spec *spec) in dr_mask_is_smac_set()
11 static bool dr_mask_is_dmac_set(struct mlx5dr_match_spec *spec) in dr_mask_is_dmac_set()
16 static bool dr_mask_is_l3_base_set(struct mlx5dr_match_spec *spec) in dr_mask_is_l3_base_set()
22 static bool dr_mask_is_tcp_udp_base_set(struct mlx5dr_match_spec *spec) in dr_mask_is_tcp_udp_base_set()
28 static bool dr_mask_is_ipv4_set(struct mlx5dr_match_spec *spec) in dr_mask_is_ipv4_set()
33 static bool dr_mask_is_ipv4_5_tuple_set(struct mlx5dr_match_spec *spec) in dr_mask_is_ipv4_5_tuple_set()
45 static bool dr_mask_is_ttl_set(struct mlx5dr_match_spec *spec) in dr_mask_is_ttl_set()
Ddr_ste.c607 struct mlx5dr_match_spec *spec) in dr_ste_build_pre_check_spec()
753 static void dr_ste_copy_mask_spec(char *mask, struct mlx5dr_match_spec *spec) in dr_ste_copy_mask_spec()
909 if (mask->match_sz < sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()
917 param_location = sizeof(struct mlx5dr_match_spec); in mlx5dr_ste_copy_param()
934 sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()
943 param_location += sizeof(struct mlx5dr_match_spec); in mlx5dr_ste_copy_param()
Ddr_types.h492 struct mlx5dr_match_spec { struct
730 struct mlx5dr_match_spec outer;
732 struct mlx5dr_match_spec inner;
Ddr_rule.c1025 static enum mlx5dr_ipv dr_rule_get_ipv(struct mlx5dr_match_spec *spec) in dr_rule_get_ipv()