Searched refs:VLAN_VID_MASK (Results 1 – 25 of 64) sorted by relevance
123
49 u8 vlans[VLAN_VID_MASK + 1];63 u8 vlans[VLAN_VID_MASK + 1];
30 if ((vlan & ~VLAN_VID_MASK) || in efx_sriov_set_vf_vlan()
327 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter()365 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter()1625 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan()1673 ivi->vlan = tci & VLAN_VID_MASK; in efx_siena_sriov_get_vf_config()
74 tci = (tci & ~VLAN_VID_MASK) | p->tcfv_push_vid; in tcf_vlan_act()152 if (push_vid >= VLAN_VID_MASK) { in tcf_vlan_init()
236 return tag & VLAN_VID_MASK; in flow_get_vlan_tag()
71 id = TCI & VLAN_VID_MASK; in ebt_vlan_mt()
70 #define VLAN_VID_MASK 0x0fff /* VLAN Identifier */ macro83 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK)
244 return (int)(vid & VLAN_VID_MASK); in batadv_print_vid()
646 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
76 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_arp_send()340 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_nd_send()
244 if (vid >= VLAN_VID_MASK) in br_parse_vlan_tunnel_info()
573 if (!vinfo_curr->vid || vinfo_curr->vid >= VLAN_VID_MASK) in br_process_vlan_info()963 if (defpvid >= VLAN_VID_MASK) in br_validate()
499 if (entry->vid >= VLAN_VID_MASK) in is_valid_mdb_entry()
78 if (id >= VLAN_VID_MASK) { in vlan_validate()
219 if (vlan_id >= VLAN_VID_MASK) in register_vlan_device()
1375 !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()1377 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()1378 cpu_to_be16(VLAN_VID_MASK))) in mlx4_en_validate_flow()1404 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { in mlx4_en_ethtool_add_mac_rule()1406 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule()
356 (fs->m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) in set_flow_attrs()608 fs->m_ext.vlan_tci != cpu_to_be16(VLAN_VID_MASK)) in validate_vlan()
103 V_L2T_W_VLAN(e->vlan & VLAN_VID_MASK) | in setup_l2e_send_pending()
187 if (vlan && vlan != VLAN_VID_MASK) { in get_iff_from_mac()420 VLAN_VID_MASK); in cxgb_offload_ctl()
574 if (qos || (vid > (VLAN_VID_MASK - 1))) in fm10k_ndo_set_vf_vlan()
1101 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid()1106 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm()
726 e->vlan & VLAN_VID_MASK, vlan_prio(e), e->lport, in l2t_seq_show()
37 ((ntohs(vlan_tci_mask) & VLAN_VID_MASK) == VLAN_VID_MASK)
440 nic->vlan_id = ntohs(vlan_eth->h_vlan_TCI) & VLAN_VID_MASK; in gdm_lte_tx()
367 .end_index = VLAN_VID_MASK,