net/mlx5: Node-aware allocation for UAR
authorTariq Toukan <tariqt@nvidia.com>
Wed, 30 Dec 2020 09:42:46 +0000 (11:42 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 11 Mar 2022 07:38:22 +0000 (23:38 -0800)
commitb5e4c3079490638dafa59413a51f9aef3df120d9
treef86bdf82d6fb2f06699e7171f88a45dd5664bec4
parent7f880719b953eba8c13b4e2ebe8c1f9d5fd44848
net/mlx5: Node-aware allocation for UAR

Prefer the aware allocation, use the device NUMA node.

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