Searched refs:vlan_tci_mask (Results 1 – 2 of 2) sorted by relevance
30 #define is_vlan_pcp_wildcarded(vlan_tci_mask) \ argument31 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == 0x0000)32 #define is_vlan_pcp_exactmatch(vlan_tci_mask) \ argument33 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == VLAN_PRIO_MASK)36 #define is_vid_exactmatch(vlan_tci_mask) \ argument37 ((ntohs(vlan_tci_mask) & VLAN_VID_MASK) == VLAN_VID_MASK)359 static bool is_vlan_tci_allowed(__be16 vlan_tci_mask, in is_vlan_tci_allowed() argument365 if (is_vid_exactmatch(vlan_tci_mask) && in is_vlan_tci_allowed()366 ((is_vlan_pcp_exactmatch(vlan_tci_mask) && in is_vlan_tci_allowed()368 is_vlan_pcp_wildcarded(vlan_tci_mask))) in is_vlan_tci_allowed()
191 u16 vlan_tci, vlan_tci_mask; in cxgb4_process_flow_match() local196 vlan_tci_mask = match.mask->vlan_id | (match.mask->vlan_priority << in cxgb4_process_flow_match()199 fs->mask.ivlan = vlan_tci_mask; in cxgb4_process_flow_match()