]> 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)
commitdf74246a59a53a793d57bbf4017646e76b6e987f
tree9dd8061ffb3703b3bb51ad398c6ce288ca1808db
parent6cff30b1e0c44f23ac45e47fe8ca600bc0e324cb
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