]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Node-aware allocation for the doorbell pgdir
authorTariq Toukan <tariqt@nvidia.com>
Wed, 30 Dec 2020 09:45:34 +0000 (11:45 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 11 Mar 2022 07:38:22 +0000 (23:38 -0800)
commit53b30ab8ca6d1b907c42727b23da31de06fe37d2
tree641e7e235522164870d4cddef7ba22aff1a8d1a1
parent04ae9a53f508b9dd8141457d88a1bdcee051141f
net/mlx5: Node-aware allocation for the doorbell pgdir

The function is node-aware and gets the node as an argument.
Use a node-aware allocation for the doorbell pgdir structure.

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