Searched refs:mlx5dr_match_spec (Results 1 – 6 of 6) sorted by relevance
6 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()
707 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 …]
928 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()954 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()1000 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()1024 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()1048 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag()1082 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()1132 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_tag()1190 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask()1202 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_tag()1223 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask()[all …]
621 struct mlx5dr_match_spec *spec) in dr_ste_build_pre_check_spec()784 static void dr_ste_copy_mask_spec(char *mask, struct mlx5dr_match_spec *spec, bool clr) in dr_ste_copy_mask_spec()962 if (mask->match_sz < sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()970 param_location = sizeof(struct mlx5dr_match_spec); in mlx5dr_ste_copy_param()987 sizeof(struct mlx5dr_match_spec)) { in mlx5dr_ste_copy_param()996 param_location += sizeof(struct mlx5dr_match_spec); in mlx5dr_ste_copy_param()
496 struct mlx5dr_match_spec { struct783 struct mlx5dr_match_spec outer;785 struct mlx5dr_match_spec inner;
1049 static enum mlx5dr_ipv dr_rule_get_ipv(struct mlx5dr_match_spec *spec) in dr_rule_get_ipv()