Home
last modified time | relevance | path

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

/linux-4.1.27/net/bridge/netfilter/
Debt_vlan.c70 id = TCI & VLAN_VID_MASK; in ebt_vlan_mt()
/linux-4.1.27/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.1.27/net/sched/
Dact_vlan.c97 if (push_vid >= VLAN_VID_MASK) in tcf_vlan_init()
Dcls_flow.c216 return tag & VLAN_VID_MASK; in flow_get_vlan_tag()
/linux-4.1.27/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.1.27/net/batman-adv/
Dmain.h188 (int)(vid & VLAN_VID_MASK) : -1)
Ddistributed-arp-table.c959 vid & VLAN_VID_MASK); in batadv_dat_snoop_outgoing_arp_request()
1039 vid & VLAN_VID_MASK); in batadv_dat_snoop_incoming_arp_request()
Dsysfs.c670 vlan->vid & VLAN_VID_MASK); in batadv_sysfs_add_vlan()
Dmain.c1195 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
Dbridge_loop_avoidance.c342 vid & VLAN_VID_MASK); in batadv_bla_send_claim()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1266 !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()
1268 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()
1269 cpu_to_be16(VLAN_VID_MASK))) in mlx4_en_validate_flow()
1295 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { in mlx4_en_ethtool_add_mac_rule()
1297 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dsiena_sriov.c326 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter()
364 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter()
1614 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan()
1662 ivi->vlan = tci & VLAN_VID_MASK; in efx_siena_sriov_get_vf_config()
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c446 if (qos || (vid > (VLAN_VID_MASK - 1))) in fm10k_ndo_set_vf_vlan()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c777 if ((vlvf & VLAN_VID_MASK) == vlan) in ixgbe_find_vlvf_entry()
850 if ((vlvf & VLAN_VID_MASK) == vid && in ixgbe_set_vf_vlan_msg()
/linux-4.1.27/net/bridge/
Dbr_vlan.c605 if (val >= VLAN_VID_MASK) in br_vlan_set_default_pvid()
Dbr_private.h637 *vid = skb_vlan_tag_get(skb) & VLAN_VID_MASK; in br_vlan_get_tag()
Dbr_netfilter.c483 skb_vlan_tag_get(skb) & VLAN_VID_MASK); in brnf_get_logical_dev()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c632 e->vlan & VLAN_VID_MASK, vlan_prio(e), e->lport, in l2t_seq_show()
/linux-4.1.27/drivers/net/hyperv/
Dnetvsc_drv.c481 vlan->vlanid = packet->vlan_tci & VLAN_VID_MASK; in netvsc_start_xmit()
/linux-4.1.27/drivers/staging/gdm724x/
Dgdm_lte.c452 nic->vlan_id = ntohs(vlan_eth->h_vlan_TCI) & VLAN_VID_MASK; in gdm_lte_tx()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1134 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid()
1139 return be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vidm()
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c849 OP_IMM3(ARM_AND, r_A, r_A, VLAN_VID_MASK, ctx); in build_body()
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1002 vid = *(u16 *)(descr->skb->data) & VLAN_VID_MASK; in gelic_card_decode_one_descr()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2937 vlan & VLAN_VID_MASK; in bnx2x_set_vf_vlan()
2938 update_params->silent_removal_mask = VLAN_VID_MASK; in bnx2x_set_vf_vlan()
Dbnx2x_main.c3255 rxq_init->silent_removal_mask = VLAN_VID_MASK; in bnx2x_pf_rx_q_prep()
5352 (bp->afex_def_vlan_tag & VLAN_VID_MASK); in bnx2x_after_function_update()
5353 q_update_params->silent_removal_mask = VLAN_VID_MASK; in bnx2x_after_function_update()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c834 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c2111 VLAN_VID_MASK)); in i40e_ndo_set_vf_port_vlan()
Di40e_txrx.c1351 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-rhine.c1792 vid_pcp = (vid_pcp & VLAN_VID_MASK) | in rhine_start_tx()
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c849 interface->vlan_id == (vlan_id & VLAN_VID_MASK)) in bnx2fc_indicate_netevent()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c1033 bits = get_bitmask_order(VLAN_VID_MASK); in xgbe_vid_crc32_le()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c1465 vi->vlan = vf_cfg->vlan_tag & VLAN_VID_MASK; in be_get_vf_config()
2031 if (adapter->pvid == (rxcp->vlan_tag & VLAN_VID_MASK) && in be_rx_compl_get()
Dbe_cmds.c326 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process()
/linux-4.1.27/net/core/
Drtnetlink.c2546 if (!vid || vid >= VLAN_VID_MASK) { in fdb_vid_parse()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c515 if (test_bit(vid & VLAN_VID_MASK, active_vlans)) in ixgbevf_process_skb_fields()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c6022 if ((vlvf & VLAN_VID_MASK) == vid && in igb_set_vf_vlan()