/Linux-v6.1/net/netfilter/ |
D | nf_tables_offload.c | 63 (match->key.vlan.vlan_tpid == htons(ETH_P_8021Q) || in nft_flow_rule_transfer_vlan() 64 match->key.vlan.vlan_tpid == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan() 65 match->key.basic.n_proto = match->key.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 66 match->mask.basic.n_proto = match->mask.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 67 match->key.cvlan.vlan_tpid = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 68 match->mask.cvlan.vlan_tpid = match->mask.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 69 match->key.vlan.vlan_tpid = ethertype.value; in nft_flow_rule_transfer_vlan() 70 match->mask.vlan.vlan_tpid = ethertype.mask; in nft_flow_rule_transfer_vlan() 77 match->key.basic.n_proto = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 78 match->mask.basic.n_proto = match->mask.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() [all …]
|
D | nft_payload.c | 308 vlan_tpid, sizeof(__be16), reg); in nft_payload_offload_ll() 325 vlan_tpid, sizeof(__be16), reg); in nft_payload_offload_ll()
|
D | nf_flow_table_offload.c | 86 key->vlan_tpid = proto; in nf_flow_rule_vlan_match() 87 mask->vlan_tpid = 0xffff; in nf_flow_rule_vlan_match()
|
/Linux-v6.1/net/dsa/ |
D | tag_ocelot.c | 107 u16 vlan_tpid; in ocelot_rcv() local 170 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv() 173 eth_hdr(skb)->h_proto == htons(vlan_tpid)) { in ocelot_rcv() 179 __vlan_hwaccel_put_tag(skb, htons(vlan_tpid), vlan_tci); in ocelot_rcv()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 306 ext->outer_tpid |= key->vlan_tpid & mask->vlan_tpid; in nfp_flower_fill_vlan() 308 msk->outer_tpid |= mask->vlan_tpid; in nfp_flower_fill_vlan() 311 ext->inner_tpid |= key->vlan_tpid & mask->vlan_tpid; in nfp_flower_fill_vlan() 313 msk->inner_tpid |= mask->vlan_tpid; in nfp_flower_fill_vlan()
|
D | tunnel_conf.c | 339 ext->vlan_tpid = flow_pay->pre_tun_rule.vlan_tpid; in nfp_tun_mutual_link() 400 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_cleanup_nn_entries() 435 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_unlink_and_update_nn_entries() 504 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_write_neigh()
|
D | offload.c | 861 tun->outer_vlan_tpid = vlan->vlan_tpid; in nfp_fl_push_vlan_after_tun() 1253 u16 vlan_tpid; in nfp_flower_validate_pre_tun_rule() local 1259 vlan_tpid = be16_to_cpu(vlan_tags->outer_tpid); in nfp_flower_validate_pre_tun_rule() 1263 flow->pre_tun_rule.vlan_tpid = cpu_to_be16(vlan_tpid); in nfp_flower_validate_pre_tun_rule() 1267 flow->pre_tun_rule.vlan_tpid = cpu_to_be16(0xffff); in nfp_flower_validate_pre_tun_rule()
|
D | main.h | 125 __be16 vlan_tpid; member 431 __be16 vlan_tpid; member
|
D | cmsg.h | 191 __be16 vlan_tpid; member
|
D | conntrack.c | 497 if ((match.key->vlan_tpid & match.mask->vlan_tpid) ^ in nfp_ct_check_vlan_merge() 498 (a_in->vlan.proto & match.mask->vlan_tpid)) in nfp_ct_check_vlan_merge()
|
D | action.c | 124 push_vlan->vlan_tpid = act->vlan.proto; in nfp_fl_push_vlan()
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.c | 157 static u16 ice_check_supported_vlan_tpid(u16 vlan_tpid) in ice_check_supported_vlan_tpid() argument 159 switch (vlan_tpid) { in ice_check_supported_vlan_tpid() 163 return vlan_tpid; in ice_check_supported_vlan_tpid() 348 u16 vlan_tpid = 0; in ice_tc_fill_rules() local 351 rule_info->vlan_type = vlan_tpid; in ice_tc_fill_rules() 393 vlan_tpid = be16_to_cpu(headers->vlan_hdr.vlan_tpid); in ice_tc_fill_rules() 395 ice_check_supported_vlan_tpid(vlan_tpid); in ice_tc_fill_rules() 1329 if (match.mask->vlan_tpid) in ice_parse_cls_flower() 1330 headers->vlan_hdr.vlan_tpid = match.key->vlan_tpid; in ice_parse_cls_flower()
|
D | ice_tc_lib.h | 55 __be16 vlan_tpid; member
|
D | ice_switch.c | 2462 u16 vlan_tpid = ETH_P_8021Q; in ice_fill_sw_rule() local 2535 vlan_tpid = f_info->l_data.vlan.tpid; in ice_fill_sw_rule() 2579 *off = cpu_to_be16(vlan_tpid); in ice_fill_sw_rule()
|
/Linux-v6.1/include/net/ |
D | flow_dissector.h | 61 __be16 vlan_tpid; member
|
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flower.c | 343 rule_match_set(r_match->key, VLAN_TPID, match.key->vlan_tpid); in prestera_flower_parse() 344 rule_match_set(r_match->mask, VLAN_TPID, match.mask->vlan_tpid); in prestera_flower_parse()
|
/Linux-v6.1/include/uapi/linux/ |
D | openvswitch.h | 741 __be16 vlan_tpid; /* 802.1Q or 802.1ad TPID. */ member
|
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch-flower.c | 61 acl_h->l2_tpid = be16_to_cpu(match.key->vlan_tpid); in dpaa2_switch_flower_parse_key() 66 acl_m->l2_tpid = be16_to_cpu(match.mask->vlan_tpid); in dpaa2_switch_flower_parse_key()
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_tc.c | 576 if (ntohs(match.key->vlan_tpid) != ETH_P_8021Q) { in otx2_tc_prepare_flow() 578 ntohs(match.key->vlan_tpid)); in otx2_tc_prepare_flow()
|
/Linux-v6.1/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 294 if (match.key->vlan_tpid != cpu_to_be16(ETH_P_8021Q)) in mtk_flow_offload_replace()
|
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
D | switch-driver.rst | 138 * VLAN: vlan_id/vlan_prio/vlan_tpid/vlan_dei
|
/Linux-v6.1/net/openvswitch/ |
D | actions.c | 237 key->eth.vlan.tpid = vlan->vlan_tpid; in push_vlan() 239 return skb_vlan_push(skb, vlan->vlan_tpid, in push_vlan()
|
/Linux-v6.1/net/sched/ |
D | cls_flower.c | 1034 key_val->vlan_tpid = ethertype; in fl_set_key_vlan() 1035 key_mask->vlan_tpid = cpu_to_be16(~0); in fl_set_key_vlan() 3085 (mask->cvlan.vlan_tpid && in fl_dump_key() 3087 key->cvlan.vlan_tpid))) in fl_dump_key()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 2629 match.key->vlan_tpid = vlan_dev_vlan_proto(filter_dev); in __parse_cls_flower() 2639 match.mask->vlan_tpid) { in __parse_cls_flower() 2640 if (match.key->vlan_tpid == htons(ETH_P_8021AD)) { in __parse_cls_flower() 2690 match.mask->vlan_tpid) { in __parse_cls_flower() 2698 if (match.key->vlan_tpid == htons(ETH_P_8021AD)) { in __parse_cls_flower()
|
/Linux-v6.1/net/ethtool/ |
D | ioctl.c | 3268 match->key.vlan.vlan_tpid = ext_h_spec->vlan_etype; in ethtool_rx_flow_rule_create() 3269 match->mask.vlan.vlan_tpid = ext_m_spec->vlan_etype; in ethtool_rx_flow_rule_create()
|