/Linux-v4.19/net/8021q/ |
D | vlan.h | 14 #define VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS) 96 for ((i) = 0; i < VLAN_PROTO_NUM * VLAN_N_VID; i++) \ 97 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \ 98 (i) % VLAN_N_VID)))
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | fs.h | 38 DECLARE_BITMAP(active_cvlans, VLAN_N_VID); 39 DECLARE_BITMAP(active_svlans, VLAN_N_VID); 40 struct mlx5_flow_handle *active_cvlans_rule[VLAN_N_VID]; 41 struct mlx5_flow_handle *active_svlans_rule[VLAN_N_VID];
|
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 873 bool set = !!(vid / VLAN_N_VID); in fm10k_uc_vlan_unsync() 877 vid &= VLAN_N_VID - 1; in fm10k_uc_vlan_unsync() 893 bool set = !!(vid / VLAN_N_VID); in fm10k_mc_vlan_unsync() 897 vid &= VLAN_N_VID - 1; in fm10k_mc_vlan_unsync() 920 if (vid >= VLAN_N_VID) in fm10k_update_vid() 939 u16 rx_vid = rx_ring->vid & (VLAN_N_VID - 1); in fm10k_update_vid() 997 interface->vid = vid + (set ? VLAN_N_VID : 0); in fm10k_update_vid() 1027 u16 vid_limit = vid < default_vid ? default_vid : VLAN_N_VID; in fm10k_find_next_vlan() 1040 prev_vid < VLAN_N_VID; in fm10k_clear_unused_vlans() 1062 vid < VLAN_N_VID; in __fm10k_uc_sync() [all …]
|
D | fm10k.h | 295 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 64 #define VLAN_BITMAP_SIZE(nic_dev) (ALIGN(VLAN_N_VID, 8) / 8) 568 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in change_mac_addr() 569 } while (vid != VLAN_N_VID); in change_mac_addr() 618 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in add_mac_addr() 619 } while (vid != VLAN_N_VID); in add_mac_addr() 654 vid = find_next_bit(nic_dev->vlan_bitmap, VLAN_N_VID, vid + 1); in remove_mac_addr() 655 } while (vid != VLAN_N_VID); in remove_mac_addr()
|
D | hinic_port.c | 58 if (vlan_id >= VLAN_N_VID) { in change_mac()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/ |
D | ixgb.h | 114 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebt_vlan.c | 126 if (info->id > VLAN_N_VID) { in ebt_vlan_mt_check()
|
/Linux-v4.19/drivers/net/ethernet/intel/igbvf/ |
D | igbvf.h | 164 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 121 for_each_set_bit(vlan, priv->fs.vlan.active_cvlans, VLAN_N_VID) in mlx5e_vport_context_update_vlans() 138 for_each_set_bit(vlan, priv->fs.vlan.active_cvlans, VLAN_N_VID) { in mlx5e_vport_context_update_vlans() 393 for_each_set_bit(i, priv->fs.vlan.active_cvlans, VLAN_N_VID) { in mlx5e_add_vlan_rules() 397 for_each_set_bit(i, priv->fs.vlan.active_svlans, VLAN_N_VID) in mlx5e_add_vlan_rules() 411 for_each_set_bit(i, priv->fs.vlan.active_cvlans, VLAN_N_VID) { in mlx5e_del_vlan_rules() 415 for_each_set_bit(i, priv->fs.vlan.active_svlans, VLAN_N_VID) in mlx5e_del_vlan_rules()
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice.h | 164 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 206 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 296 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/vmxnet3/ |
D | vmxnet3_int.h | 333 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.h | 336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 280 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; 551 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | clip_tbl.c | 238 for (i = 0; i < VLAN_N_VID; i++) { in cxgb4_update_root_dev_clip()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40evf.h | 55 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 320 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_fid.c | 570 .start_index = VLAN_N_VID, 571 .end_index = VLAN_N_VID + MLXSW_SP_FID_8021D_MAX - 1,
|
/Linux-v4.19/include/linux/ |
D | if_vlan.h | 71 #define VLAN_N_VID 4096 macro
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 543 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/mscc/ |
D | ocelot.h | 499 u32 vlan_mask[VLAN_N_VID];
|
/Linux-v4.19/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 613 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 198 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|