| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| H A D | helper.c | 65 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.cvlan_tag); in esw_egress_acl_vlan_create() 66 MLX5_SET_TO_ONES(fte_match_param, spec->match_value, outer_headers.cvlan_tag); in esw_egress_acl_vlan_create() 111 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_egress_vlan_grp_create()
|
| H A D | ingress_lgcy.c | 36 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_lgcy_groups_create() 54 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_lgcy_groups_create() 230 outer_headers.cvlan_tag); in esw_acl_ingress_lgcy_setup()
|
| H A D | ingress_ofld.c | 37 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_prio_tag_create() 38 MLX5_SET(fte_match_param, spec->match_value, outer_headers.cvlan_tag, 0); in esw_acl_ingress_prio_tag_create() 248 MLX5_SET_TO_ONES(fte_match_param, match_criteria, outer_headers.cvlan_tag); in esw_acl_ingress_ofld_groups_create()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| H A D | vlan_mangle.c | 33 if (!(MLX5_GET(fte_match_set_lyr_2_4, headers_c, cvlan_tag) && in mlx5e_tc_act_vlan_add_rewrite_action() 34 MLX5_GET(fte_match_set_lyr_2_4, headers_v, cvlan_tag))) { in mlx5e_tc_act_vlan_add_rewrite_action()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_ste_v1.c | 981 if (mask->cvlan_tag) { in dr_ste_v1_build_eth_l2_src_dst_bit_mask() 983 mask->cvlan_tag = 0; in dr_ste_v1_build_eth_l2_src_dst_bit_mask() 1016 if (spec->cvlan_tag) { in dr_ste_v1_build_eth_l2_src_dst_tag() 1018 spec->cvlan_tag = 0; in dr_ste_v1_build_eth_l2_src_dst_tag() 1132 if (mask->svlan_tag || mask->cvlan_tag) { in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask() 1134 mask->cvlan_tag = 0; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask() 1191 if (spec->cvlan_tag) { in dr_ste_v1_build_eth_l2_src_or_dst_tag() 1193 spec->cvlan_tag = 0; in dr_ste_v1_build_eth_l2_src_or_dst_tag() 1314 if (mask->svlan_tag || mask->cvlan_tag) { in dr_ste_v1_build_eth_l2_tnl_bit_mask() 1316 mask->cvlan_tag = 0; in dr_ste_v1_build_eth_l2_tnl_bit_mask() [all …]
|
| H A D | dr_matcher.c | 56 (_spec).first_cfi || (_spec).first_prio || (_spec).cvlan_tag || \
|
| H A D | dr_types.h | 561 u32 cvlan_tag:1; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | bridge.c | 110 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 172 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 267 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_egress_vlan_proto_fg_create() 615 outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_flow_with_esw_create() 617 outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_flow_with_esw_create() 723 outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_filter_flow_create() 725 outer_headers.cvlan_tag); in mlx5_esw_bridge_ingress_filter_flow_create() 781 outer_headers.cvlan_tag); in mlx5_esw_bridge_egress_flow_create() 783 outer_headers.cvlan_tag); in mlx5_esw_bridge_egress_flow_create()
|
| H A D | bridge_mcast.c | 96 outer_headers.cvlan_tag); in mlx5_esw_bridge_mdb_flow_create() 98 outer_headers.cvlan_tag); in mlx5_esw_bridge_mdb_flow_create() 383 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); in mlx5_esw_bridge_mcast_vlan_proto_fg_create() 599 outer_headers.cvlan_tag); in mlx5_esw_bridge_mcast_vlan_flow_create() 601 outer_headers.cvlan_tag); in mlx5_esw_bridge_mcast_vlan_flow_create()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_fs_ethtool.c | 332 MLX5E_FTE_SET(headers_c, cvlan_tag, 1); in set_cvlan() 333 MLX5E_FTE_SET(headers_v, cvlan_tag, 1); in set_cvlan()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | definer.c | 397 if (HWS_GET_MATCH_PARAM(match_param, outer_headers.cvlan_tag)) in hws_definer_outer_vlan_type_set() 410 if (HWS_GET_MATCH_PARAM(match_param, inner_headers.cvlan_tag)) in hws_definer_inner_vlan_type_set() 777 if (HWS_GET_MATCH_PARAM(match_param, outer_headers.cvlan_tag) || in hws_definer_conv_outer() 954 if (HWS_GET_MATCH_PARAM(match_param, inner_headers.cvlan_tag) || in hws_definer_conv_inner()
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 1938 MLX5_SET(fte_match_set_lyr_2_4, headers_c, cvlan_tag, 1); in mlx5_vdpa_add_mac_vlan_rules() 1942 MLX5_SET(fte_match_set_lyr_2_4, headers_v, cvlan_tag, 1); in mlx5_vdpa_add_mac_vlan_rules()
|