Searched refs:VLAN_CFI_MASK (Results 1 – 13 of 13) sorted by relevance
40 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator */ macro41 #define VLAN_TAG_PRESENT VLAN_CFI_MASK
62 if (vlan_tag < VLAN_CFI_MASK) { in hns_roce_create_ah()
4086 if (vlan < VLAN_CFI_MASK) { in hns_roce_v2_set_path()
63 #define VLAN_CFI_MASK 0x1000 /* Canonical Format Indicator / Drop Eligible Indicator */ macro78 #define skb_vlan_tag_get_cfi(__skb) (!!((__skb)->vlan_tci & VLAN_CFI_MASK))
317 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag()350 key->eth.vlan.tci = htons(skb->vlan_tci) | htons(VLAN_CFI_MASK); in parse_vlan()794 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
1005 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs()1028 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs()1030 htons(VLAN_CFI_MASK)); in validate_vlan_mask_from_nlattrs()1054 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_mask_from_nlattrs()1110 encap_valid = !!(match->key->eth.vlan.tci & htons(VLAN_CFI_MASK)); in parse_vlan_from_nlattrs()3044 if (!(vlan->vlan_tci & htons(VLAN_CFI_MASK))) in __ovs_nla_copy_actions()3060 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()3072 if (vlan_tci & htons(VLAN_CFI_MASK) || in __ovs_nla_copy_actions()3137 if (vlan_tci & htons(VLAN_CFI_MASK)) in __ovs_nla_copy_actions()
231 ntohs(vlan->vlan_tci) & ~VLAN_CFI_MASK); in push_vlan()752 if (data->vlan_tci & VLAN_CFI_MASK) in ovs_vport_output()753 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK); in ovs_vport_output()800 data->vlan_tci = skb_vlan_tag_get(skb) | VLAN_CFI_MASK; in prepare_frag()
1074 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi()1079 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfim()
404 if (vlan_id < VLAN_CFI_MASK) in qedr_gsi_build_header()
1064 if (qp_params->vlan_id >= VLAN_CFI_MASK) in get_gid_info_from_table()
808 (vlan->cfi ? VLAN_CFI_MASK : 0); in netvsc_alloc_recv_skb()
5738 vid |= VLAN_CFI_MASK; /* make non-zero */ in cnic_netdev_event()
614 vlan_id < VLAN_CFI_MASK, vlan_id, in set_roce_addr()