Home
last modified time | relevance | path

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

/linux-6.1.9/net/sched/
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-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c40 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator */ macro
41 #define VLAN_TAG_PRESENT VLAN_CFI_MASK
/linux-6.1.9/include/linux/
Dif_vlan.h67 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator / Drop Eligible Indicator */ macro
82 #define skb_vlan_tag_get_cfi(__skb) (!!((__skb)->vlan_tci & VLAN_CFI_MASK))
/linux-6.1.9/net/openvswitch/
Dflow_netlink.c1017 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs()
1040 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs()
1042 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs()
1066 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_mask_from_nlattrs()
1122 encap_valid = !!(match->key->eth.vlan.tci & htons(VLAN_CFI_MASK)); in parse_vlan_from_nlattrs()
3244 if (!(vlan->vlan_tci & htons(VLAN_CFI_MASK))) in __ovs_nla_copy_actions()
3259 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()
3287 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()
3301 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()
3381 if (vlan_tci & htons(VLAN_CFI_MASK)) in __ovs_nla_copy_actions()
Dflow.c463 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag()
496 key->eth.vlan.tci = htons(skb->vlan_tci) | htons(VLAN_CFI_MASK); in parse_vlan()
949 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
Dactions.c240 ntohs(vlan->vlan_tci) & ~VLAN_CFI_MASK); in push_vlan()
790 if (data->vlan_tci & VLAN_CFI_MASK) in ovs_vport_output()
791 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK); in ovs_vport_output()
838 data->vlan_tci = skb_vlan_tag_get(skb) | VLAN_CFI_MASK; in prepare_frag()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1049 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi()
1054 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c259 tci |= VLAN_CFI_MASK; in prestera_rxtx_process_skb()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c403 if (vlan_id < VLAN_CFI_MASK) in qedr_gsi_build_header()
Dverbs.c1184 if (qp_params->vlan_id >= VLAN_CFI_MASK) in get_gid_info_from_table()
/linux-6.1.9/drivers/net/hyperv/
Dnetvsc_drv.c857 (vlan->cfi ? VLAN_CFI_MASK : 0); in netvsc_alloc_recv_skb()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c3215 u16 vlan_id = VLAN_CFI_MASK; in config_gmv_table()
3233 hr_reg_write(tb_a, GMV_TB_A_VF_VLAN_EN, vlan_id < VLAN_CFI_MASK); in config_gmv_table()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmain.c599 vlan_id < VLAN_CFI_MASK, vlan_id, in set_roce_addr()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.c5736 vid |= VLAN_CFI_MASK; /* make non-zero */ in cnic_netdev_event()