Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw.h55 u8 vlans[VLAN_VID_MASK + 1];
71 u8 vlans[VLAN_VID_MASK + 1];
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dvlan.h34 #ifndef VLAN_VID_MASK
35 #define VLAN_VID_MASK 0xfff /* low 12 bits are vlan id */ macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dvlan.h42 #ifndef VLAN_VID_MASK
43 #define VLAN_VID_MASK 0xfff /* low 12 bits are vlan id */ macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dvlan.h42 #ifndef VLAN_VID_MASK
43 #define VLAN_VID_MASK 0xfff /* low 12 bits are vlan id */ macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dvlan.h41 #ifndef VLAN_VID_MASK
42 #define VLAN_VID_MASK 0xfff /* low 12 bits are vlan id */ macro
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dvlan.h34 #ifndef VLAN_VID_MASK
35 #define VLAN_VID_MASK 0xfff /* low 12 bits are vlan id */ macro
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dvlan.h42 #ifndef VLAN_VID_MASK
43 #define VLAN_VID_MASK 0xfff /* low 12 bits are vlan id */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c42 #define VLAN_VID_MASK 0x0fff /* VLAN Identifier */ macro
77 & VLAN_VID_MASK; in parse_eth_frame()
90 & VLAN_VID_MASK; in parse_eth_frame()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c168 (!test_bit(be16_to_cpu(fsp->h_ext.vlan_tci) & VLAN_VID_MASK, in aq_check_approve_fvlan()
192 if (be16_to_cpu(fsp->m_ext.vlan_tci) == VLAN_VID_MASK) { in aq_check_filter()
417 (be16_to_cpu(fsp->h_ext.vlan_tci) & VLAN_VID_MASK)) { in aq_set_data_fvlan()
424 & VLAN_VID_MASK; in aq_set_data_fvlan()
595 == VLAN_VID_MASK) { in aq_add_del_rule()
/OK3568_Linux_fs/kernel/net/dsa/
H A Dtag_sja1105.c89 return vid_is_dsa_8021q(vlan_tci & VLAN_VID_MASK); in sja1105_can_use_vlan_as_tags()
313 vid = tci & VLAN_VID_MASK; in sja1105_rcv()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dsriov.c27 if ((vlan & ~VLAN_VID_MASK) || in efx_sriov_set_vf_vlan()
H A Dsiena_sriov.c325 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter()
363 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter()
1623 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan()
1671 ivi->vlan = tci & VLAN_VID_MASK; in efx_siena_sriov_get_vf_config()
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debt_vlan.c59 id = TCI & VLAN_VID_MASK; in ebt_vlan_mt()
/OK3568_Linux_fs/kernel/include/linux/
H A Dif_vlan.h66 #define VLAN_VID_MASK 0x0fff /* VLAN Identifier */ macro
79 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK)
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_vlan.c71 tci = (tci & ~VLAN_VID_MASK) | p->tcfv_push_vid; in tcf_vlan_act()
168 if (push_vid >= VLAN_VID_MASK) { in tcf_vlan_init()
/OK3568_Linux_fs/kernel/net/batman-adv/
H A Dmain.h232 return (int)(vid & VLAN_VID_MASK); in batadv_print_vid()
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_arp_nd_proxy.c73 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_arp_send()
350 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_nd_send()
H A Dbr_netlink_tunnel.c240 if (vid >= VLAN_VID_MASK) in br_parse_vlan_tunnel_info()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c192 (vlan_tag & VLAN_VID_MASK)) in ice_receive_skb()
/OK3568_Linux_fs/kernel/drivers/net/dsa/
H A Dbcm_sf2_cfp.c883 if ((be16_to_cpu(fs->m_ext.vlan_tci) & VLAN_VID_MASK) != in bcm_sf2_cfp_rule_insert()
884 VLAN_VID_MASK) in bcm_sf2_cfp_rule_insert()
887 vid = be16_to_cpu(fs->h_ext.vlan_tci) & VLAN_VID_MASK; in bcm_sf2_cfp_rule_insert()
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlan_netlink.c75 if (id >= VLAN_VID_MASK) { in vlan_validate()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1392 !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()
1394 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow()
1395 cpu_to_be16(VLAN_VID_MASK))) in mlx4_en_validate_flow()
1420 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { in mlx4_en_ethtool_add_mac_rule()
1422 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule()
/OK3568_Linux_fs/kernel/net/smc/
H A Dsmc_ism.c273 smc_smcd_terminate(wrk->smcd, wrk->event.tok, VLAN_VID_MASK); in smc_ism_event_work()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c361 (fs->m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) in set_flow_attrs()
597 fs->m_ext.vlan_tci != cpu_to_be16(VLAN_VID_MASK)) in validate_vlan()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c103 V_L2T_W_VLAN(e->vlan & VLAN_VID_MASK) | in setup_l2e_send_pending()

1234