net/mlx5: reorder Tx queue Verbs object creation
authorMichael Baum <michaelba@nvidia.com>
Thu, 1 Oct 2020 14:09:16 +0000 (14:09 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 9 Oct 2020 11:17:42 +0000 (13:17 +0200)
commit31d92b5892bf15c190686a573ce7df568150d1c7
treee372c5e48a85c5f3b784ddbf1cedd562bceda666
parent3d3cfe67e64ccaf75b68d8e242025bbb54cb40f3
net/mlx5: reorder Tx queue Verbs object creation

Move the creation of the completion queue from the mlx5_txq_obj_new
function into an auxiliary function.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_txq.c