/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.h | 48 #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)];
|
D | spectrum_switchdev.c | 109 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()
|
D | spectrum.c | 504 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/ |
D | vlan.h | 13 #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/ |
D | fm10k_netdev.c | 723 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 …]
|
D | fm10k.h | 249 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/ |
D | ixgb.h | 139 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | ixgb_main.c | 2245 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgb_restore_vlan()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_vlan.c | 123 if (info->id > VLAN_N_VID) { in ebt_vlan_mt_check()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | igbvf.h | 185 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | netdev.c | 1274 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igbvf_restore_vlan()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40evf.h | 56 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 229 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | e1000_main.c | 4874 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/ |
D | vmxnet3_int.h | 319 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | vmxnet3_drv.c | 2101 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in vmxnet3_restore_vlan()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 238 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; 609 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | ixgbe_main.c | 4001 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbe_restore_vlan()
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 297 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | bnad.c | 2394 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { in bnad_restore_vlans()
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.h | 336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | vxge-main.c | 1496 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/ |
D | ixgbevf.h | 380 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | ixgbevf_main.c | 1851 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbevf_restore_vlan()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | clip_tbl.c | 228 for (i = 0; i < VLAN_N_VID; i++) { in cxgb4_update_root_dev_clip()
|
/linux-4.4.14/include/linux/ |
D | if_vlan.h | 71 #define VLAN_N_VID 4096 macro
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb.h | 353 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | igb_main.c | 7244 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/ |
D | en.h | 468 u32 active_vlans_ft_ix[VLAN_N_VID];
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 219 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | netdev.c | 2855 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 858 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | xgbe-dev.c | 1043 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/ |
D | netcp_ethss.c | 690 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/ |
D | qeth_core.h | 798 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | qeth_l3_main.c | 1569 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/ |
D | mlx4_en.h | 500 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | en_ethtool.c | 1288 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/ |
D | i40e.h | 463 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | i40e_main.c | 2507 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/ |
D | be.h | 545 unsigned long vids[BITS_TO_LONGS(VLAN_N_VID)];
|
D | be_main.c | 1417 for_each_set_bit(i, adapter->vids, VLAN_N_VID) in be_vid_config()
|
/linux-4.4.14/net/bridge/ |
D | br_vlan.c | 24 .max_size = VLAN_N_VID,
|
/linux-4.4.14/drivers/net/ethernet/via/ |
D | via-velocity.h | 1442 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | via-rhine.c | 439 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()
|
D | via-velocity.c | 518 for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) { in velocity_init_cam_filter()
|
/linux-4.4.14/drivers/net/ethernet/adaptec/ |
D | starfire.c | 551 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/ |
D | bond_main.c | 2270 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/ |
D | rocker.c | 212 #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/ |
D | qlge.h | 2063 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | qlge_main.c | 2486 for_each_set_bit(vid, qdev->active_vlans, VLAN_N_VID) in qlge_restore_vlan()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic.h | 1160 unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | qlcnic_main.c | 4195 for_each_set_bit(vid, adapter->vlans, VLAN_N_VID) { in qlcnic_restore_indev_addr()
|