]> 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)
commitb44e75fd1d54880523474d09c1540736fe19b50d
tree553e0e6ff1846cbdf40876072cce0265b8cecb7a
parentd31759cb2e7b3ab87c4eb5da9bd8eb47e6eb3c82
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