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

Move the creation of the send queue and the completion queue resources
from the mlx5_txq_obj_devx_new function into auxiliary functions.

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