Home
last modified time | relevance | path

Searched refs:VLAN_VID_MASK (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v4.19/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.h49 u8 vlans[VLAN_VID_MASK + 1];
63 u8 vlans[VLAN_VID_MASK + 1];
/Linux-v4.19/drivers/net/ethernet/sfc/
Dsriov.c30 if ((vlan & ~VLAN_VID_MASK) || in efx_sriov_set_vf_vlan()
Dsiena_sriov.c327 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()
/Linux-v4.19/net/sched/
Dact_vlan.c74 tci = (tci & ~VLAN_VID_MASK) | p->tcfv_push_vid; in tcf_vlan_act()
152 if (push_vid >= VLAN_VID_MASK) { in tcf_vlan_init()
Dcls_flow.c236 return tag & VLAN_VID_MASK; in flow_get_vlan_tag()
/Linux-v4.19/net/bridge/netfilter/
Debt_vlan.c71 id = TCI & VLAN_VID_MASK; in ebt_vlan_mt()
/Linux-v4.19/include/linux/
Dif_vlan.h70 #define VLAN_VID_MASK 0x0fff /* VLAN Identifier */ macro
83 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK)
/Linux-v4.19/net/batman-adv/
Dmain.h244 return (int)(vid & VLAN_VID_MASK); in batadv_print_vid()
Dmain.c646 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
/Linux-v4.19/net/bridge/
Dbr_arp_nd_proxy.c76 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_arp_send()
340 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_nd_send()
Dbr_netlink_tunnel.c244 if (vid >= VLAN_VID_MASK) in br_parse_vlan_tunnel_info()
Dbr_netlink.c573 if (!vinfo_curr->vid || vinfo_curr->vid >= VLAN_VID_MASK) in br_process_vlan_info()
963 if (defpvid >= VLAN_VID_MASK) in br_validate()
Dbr_mdb.c499 if (entry->vid >= VLAN_VID_MASK) in is_valid_mdb_entry()
/Linux-v4.19/net/8021q/
Dvlan_netlink.c78 if (id >= VLAN_VID_MASK) { in vlan_validate()
Dvlan.c219 if (vlan_id >= VLAN_VID_MASK) in register_vlan_device()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1375 !((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()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c356 (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()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c103 V_L2T_W_VLAN(e->vlan & VLAN_VID_MASK) | in setup_l2e_send_pending()
Dcxgb3_offload.c187 if (vlan && vlan != VLAN_VID_MASK) { in get_iff_from_mac()
420 VLAN_VID_MASK); in cxgb_offload_ctl()
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c574 if (qos || (vid > (VLAN_VID_MASK - 1))) in fm10k_ndo_set_vf_vlan()
/Linux-v4.19/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1101 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()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c726 e->vlan & VLAN_VID_MASK, vlan_prio(e), e->lport, in l2t_seq_show()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c37 ((ntohs(vlan_tci_mask) & VLAN_VID_MASK) == VLAN_VID_MASK)
/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_lte.c440 nic->vlan_id = ntohs(vlan_eth->h_vlan_TCI) & VLAN_VID_MASK; in gdm_lte_tx()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c367 .end_index = VLAN_VID_MASK,

123