Searched refs:VLAN_CFI_MASK (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/net/sched/ |
H A D | sch_frag.c | 35 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()
|
/openbmc/u-boot/include/linux/ |
H A D | if_ether.h | 173 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator */ macro 174 #define VLAN_TAG_PRESENT VLAN_CFI_MASK
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_vlan.c | 40 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator */ macro 41 #define VLAN_TAG_PRESENT VLAN_CFI_MASK
|
/openbmc/linux/include/linux/ |
H A D | if_vlan.h | 75 #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))
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 1020 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs() 1022 OVS_NLERR(log, "%s TCI does not have VLAN_CFI_MASK bit set.", in validate_vlan_from_nlattrs() 1043 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs() 1045 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs() 1069 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_mask_from_nlattrs() 1070 OVS_NLERR(log, "%s TCI mask does not have exact match for VLAN_CFI_MASK bit.", in validate_vlan_mask_from_nlattrs() 1125 encap_valid = !!(match->key->eth.vlan.tci & htons(VLAN_CFI_MASK)); in parse_vlan_from_nlattrs() 3250 if (!(vlan->vlan_tci & htons(VLAN_CFI_MASK))) in __ovs_nla_copy_actions() 3265 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions() 3293 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions() [all...] |
H A D | flow.c | 466 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 D | actions.c | 242 ntohs(vlan->vlan_tci) & ~VLAN_CFI_MASK); in push_vlan() 792 if (data->vlan_tci & VLAN_CFI_MASK) in ovs_vport_output() 793 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK); in ovs_vport_output() 840 data->vlan_tci = skb_vlan_tag_get(skb) | VLAN_CFI_MASK; in prepare_frag()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1051 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi() 1056 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_rxtx.c | 256 tci |= VLAN_CFI_MASK; in prestera_rxtx_process_skb()
|
/openbmc/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr_roce_cm.c | 402 if (vlan_id < VLAN_CFI_MASK) in qedr_gsi_build_header()
|
H A D | verbs.c | 1184 if (qp_params->vlan_id >= VLAN_CFI_MASK) in get_gid_info_from_table()
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 861 (vlan->cfi ? VLAN_CFI_MASK : 0); in netvsc_alloc_recv_skb()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 3101 u16 vlan_id = VLAN_CFI_MASK; in config_gmv_table() 3119 hr_reg_write(tb_a, GMV_TB_A_VF_VLAN_EN, vlan_id < VLAN_CFI_MASK); in config_gmv_table()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 605 vlan_id < VLAN_CFI_MASK, vlan_id, in set_roce_addr()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 5734 vid |= VLAN_CFI_MASK; /* make non-zero */ in cnic_netdev_event()
|