Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/net/bridge/
Dbr_vlan.c104 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()
Dbr_netlink.c42 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()
Dbr_fdb.c229 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()
Dbr_private.h30 #define BR_VLAN_BITMAP_LEN BITS_TO_LONGS(VLAN_N_VID)
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c721 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 …]
Dfm10k.h242 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.1.27/net/bridge/netfilter/
Debt_vlan.c123 if (info->id > VLAN_N_VID) { in ebt_vlan_mt_check()
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/igbvf/
Digbvf.h185 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dnetdev.c1273 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igbvf_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
De1000.h229 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
De1000_main.c4879 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/
Di40evf.h60 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_int.h319 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dvmxnet3_drv.c1969 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in vmxnet3_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h230 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
601 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dixgbe_main.c3906 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbe_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad.h295 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dbnad.c2392 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { in bnad_restore_vlans()
/linux-4.1.27/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.1.27/include/linux/
Dif_vlan.h71 #define VLAN_N_VID 4096 macro
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h378 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dixgbevf_main.c1847 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbevf_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c228 for (i = 0; i < VLAN_N_VID; i++) { in cxgb4_update_root_dev_clip()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb.h353 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Digb_main.c7291 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igb_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe.h755 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dxgbe-dev.c1057 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/
De1000.h217 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dnetdev.c2867 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/ti/
Dnetcp_ethss.c691 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/
Di40e.h439 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Di40e_main.c2229 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/
Dmlx4_en.h499 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Den_ethtool.c1273 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/
Dqeth_core.h791 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dqeth_l3_main.c1675 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/
Dbe.h528 unsigned long vids[BITS_TO_LONGS(VLAN_N_VID)];
Dbe_main.c1261 for_each_set_bit(i, adapter->vids, VLAN_N_VID) in be_vid_config()
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-velocity.h1442 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dvia-rhine.c440 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()
Dvia-velocity.c526 for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) { in velocity_init_cam_filter()
/linux-4.1.27/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.1.27/drivers/net/bonding/
Dbond_main.c2249 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/
Dqlge.h2063 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dqlge_main.c2475 for_each_set_bit(vid, qdev->active_vlans, VLAN_N_VID) in qlge_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c210 #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/
Dqlcnic.h1159 unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dqlcnic_main.c4185 for_each_set_bit(vid, adapter->vlans, VLAN_N_VID) { in qlcnic_restore_indev_addr()