]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Allow creating mpwqe info without channel
authorAya Levin <ayal@nvidia.com>
Mon, 8 Feb 2021 14:00:36 +0000 (16:00 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 26 Mar 2021 02:49:56 +0000 (19:49 -0700)
commit1eb81c6156b3008239467d3994c9a338b12681a6
tree9bc044b6e806b8bfcf43d0580540c363c903d66d
parentc13ad00858d55b2bfbee00f506ca41dd83feb9cc
net/mlx5e: Allow creating mpwqe info without channel

Change the signature of mlx5e_rq_alloc_mpwqe_info from receiving channel
pointer to receive the NUMA node. This allows creating mpwqe_info in
context of different channels types.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c