]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Allocate virtually contiguous memory for reps structures
authorTariq Toukan <tariqt@nvidia.com>
Tue, 27 Apr 2021 13:41:42 +0000 (16:41 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:41:46 +0000 (23:41 -0700)
commit97eabbdb92e819d626f56c2c14d66fbf7446b786
tree553e0e6ff1846cbdf40876072cce0265b8cecb7a
parentf9e0f85803428e8f68b79e501aa1ef0b2f59233e
net/mlx5e: Allocate virtually contiguous memory for reps structures

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_rep.c