Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/net/bridge/netfilter/
Debt_vlan.c70 id = TCI & VLAN_VID_MASK; in ebt_vlan_mt()
/linux-4.4.14/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-4.4.14/net/sched/
Dact_vlan.c97 if (push_vid >= VLAN_VID_MASK) in tcf_vlan_init()
Dcls_flow.c229 return tag & VLAN_VID_MASK; in flow_get_vlan_tag()
/linux-4.4.14/net/8021q/
Dvlan_netlink.c69 if (id >= VLAN_VID_MASK) in vlan_validate()
Dvlan.c220 if (vlan_id >= VLAN_VID_MASK) in register_vlan_device()
/linux-4.4.14/net/batman-adv/
Dmain.h186 (int)(vid & VLAN_VID_MASK) : -1)
Ddistributed-arp-table.c996 vid & VLAN_VID_MASK); in batadv_dat_snoop_outgoing_arp_request()
1076 vid & VLAN_VID_MASK); in batadv_dat_snoop_incoming_arp_request()
Dsysfs.c690 vlan->vid & VLAN_VID_MASK); in batadv_sysfs_add_vlan()
Dmain.c1214 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
Dbridge_loop_avoidance.c357 vid & VLAN_VID_MASK); in batadv_bla_send_claim()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1281 !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()
1283 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()
1284 cpu_to_be16(VLAN_VID_MASK))) in mlx4_en_validate_flow()
1310 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { in mlx4_en_ethtool_add_mac_rule()
1312 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c460 if (qos || (vid > (VLAN_VID_MASK - 1))) in fm10k_ndo_set_vf_vlan()
Dfm10k_main.c502 if ((vid & VLAN_VID_MASK) != rx_ring->vid) in fm10k_process_skb_fields()
/linux-4.4.14/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-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c783 if ((vlvf & VLAN_VID_MASK) == vlan) in ixgbe_find_vlvf_entry()
856 if ((vlvf & VLAN_VID_MASK) == vid && in ixgbe_set_vf_vlan_msg()
/linux-4.4.14/net/bridge/
Dbr_mdb.c336 if (entry->vid >= VLAN_VID_MASK) in is_valid_mdb_entry()
Dbr_vlan.c839 if (val >= VLAN_VID_MASK) in br_vlan_set_default_pvid()
Dbr_private.h732 *vid = skb_vlan_tag_get(skb) & VLAN_VID_MASK; in br_vlan_get_tag()
Dbr_netfilter_hooks.c429 skb_vlan_tag_get(skb) & VLAN_VID_MASK); in brnf_get_logical_dev()
Dbr_netlink.c526 if (!vinfo->vid || vinfo->vid >= VLAN_VID_MASK) in br_afspec()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c646 e->vlan & VLAN_VID_MASK, vlan_prio(e), e->lport, in l2t_seq_show()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1131 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid()
1136 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm()
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_lte.c452 nic->vlan_id = ntohs(vlan_eth->h_vlan_TCI) & VLAN_VID_MASK; in gdm_lte_tx()
/linux-4.4.14/net/switchdev/
Dswitchdev.c868 if (!vinfo->vid || vinfo->vid >= VLAN_VID_MASK) in switchdev_port_br_afspec()
/linux-4.4.14/drivers/net/hyperv/
Dnetvsc_drv.c524 vlan->vlanid = packet->vlan_tci & VLAN_VID_MASK; in netvsc_start_xmit()
/linux-4.4.14/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1002 vid = *(u16 *)(descr->skb->data) & VLAN_VID_MASK; in gelic_card_decode_one_descr()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2909 vlan & VLAN_VID_MASK; in bnx2x_set_vf_vlan()
2910 update_params->silent_removal_mask = VLAN_VID_MASK; in bnx2x_set_vf_vlan()
Dbnx2x_main.c3260 rxq_init->silent_removal_mask = VLAN_VID_MASK; in bnx2x_pf_rx_q_prep()
5386 (bp->afex_def_vlan_tag & VLAN_VID_MASK); in bnx2x_after_function_update()
5387 q_update_params->silent_removal_mask = VLAN_VID_MASK; in bnx2x_after_function_update()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c776 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c2193 VLAN_VID_MASK)); in i40e_ndo_set_vf_port_vlan()
Di40e_txrx.c1302 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-rhine.c1845 vid_pcp = (vid_pcp & VLAN_VID_MASK) | in rhine_start_tx()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c849 interface->vlan_id == (vlan_id & VLAN_VID_MASK)) in bnx2fc_indicate_netevent()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c1019 bits = get_bitmask_order(VLAN_VID_MASK); in xgbe_vid_crc32_le()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c1622 vi->vlan = vf_cfg->vlan_tag & VLAN_VID_MASK; in be_get_vf_config()
2273 if (adapter->pvid == (rxcp->vlan_tag & VLAN_VID_MASK) && in be_rx_compl_get()
Dbe_cmds.c337 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process()
/linux-4.4.14/net/core/
Drtnetlink.c2678 if (!vid || vid >= VLAN_VID_MASK) { in fdb_vid_parse()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c542 if (test_bit(vid & VLAN_VID_MASK, active_vlans)) in ixgbevf_process_skb_fields()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c6014 if ((vlvf & VLAN_VID_MASK) == vid && in igb_set_vf_vlan()