]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Allocate virtually contiguous memory in vport.c
authorTariq Toukan <tariqt@nvidia.com>
Tue, 27 Apr 2021 13:25:56 +0000 (16:25 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:41:45 +0000 (23:41 -0700)
commit773c104d5333aed1c7966e79ee3c75c4c5ac5515
tree9dd8061ffb3703b3bb51ad398c6ce288ca1808db
parent9b45bde82c229fda94618896ff530dcba9d66fe0
net/mlx5: Allocate virtually contiguous memory in vport.c

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/vport.c