net/mlx5: rearrange creation of WQ and CQ object
authorMichael Baum <michaelba@nvidia.com>
Thu, 3 Sep 2020 10:13:40 +0000 (10:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:08 +0000 (18:55 +0200)
commit675911d0330b0802e845657c3f4edc5886cf8685
tree454779a62bb0c1527a6e2e63ed0bfa9551f6fb78
parentf6dee900589f55fc147a5cc4baf1adb52e7dc4da
net/mlx5: rearrange creation of WQ and CQ object

Rearrangement of WQ and CQ creation for Verbs Rx queue:
1. Rename the allocation function.
2. Reduce the number of arguments that the creation functions receive.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/linux/mlx5_verbs.c
drivers/net/mlx5/mlx5_devx.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h