Searched refs:vlan_tci_mask (Results 1 – 5 of 5) sorted by relevance
33 #define is_vlan_pcp_wildcarded(vlan_tci_mask) \ argument34 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == 0x0000)35 #define is_vlan_pcp_exactmatch(vlan_tci_mask) \ argument36 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == VLAN_PRIO_MASK)39 #define is_vid_exactmatch(vlan_tci_mask) \ argument40 ((ntohs(vlan_tci_mask) & VLAN_VID_MASK) == VLAN_VID_MASK)558 static bool is_vlan_tci_allowed(__be16 vlan_tci_mask, in is_vlan_tci_allowed() argument564 if (is_vid_exactmatch(vlan_tci_mask) && in is_vlan_tci_allowed()565 ((is_vlan_pcp_exactmatch(vlan_tci_mask) && in is_vlan_tci_allowed()567 is_vlan_pcp_wildcarded(vlan_tci_mask))) in is_vlan_tci_allowed()
466 u16 vlan_tci, vlan_tci_mask; in otx2_tc_process_vlan() local500 vlan_tci_mask = match.mask->vlan_id | in otx2_tc_process_vlan()505 flow_mask->vlan_itci = htons(vlan_tci_mask); in otx2_tc_process_vlan()509 flow_mask->vlan_tci = htons(vlan_tci_mask); in otx2_tc_process_vlan()
273 u16 vlan_tci, vlan_tci_mask; in cxgb4_process_flow_match() local278 vlan_tci_mask = match.mask->vlan_id | (match.mask->vlan_priority << in cxgb4_process_flow_match()281 fs->mask.ivlan = vlan_tci_mask; in cxgb4_process_flow_match()
571 u16 vlan_tci_mask; member
992 fsp->m_ext.vlan_tci = htons(rule->filter.vlan_tci_mask); in igc_ethtool_get_nfc_rule()1227 rule->filter.vlan_tci_mask = ntohs(fsp->m_ext.vlan_tci); in igc_ethtool_init_nfc_rule()1277 rule->filter.vlan_tci_mask == ntohs(VLAN_TCI_FULL_MASK)) || in igc_ethtool_init_nfc_rule()