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.c707 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_bit_mask()
740 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_tag()
796 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
822 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_src_tag()
848 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag()
884 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_bit_mask()
935 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
996 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_bit_mask()
1009 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_tag()
1032 struct mlx5dr_match_spec *mask = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_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()
50 static bool dr_mask_is_ipv4_ihl_set(struct mlx5dr_match_spec *spec) in dr_mask_is_ipv4_ihl_set()
Ddr_ste_v1.c1104 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
1130 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()
1176 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1200 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()
1224 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag()
1258 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()
1308 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1366 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask()
1378 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_tag()
1399 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask()
[all …]
Ddr_ste.c695 struct mlx5dr_match_spec *spec) in dr_ste_build_pre_check_spec()
858 static void dr_ste_copy_mask_spec(char *mask, struct mlx5dr_match_spec *spec, bool clr) in dr_ste_copy_mask_spec()
1036 if (mask->match_sz < sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()
1044 param_location = sizeof(struct mlx5dr_match_spec); in mlx5dr_ste_copy_param()
1061 sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()
1070 param_location += sizeof(struct mlx5dr_match_spec); in mlx5dr_ste_copy_param()
Ddr_types.h529 struct mlx5dr_match_spec { struct
816 struct mlx5dr_match_spec outer;
818 struct mlx5dr_match_spec inner;
Ddr_rule.c1076 static enum mlx5dr_ipv dr_rule_get_ipv(struct mlx5dr_match_spec *spec) in dr_rule_get_ipv()