]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd31759cb2e7b3ab87c4eb5da9bd8eb47e6eb3c82
treece5d1ff0987e3fc9ffb978cfed26d50dd9300ba4
parentd73591060ed8408cc9543dfd48040c3c4c84b037
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