]> 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)
commitf4a65fe645f6c5ea863c55169e7fa7daf54167bd
tree9dd8061ffb3703b3bb51ad398c6ce288ca1808db
parentb1b6a34b113474c7405f390b7747aa04be785017
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