Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmpfs.c99 int l2table_size = 1 << MLX5_CAP_GEN(dev, log_max_l2_table); in mlx5_mpfs_init() local
102 if (!MLX5_ESWITCH_MANAGER(dev) || l2table_size == 1) in mlx5_mpfs_init()
110 mpfs->size = l2table_size; in mlx5_mpfs_init()
111 mpfs->bitmap = bitmap_zalloc(l2table_size, GFP_KERNEL); in mlx5_mpfs_init()