Home
last modified time | relevance | path

Searched refs:VLAN_N_VID (Results 1 – 53 of 53) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h48 #define MLXSW_SP_VFID_BASE VLAN_N_VID
53 unsigned long active_vfids[BITS_TO_LONGS(VLAN_N_VID)];
54 unsigned long active_fids[BITS_TO_LONGS(VLAN_N_VID)];
95 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
97 unsigned long active_vfids[BITS_TO_LONGS(VLAN_N_VID)];
Dspectrum_switchdev.c109 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) in mlxsw_sp_port_stp_state_set()
171 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_uc_flood_set()
704 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_vlan_dump()
864 for_each_set_bit(fid, mlxsw_sp->active_fids, VLAN_N_VID) in mlxsw_sp_fids_fini()
888 err = __mlxsw_sp_port_vlans_del(mlxsw_sp_port, 0, VLAN_N_VID, true); in mlxsw_sp_port_vlan_init()
Dspectrum.c504 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_vp_mode_trans()
515 last_visited_vid = VLAN_N_VID; in mlxsw_sp_port_vp_mode_trans()
538 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_vlan_mode_trans()
1341 for_each_set_bit(vfid, mlxsw_sp->active_vfids, VLAN_N_VID) in mlxsw_sp_vfids_fini()
1784 .fid_offset_flood_table_size = VLAN_N_VID - 1,
1786 .fid_flood_table_size = VLAN_N_VID,
/linux-4.4.14/net/8021q/
Dvlan.h13 #define VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS)
95 for ((i) = 0; i < VLAN_PROTO_NUM * VLAN_N_VID; i++) \
96 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \
97 (i) % VLAN_N_VID)))
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c723 bool set = !!(vid / VLAN_N_VID); in fm10k_uc_vlan_unsync()
727 vid &= VLAN_N_VID - 1; in fm10k_uc_vlan_unsync()
744 bool set = !!(vid / VLAN_N_VID); in fm10k_mc_vlan_unsync()
748 vid &= VLAN_N_VID - 1; in fm10k_mc_vlan_unsync()
769 if (vid >= VLAN_N_VID) in fm10k_update_vid()
784 u16 rx_vid = rx_ring->vid & (VLAN_N_VID - 1); in fm10k_update_vid()
818 interface->vid = vid + (set ? VLAN_N_VID : 0); in fm10k_update_vid()
848 u16 vid_limit = vid < default_vid ? default_vid : VLAN_N_VID; in fm10k_find_next_vlan()
862 prev_vid < VLAN_N_VID; in fm10k_clear_unused_vlans()
886 vid < VLAN_N_VID; in __fm10k_uc_sync()
[all …]
Dfm10k.h249 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb.h139 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dixgb_main.c2245 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgb_restore_vlan()
/linux-4.4.14/net/bridge/netfilter/
Debt_vlan.c123 if (info->id > VLAN_N_VID) { in ebt_vlan_mt_check()
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Digbvf.h185 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dnetdev.c1274 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igbvf_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf.h56 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000.h229 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
De1000_main.c4874 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_vlan_used()
4998 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_int.h319 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dvmxnet3_drv.c2101 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in vmxnet3_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h238 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
609 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dixgbe_main.c4001 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbe_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.h297 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dbnad.c2394 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { in bnad_restore_vlans()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.h336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dvxge-main.c1496 for_each_set_bit(vid, vdev->active_vlans, VLAN_N_VID) in vxge_restore_vpath_vid_table()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h380 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dixgbevf_main.c1851 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbevf_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c228 for (i = 0; i < VLAN_N_VID; i++) { in cxgb4_update_root_dev_clip()
/linux-4.4.14/include/linux/
Dif_vlan.h71 #define VLAN_N_VID 4096 macro
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb.h353 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Digb_main.c7244 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igb_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den.h468 u32 active_vlans_ft_ix[VLAN_N_VID];
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
De1000.h219 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dnetdev.c2855 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe.h858 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dxgbe-dev.c1043 for_each_set_bit(vid, pdata->active_vlans, VLAN_N_VID) { in xgbe_update_vlan_hash_table()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_ethss.c690 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
2238 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_add_mcast_addr()
2252 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) in gbe_add_ucast_addr()
2264 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_del_mcast_addr()
2276 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_del_ucast_addr()
/linux-4.4.14/drivers/s390/net/
Dqeth_core.h798 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dqeth_l3_main.c1569 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_add_vlan_mc()
1631 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_add_vlan_mc6()
1997 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_verify_vlan_dev()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h500 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Den_ethtool.c1288 if (be16_to_cpu(cmd->fs.h_ext.vlan_tci) >= VLAN_N_VID) in mlx4_en_validate_flow()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e.h463 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Di40e_main.c2507 if (!ret && (vid < VLAN_N_VID)) in i40e_vlan_rx_add_vid()
2557 for_each_set_bit(vid, vsi->active_vlans, VLAN_N_VID) in i40e_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe.h545 unsigned long vids[BITS_TO_LONGS(VLAN_N_VID)];
Dbe_main.c1417 for_each_set_bit(i, adapter->vids, VLAN_N_VID) in be_vid_config()
/linux-4.4.14/net/bridge/
Dbr_vlan.c24 .max_size = VLAN_N_VID,
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.h1442 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dvia-rhine.c439 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
1535 for_each_set_bit(vid, rp->active_vlans, VLAN_N_VID) { in rhine_update_vcam()
Dvia-velocity.c518 for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) { in velocity_init_cam_filter()
/linux-4.4.14/drivers/net/ethernet/adaptec/
Dstarfire.c551 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
1720 for_each_set_bit(vid, np->active_vlans, VLAN_N_VID) { in set_vlan_mode()
/linux-4.4.14/drivers/net/bonding/
Dbond_main.c2270 if (!tags || tags->vlan_proto == VLAN_N_VID) in bond_arp_send()
2276 while (tags->vlan_proto != VLAN_N_VID) { in bond_arp_send()
2323 tags[level].vlan_proto = VLAN_N_VID; in bond_verify_device_path()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c212 #define ROCKER_VLAN_BITMAP_LEN BITS_TO_LONGS(VLAN_N_VID)
3413 for (vid = 1; vid < VLAN_N_VID; vid++) { in rocker_port_ctrl()
3791 for (vid = 1; vid < VLAN_N_VID; vid++) { in rocker_port_fwding()
4600 for (vid = 1; vid < VLAN_N_VID; vid++) { in rocker_port_vlan_dump()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge.h2063 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dqlge_main.c2486 for_each_set_bit(vid, qdev->active_vlans, VLAN_N_VID) in qlge_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h1160 unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dqlcnic_main.c4195 for_each_set_bit(vid, adapter->vlans, VLAN_N_VID) { in qlcnic_restore_indev_addr()