Home
last modified time | relevance | path

Searched refs:first_vid (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c66 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.first_vid); in esw_egress_acl_vlan_create()
67 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, vlan_id); in esw_egress_acl_vlan_create()
111 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.first_vid); in esw_acl_egress_vlan_grp_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.c145 PRINT_MASKED_VAL_L2(u16, first_vid, first_vid, p, "%04x"); in print_lyr_2_4_hdrs()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c255 outer_headers.first_vid); in __mlx5e_add_vlan_rule()
256 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, in __mlx5e_add_vlan_rule()
265 outer_headers.first_vid); in __mlx5e_add_vlan_rule()
266 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, in __mlx5e_add_vlan_rule()
1134 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.first_vid); in __mlx5e_create_vlan_table_groups()
1146 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.first_vid); in __mlx5e_create_vlan_table_groups()
Den_fs_ethtool.c338 MLX5E_FTE_SET(headers_c, first_vid, 0xfff); in set_cvlan()
339 MLX5E_FTE_SET(headers_v, first_vid, ntohs(vlan_tci)); in set_cvlan()
Den_tc.c2654 MLX5_SET(fte_match_set_lyr_2_4, headers_c, first_vid, in __parse_cls_flower()
2656 MLX5_SET(fte_match_set_lyr_2_4, headers_v, first_vid, in __parse_cls_flower()
3080 OFFLOAD(FIRST_VID, 16, U16_MAX, vlan.h_vlan_TCI, 0, first_vid),
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c197 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.first_vid); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
354 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.first_vid); in mlx5_esw_bridge_egress_vlan_proto_fg_create()
708 outer_headers.first_vid); in mlx5_esw_bridge_ingress_flow_with_esw_create()
709 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.first_vid, in mlx5_esw_bridge_ingress_flow_with_esw_create()
859 outer_headers.first_vid); in mlx5_esw_bridge_egress_flow_create()
860 MLX5_SET(fte_match_param, rule_spec->match_value, outer_headers.first_vid, in mlx5_esw_bridge_egress_flow_create()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v0.c721 DR_STE_SET_TAG(eth_l2_src_dst, bit_mask, first_vlan_id, mask, first_vid); in dr_ste_v0_build_eth_l2_src_dst_bit_mask()
766 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_vlan_id, spec, first_vid); in dr_ste_v0_build_eth_l2_src_dst_tag()
887 DR_STE_SET_TAG(eth_l2_src, bit_mask, first_vlan_id, mask, first_vid); in dr_ste_v0_build_eth_l2_src_or_dst_bit_mask()
938 DR_STE_SET_TAG(eth_l2_src, tag, first_vlan_id, spec, first_vid); in dr_ste_v0_build_eth_l2_src_or_dst_tag()
1073 DR_STE_SET_TAG(eth_l2_tnl, bit_mask, first_vlan_id, mask, first_vid); in dr_ste_v0_build_eth_l2_tnl_bit_mask()
1103 DR_STE_SET_TAG(eth_l2_tnl, tag, first_vlan_id, spec, first_vid); in dr_ste_v0_build_eth_l2_tnl_tag()
Ddr_ste_v1.c992 DR_STE_SET_TAG(eth_l2_src_dst_v1, bit_mask, first_vlan_id, mask, first_vid); in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
1028 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, first_vlan_id, spec, first_vid); in dr_ste_v1_build_eth_l2_src_dst_tag()
1141 DR_STE_SET_TAG(eth_l2_src_v1, bit_mask, first_vlan_id, mask, first_vid); in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()
1191 DR_STE_SET_TAG(eth_l2_src_v1, tag, first_vlan_id, spec, first_vid); in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1317 DR_STE_SET_TAG(eth_l2_tnl_v1, bit_mask, first_vlan_id, mask, first_vid); in dr_ste_v1_build_eth_l2_tnl_bit_mask()
1346 DR_STE_SET_TAG(eth_l2_tnl_v1, tag, first_vlan_id, spec, first_vid); in dr_ste_v1_build_eth_l2_tnl_tag()
Ddr_ste.c798 spec->first_vid = IFC_GET_CLR(fte_match_set_lyr_2_4, mask, first_vid, clr); in dr_ste_copy_mask_spec()
Ddr_matcher.c55 #define DR_MASK_IS_L2_DST(_spec, _misc, _inner_outer) (_spec.first_vid || \
Ddr_types.h526 u32 first_vid:12; member
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c248 first_vid, ntohs(ib_spec->eth.mask.vlan_tag)); in parse_flow_attr()
250 first_vid, ntohs(ib_spec->eth.val.vlan_tag)); in parse_flow_attr()
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1473 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, first_vid); in mlx5_vdpa_add_mac_vlan_rules()
1477 MLX5_SET(fte_match_set_lyr_2_4, headers_v, first_vid, vid); in mlx5_vdpa_add_mac_vlan_rules()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h514 u8 first_vid[0xc]; member