OSDN Git Service

net/mlx5: Allocate virtually contiguous memory in pci_irq.c
authorTariq Toukan <tariqt@nvidia.com>
Tue, 27 Apr 2021 14:23:16 +0000 (17:23 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:41:45 +0000 (23:41 -0700)
commit88468311c07a8bb34321166341f93981f7337a7d
treef974650d68f74cc9059e5812001597e13e092a96
parent773c104d5333aed1c7966e79ee3c75c4c5ac5515
net/mlx5: Allocate virtually contiguous memory in pci_irq.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/pci_irq.c