MLX5_MPFS_TABLE_MAX
long bitmap[BITS_TO_LONGS(MLX5_MPFS_TABLE_MAX)];
bitmap_zero(dev->mpfs.bitmap, MLX5_MPFS_TABLE_MAX);
num = bitmap_weight(dev->mpfs.bitmap, MLX5_MPFS_TABLE_MAX);
MLX5_MPFS_TABLE_MAX);