]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1da49cffe772e440fcb025fb8b64abdf4123bbf
treef974650d68f74cc9059e5812001597e13e092a96
parentdf74246a59a53a793d57bbf4017646e76b6e987f
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