OSDN Git Service

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)
commitea886000a8acc4744bdbacd6f01e1a67b52da04f
tree9bc044b6e806b8bfcf43d0580540c363c903d66d
parent895649201845508895be99b82f9c2b9282019516
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