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)
commit597c112326197786abcc3a38090b08856bf860af
tree553e0e6ff1846cbdf40876072cce0265b8cecb7a
parent035e0dd573929306994a1856061e95998699cd69
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