Home
last modified time | relevance | path

Searched refs:misc_spec (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste_v0.c936 struct mlx5dr_match_misc *misc_spec = &value->misc; in dr_ste_v0_build_eth_l2_src_or_dst_tag() local
965 if (misc_spec->inner_second_cvlan_tag) { in dr_ste_v0_build_eth_l2_src_or_dst_tag()
967 misc_spec->inner_second_cvlan_tag = 0; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
968 } else if (misc_spec->inner_second_svlan_tag) { in dr_ste_v0_build_eth_l2_src_or_dst_tag()
970 misc_spec->inner_second_svlan_tag = 0; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
974 DR_STE_SET_TAG(eth_l2_src, tag, second_cfi, misc_spec, inner_second_cfi); in dr_ste_v0_build_eth_l2_src_or_dst_tag()
977 if (misc_spec->outer_second_cvlan_tag) { in dr_ste_v0_build_eth_l2_src_or_dst_tag()
979 misc_spec->outer_second_cvlan_tag = 0; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
980 } else if (misc_spec->outer_second_svlan_tag) { in dr_ste_v0_build_eth_l2_src_or_dst_tag()
982 misc_spec->outer_second_svlan_tag = 0; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
[all …]
H A Ddr_ste_v1.c1309 struct mlx5dr_match_misc *misc_spec = &value->misc; in dr_ste_v1_build_eth_l2_src_or_dst_tag() local
1336 if (misc_spec->inner_second_cvlan_tag) { in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1338 misc_spec->inner_second_cvlan_tag = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1339 } else if (misc_spec->inner_second_svlan_tag) { in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1341 misc_spec->inner_second_svlan_tag = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1345 DR_STE_SET_TAG(eth_l2_src_v1, tag, second_cfi, misc_spec, inner_second_cfi); in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1348 if (misc_spec->outer_second_cvlan_tag) { in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1350 misc_spec->outer_second_cvlan_tag = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1351 } else if (misc_spec->outer_second_svlan_tag) { in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1353 misc_spec->outer_second_svlan_tag = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
[all …]