net/mlx5e: Allocate virtually contiguous memory for VLANs list
authorTariq Toukan <tariqt@nvidia.com>
Tue, 27 Apr 2021 13:11:12 +0000 (16:11 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:41:46 +0000 (23:41 -0700)
commit035e0dd573929306994a1856061e95998699cd69
treece5d1ff0987e3fc9ffb978cfed26d50dd9300ba4
parent88468311c07a8bb34321166341f93981f7337a7d
net/mlx5e: Allocate virtually contiguous memory for VLANs list

Physical continuity is not necessary, and requested allocation size might
be larger than PAGE_SIZE.
Hence, use v-alloc/free API.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c