| /linux/net/8021q/ |
| A D | vlan.h | 14 #define VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS) 120 for ((i) = 0; i < VLAN_PROTO_NUM * VLAN_N_VID; i++) \ 121 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \ 122 (i) % VLAN_N_VID)))
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| A D | fm10k_netdev.c | 759 bool set = !!(vid / VLAN_N_VID); in fm10k_uc_vlan_unsync() 763 vid &= VLAN_N_VID - 1; in fm10k_uc_vlan_unsync() 779 bool set = !!(vid / VLAN_N_VID); in fm10k_mc_vlan_unsync() 783 vid &= VLAN_N_VID - 1; in fm10k_mc_vlan_unsync() 806 if (vid >= VLAN_N_VID) in fm10k_update_vid() 926 prev_vid < VLAN_N_VID; in fm10k_clear_unused_vlans() 948 vid < VLAN_N_VID; in __fm10k_uc_sync() 1013 vid < VLAN_N_VID; in __fm10k_mc_sync() 1115 vid < VLAN_N_VID; in fm10k_restore_rx_state() 1434 vid < VLAN_N_VID; in fm10k_dfwd_add_station() [all …]
|
| /linux/drivers/net/dsa/hirschmann/ |
| A D | hellcreek.c | 340 return VLAN_N_VID - port + 1; in hellcreek_private_vid() 1110 for (i = 0; i < VLAN_N_VID; ++i) in hellcreek_devlink_vlan_table_get() 1140 devlink_resource_size_params_init(&size_vlan_params, VLAN_N_VID, in hellcreek_setup_devlink_resources() 1141 VLAN_N_VID, in hellcreek_setup_devlink_resources() 1149 err = dsa_devlink_resource_register(ds, "VLAN", VLAN_N_VID, in hellcreek_setup_devlink_resources() 1191 table = kcalloc(VLAN_N_VID, sizeof(*entry), GFP_KERNEL); in hellcreek_devlink_region_vlan_snapshot() 1198 for (i = 0; i < VLAN_N_VID; ++i, ++entry) { in hellcreek_devlink_region_vlan_snapshot() 1267 size = VLAN_N_VID * sizeof(struct hellcreek_devlink_vlan_entry); in hellcreek_setup_devlink_regions() 1793 hellcreek->vidmbrcfg = devm_kcalloc(dev, VLAN_N_VID, in hellcreek_probe() 1820 BITS_TO_LONGS(VLAN_N_VID), in hellcreek_probe()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_fs.c | 114 DECLARE_BITMAP(active_cvlans, VLAN_N_VID); 115 DECLARE_BITMAP(active_svlans, VLAN_N_VID); 116 struct mlx5_flow_handle *active_cvlans_rule[VLAN_N_VID]; 117 struct mlx5_flow_handle *active_svlans_rule[VLAN_N_VID]; 146 for_each_set_bit(vlan, priv->fs.vlan->active_cvlans, VLAN_N_VID) in mlx5e_vport_context_update_vlans() 163 for_each_set_bit(vlan, priv->fs.vlan->active_cvlans, VLAN_N_VID) { in mlx5e_vport_context_update_vlans() 500 for_each_set_bit(i, priv->fs.vlan->active_cvlans, VLAN_N_VID) { in mlx5e_add_vlan_rules() 504 for_each_set_bit(i, priv->fs.vlan->active_svlans, VLAN_N_VID) in mlx5e_add_vlan_rules() 517 for_each_set_bit(i, priv->fs.vlan->active_cvlans, VLAN_N_VID) { in mlx5e_del_vlan_rules() 521 for_each_set_bit(i, priv->fs.vlan->active_svlans, VLAN_N_VID) in mlx5e_del_vlan_rules()
|
| /linux/include/linux/dsa/ |
| A D | mv88e6xxx.h | 11 #define MV88E6XXX_VID_BRIDGED (VLAN_N_VID - 1)
|
| A D | loop.h | 36 struct dsa_loop_vlan vlans[VLAN_N_VID];
|
| A D | sja1105.h | 19 #define SJA1105_DEFAULT_VLAN (VLAN_N_VID - 1)
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_fid.c | 503 return fid->fid_index - VLAN_N_VID; in mlxsw_sp_fid_8021d_flood_index() 696 .start_index = VLAN_N_VID, 697 .end_index = VLAN_N_VID + MLXSW_SP_FID_8021D_MAX - 1, 737 #define MLXSW_SP_FID_8021Q_EMU_START (VLAN_N_VID + MLXSW_SP_FID_8021D_MAX) 875 .start_index = VLAN_N_VID - 1, 876 .end_index = VLAN_N_VID - 1,
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| A D | enetc_pf.h | 45 DECLARE_BITMAP(active_vlans, VLAN_N_VID);
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| A D | hinic_main.c | 65 #define VLAN_BITMAP_SIZE(nic_dev) (ALIGN(VLAN_N_VID, 8) / 8) 642 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in change_mac_addr() 643 } while (vid != VLAN_N_VID); in change_mac_addr() 689 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in add_mac_addr() 690 } while (vid != VLAN_N_VID); in add_mac_addr() 725 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in remove_mac_addr() 726 } while (vid != VLAN_N_VID); in remove_mac_addr()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| A D | aq_filters.c | 382 VLAN_N_VID, in aq_fvlan_rebuild() 384 if (vlan == VLAN_N_VID) { in aq_fvlan_rebuild() 397 } while (vlan_busy && vlan != VLAN_N_VID); in aq_fvlan_rebuild() 840 for (i = 0; i < BITS_TO_LONGS(VLAN_N_VID); i++) in aq_filters_vlans_update()
|
| A D | aq_nic.h | 148 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/net/ethernet/intel/ixgb/ |
| A D | ixgb.h | 113 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/infiniband/hw/hns/ |
| A D | hns_roce_ah.c | 89 ah->av.vlan_en = ah->av.vlan_id < VLAN_N_VID; in hns_roce_create_ah()
|
| /linux/net/bridge/netfilter/ |
| A D | ebt_vlan.c | 114 if (info->id > VLAN_N_VID) { in ebt_vlan_mt_check()
|
| /linux/drivers/net/dsa/xrs700x/ |
| A D | xrs700x_mdio.c | 101 .max_register = XRS_VLAN(VLAN_N_VID - 1),
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | test_xdp_vlan.c | 43 #define VLAN_N_VID 4096 macro
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| A D | igbvf.h | 164 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_vlan.c | 35 for (vid = NULL_VID; vid < VLAN_N_VID; vid++) in sparx5_vlan_init()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| A D | hclgevf_main.h | 318 unsigned long vlan_del_fail_bmap[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| A D | e1000.h | 205 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| A D | bnad.h | 286 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/net/ethernet/neterion/vxge/ |
| A D | vxge-main.h | 336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/net/vmxnet3/ |
| A D | vmxnet3_int.h | 343 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| A D | stmmac.h | 271 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|