/linux-4.1.27/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.1.27/net/bridge/ |
D | br_vlan.c | 104 if (bitmap_empty(v->vlan_bitmap, VLAN_N_VID)) { in __vlan_del() 118 bitmap_zero(v->vlan_bitmap, VLAN_N_VID); in __vlan_flush() 458 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_vlan_set_proto() 477 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) in br_vlan_set_proto() 495 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) in br_vlan_set_proto() 704 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) in nbp_vlan_flush()
|
D | br_netlink.c | 42 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_get_num_vlan_infos() 203 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_fill_ifvlaninfo_compressed() 250 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_fill_ifvlaninfo() 335 if (!pv || bitmap_empty(pv->vlan_bitmap, VLAN_N_VID)) in br_fill_ifinfo()
|
D | br_fdb.c | 229 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) in br_fdb_changeaddr() 259 for_each_set_bit_from(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_fdb_change_mac_address() 859 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_fdb_add() 930 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) { in br_fdb_delete()
|
D | br_private.h | 30 #define BR_VLAN_BITMAP_LEN BITS_TO_LONGS(VLAN_N_VID)
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 721 bool set = !!(vid / VLAN_N_VID); in fm10k_uc_vlan_unsync() 725 vid &= VLAN_N_VID - 1; in fm10k_uc_vlan_unsync() 742 bool set = !!(vid / VLAN_N_VID); in fm10k_mc_vlan_unsync() 746 vid &= VLAN_N_VID - 1; in fm10k_mc_vlan_unsync() 766 if (vid >= VLAN_N_VID) in fm10k_update_vid() 798 interface->vid = vid + (set ? VLAN_N_VID : 0); in fm10k_update_vid() 828 u16 vid_limit = vid < default_vid ? default_vid : VLAN_N_VID; in fm10k_find_next_vlan() 842 prev_vid < VLAN_N_VID; in fm10k_clear_unused_vlans() 866 vid < VLAN_N_VID; in __fm10k_uc_sync() 933 vid < VLAN_N_VID; in __fm10k_mc_sync() [all …]
|
D | fm10k.h | 242 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_vlan.c | 123 if (info->id > VLAN_N_VID) { in ebt_vlan_mt_check()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/igbvf/ |
D | igbvf.h | 185 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | netdev.c | 1273 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igbvf_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 229 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | e1000_main.c | 4879 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_vlan_used() 5003 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40evf.h | 60 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.1.27/drivers/net/vmxnet3/ |
D | vmxnet3_int.h | 319 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | vmxnet3_drv.c | 1969 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in vmxnet3_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 230 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; 601 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | ixgbe_main.c | 3906 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbe_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 295 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | bnad.c | 2392 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { in bnad_restore_vlans()
|
/linux-4.1.27/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.1.27/include/linux/ |
D | if_vlan.h | 71 #define VLAN_N_VID 4096 macro
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 378 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | ixgbevf_main.c | 1847 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbevf_restore_vlan()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/igb/ |
D | igb.h | 353 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | igb_main.c | 7291 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igb_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 755 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | xgbe-dev.c | 1057 for_each_set_bit(vid, pdata->active_vlans, VLAN_N_VID) { in xgbe_update_vlan_hash_table()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 217 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | netdev.c | 2867 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | netcp_ethss.c | 691 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; 2039 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_add_mcast_addr() 2053 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) in gbe_add_ucast_addr() 2065 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_del_mcast_addr() 2077 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_del_ucast_addr()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e.h | 439 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | i40e_main.c | 2229 if (!ret && (vid < VLAN_N_VID)) in i40e_vlan_rx_add_vid() 2279 for_each_set_bit(vid, vsi->active_vlans, VLAN_N_VID) in i40e_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4_en.h | 499 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | en_ethtool.c | 1273 if (be16_to_cpu(cmd->fs.h_ext.vlan_tci) >= VLAN_N_VID) in mlx4_en_validate_flow()
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_core.h | 791 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | qeth_l3_main.c | 1675 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_add_vlan_mc() 1737 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_add_vlan_mc6() 2104 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_verify_vlan_dev()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be.h | 528 unsigned long vids[BITS_TO_LONGS(VLAN_N_VID)];
|
D | be_main.c | 1261 for_each_set_bit(i, adapter->vids, VLAN_N_VID) in be_vid_config()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
D | via-velocity.h | 1442 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | via-rhine.c | 440 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; 1496 for_each_set_bit(vid, rp->active_vlans, VLAN_N_VID) { in rhine_update_vcam()
|
D | via-velocity.c | 526 for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) { in velocity_init_cam_filter()
|
/linux-4.1.27/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.1.27/drivers/net/bonding/ |
D | bond_main.c | 2249 if (!tags || tags->vlan_proto == VLAN_N_VID) in bond_arp_send() 2255 while (tags->vlan_proto != VLAN_N_VID) { in bond_arp_send() 2302 tags[level].vlan_proto = VLAN_N_VID; in bond_verify_device_path()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
D | qlge.h | 2063 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | qlge_main.c | 2475 for_each_set_bit(vid, qdev->active_vlans, VLAN_N_VID) in qlge_restore_vlan()
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
D | rocker.c | 210 #define ROCKER_VLAN_BITMAP_LEN BITS_TO_LONGS(VLAN_N_VID) 3273 for (vid = 1; vid < VLAN_N_VID; vid++) { in rocker_port_ctrl() 3590 for (vid = 1; vid < VLAN_N_VID; vid++) { in rocker_port_fwding()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic.h | 1159 unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
D | qlcnic_main.c | 4185 for_each_set_bit(vid, adapter->vlans, VLAN_N_VID) { in qlcnic_restore_indev_addr()
|