Home
last modified time | relevance | path

Searched refs:VLAN_CFI_MASK (Results 1 – 12 of 12) sorted by relevance

/linux/net/sched/
H A Dsch_frag.c35 if (data->vlan_tci & VLAN_CFI_MASK) in sch_frag_xmit()
37 data->vlan_tci & ~VLAN_CFI_MASK); in sch_frag_xmit()
62 data->vlan_tci = skb_vlan_tag_get(skb) | VLAN_CFI_MASK; in sch_frag_prepare_frag()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c40 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator */ macro
41 #define VLAN_TAG_PRESENT VLAN_CFI_MASK
/linux/include/linux/
H A Dif_vlan.h75 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator / Drop Eligible Indicator */ macro
90 #define skb_vlan_tag_get_cfi(__skb) (!!((__skb)->vlan_tci & VLAN_CFI_MASK))
/linux/net/openvswitch/
H A Dflow_netlink.c1033 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs()
1056 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs()
1058 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs()
1082 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_mask_from_nlattrs()
1138 encap_valid = !!(match->key->eth.vlan.tci & htons(VLAN_CFI_MASK)); in parse_vlan_from_nlattrs()
3300 if (!(vlan->vlan_tci & htons(VLAN_CFI_MASK))) in __ovs_nla_copy_actions()
3315 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()
3343 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()
3357 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()
3437 if (vlan_tci & htons(VLAN_CFI_MASK)) in __ovs_nla_copy_actions()
H A Dflow.c466 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag()
499 key->eth.vlan.tci = htons(skb->vlan_tci) | htons(VLAN_CFI_MASK); in parse_vlan()
953 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
H A Dactions.c249 ntohs(vlan->vlan_tci) & ~VLAN_CFI_MASK); in push_vlan()
808 if (data->vlan_tci & VLAN_CFI_MASK) in ovs_vport_output()
809 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK); in ovs_vport_output()
856 data->vlan_tci = skb_vlan_tag_get(skb) | VLAN_CFI_MASK; in prepare_frag()
/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1053 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi()
1058 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c256 tci |= VLAN_CFI_MASK; in prestera_rxtx_process_skb()
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c402 if (vlan_id < VLAN_CFI_MASK) in qedr_gsi_build_header()
H A Dverbs.c1185 if (qp_params->vlan_id >= VLAN_CFI_MASK) in get_gid_info_from_table()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c861 (vlan->cfi ? VLAN_CFI_MASK : 0); in netvsc_alloc_recv_skb()
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c5745 vid |= VLAN_CFI_MASK; /* make non-zero */ in cnic_netdev_event()