/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | sriov.c | 30 if ((vlan & ~VLAN_VID_MASK) || in efx_sriov_set_vf_vlan()
|
D | siena_sriov.c | 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()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_vlan.c | 70 id = TCI & VLAN_VID_MASK; in ebt_vlan_mt()
|
/linux-4.4.14/include/linux/ |
D | if_vlan.h | 70 #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/ |
D | act_vlan.c | 97 if (push_vid >= VLAN_VID_MASK) in tcf_vlan_init()
|
D | cls_flow.c | 229 return tag & VLAN_VID_MASK; in flow_get_vlan_tag()
|
/linux-4.4.14/net/8021q/ |
D | vlan_netlink.c | 69 if (id >= VLAN_VID_MASK) in vlan_validate()
|
D | vlan.c | 220 if (vlan_id >= VLAN_VID_MASK) in register_vlan_device()
|
/linux-4.4.14/net/batman-adv/ |
D | main.h | 186 (int)(vid & VLAN_VID_MASK) : -1)
|
D | distributed-arp-table.c | 996 vid & VLAN_VID_MASK); in batadv_dat_snoop_outgoing_arp_request() 1076 vid & VLAN_VID_MASK); in batadv_dat_snoop_incoming_arp_request()
|
D | sysfs.c | 690 vlan->vid & VLAN_VID_MASK); in batadv_sysfs_add_vlan()
|
D | main.c | 1214 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
|
D | bridge_loop_avoidance.c | 357 vid & VLAN_VID_MASK); in batadv_bla_send_claim()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1281 !((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/ |
D | fm10k_iov.c | 460 if (qos || (vid > (VLAN_VID_MASK - 1))) in fm10k_ndo_set_vf_vlan()
|
D | fm10k_main.c | 502 if ((vid & VLAN_VID_MASK) != rx_ring->vid) in fm10k_process_skb_fields()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.c | 103 V_L2T_W_VLAN(e->vlan & VLAN_VID_MASK) | in setup_l2e_send_pending()
|
D | cxgb3_offload.c | 187 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/ |
D | ixgbe_sriov.c | 783 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/ |
D | br_mdb.c | 336 if (entry->vid >= VLAN_VID_MASK) in is_valid_mdb_entry()
|
D | br_vlan.c | 839 if (val >= VLAN_VID_MASK) in br_vlan_set_default_pvid()
|
D | br_private.h | 732 *vid = skb_vlan_tag_get(skb) & VLAN_VID_MASK; in br_vlan_get_tag()
|
D | br_netfilter_hooks.c | 429 skb_vlan_tag_get(skb) & VLAN_VID_MASK); in brnf_get_logical_dev()
|
D | br_netlink.c | 526 if (!vinfo->vid || vinfo->vid >= VLAN_VID_MASK) in br_afspec()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 646 e->vlan & VLAN_VID_MASK, vlan_prio(e), e->lport, in l2t_seq_show()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1131 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/ |
D | gdm_lte.c | 452 nic->vlan_id = ntohs(vlan_eth->h_vlan_TCI) & VLAN_VID_MASK; in gdm_lte_tx()
|
/linux-4.4.14/net/switchdev/ |
D | switchdev.c | 868 if (!vinfo->vid || vinfo->vid >= VLAN_VID_MASK) in switchdev_port_br_afspec()
|
/linux-4.4.14/drivers/net/hyperv/ |
D | netvsc_drv.c | 524 vlan->vlanid = packet->vlan_tci & VLAN_VID_MASK; in netvsc_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 1002 vid = *(u16 *)(descr->skb->data) & VLAN_VID_MASK; in gelic_card_decode_one_descr()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 2909 vlan & VLAN_VID_MASK; in bnx2x_set_vf_vlan() 2910 update_params->silent_removal_mask = VLAN_VID_MASK; in bnx2x_set_vf_vlan()
|
D | bnx2x_main.c | 3260 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/ |
D | i40e_txrx.c | 776 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 2193 VLAN_VID_MASK)); in i40e_ndo_set_vf_port_vlan()
|
D | i40e_txrx.c | 1302 if (vlan_tag & VLAN_VID_MASK) in i40e_receive_skb()
|
/linux-4.4.14/drivers/net/ethernet/via/ |
D | via-rhine.c | 1845 vid_pcp = (vid_pcp & VLAN_VID_MASK) | in rhine_start_tx()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 849 interface->vlan_id == (vlan_id & VLAN_VID_MASK)) in bnx2fc_indicate_netevent()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 1019 bits = get_bitmask_order(VLAN_VID_MASK); in xgbe_vid_crc32_le()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1622 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()
|
D | be_cmds.c | 337 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process()
|
/linux-4.4.14/net/core/ |
D | rtnetlink.c | 2678 if (!vid || vid >= VLAN_VID_MASK) { in fdb_vid_parse()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 542 if (test_bit(vid & VLAN_VID_MASK, active_vlans)) in ixgbevf_process_skb_fields()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 6014 if ((vlvf & VLAN_VID_MASK) == vid && in igb_set_vf_vlan()
|