Home
last modified time | relevance | path

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

123

/Linux-v4.19/net/8021q/
Dvlan.h14 #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/
Dfs.h38 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/
Dfm10k_netdev.c873 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 …]
Dfm10k.h295 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c64 #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()
Dhinic_port.c58 if (vlan_id >= VLAN_N_VID) { in change_mac()
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/
Dixgb.h114 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/net/bridge/netfilter/
Debt_vlan.c126 if (info->id > VLAN_N_VID) { in ebt_vlan_mt_check()
/Linux-v4.19/drivers/net/ethernet/intel/igbvf/
Digbvf.h164 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c121 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/
Dice.h164 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/intel/e1000/
De1000.h206 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad.h296 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/vmxnet3/
Dvmxnet3_int.h333 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-main.h336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h280 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/
Dclip_tbl.c238 for (i = 0; i < VLAN_N_VID; i++) { in cxgb4_update_root_dev_clip()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf.h55 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h320 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c570 .start_index = VLAN_N_VID,
571 .end_index = VLAN_N_VID + MLXSW_SP_FID_8021D_MAX - 1,
/Linux-v4.19/include/linux/
Dif_vlan.h71 #define VLAN_N_VID 4096 macro
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h543 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot.h499 u32 vlan_mask[VLAN_N_VID];
/Linux-v4.19/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h613 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
De1000.h198 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];

123