Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
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()
973 DR_STE_SET_TAG(eth_l2_src, tag, second_vlan_id, misc_spec, inner_second_vid); 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()
975 DR_STE_SET_TAG(eth_l2_src, tag, second_priority, misc_spec, inner_second_prio); 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()
[all …]
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()
1344 DR_STE_SET_TAG(eth_l2_src_v1, tag, second_vlan_id, misc_spec, inner_second_vid); 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()
1346 DR_STE_SET_TAG(eth_l2_src_v1, tag, second_priority, misc_spec, inner_second_prio); 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()
[all …]