net/mlx5: add function for Rx verbs completion queue
authorDekel Peled <dekelp@mellanox.com>
Mon, 22 Jul 2019 14:52:16 +0000 (14:52 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
commit8bbad00a91699f41fee91853274642df51e7afe0
treef1c96b76adf23ab861f5e0a9880ed9a266be31a1
parentb9d86122bf3bb8c3ea46c2aa46fac333d9503e69
net/mlx5: add function for Rx verbs completion queue

Verbs CQ for RxQ is created inside function mlx5_rxq_obj_new().
This patch moves the creation of CQ to dedicated function
mlx5_ibv_cq_new().

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c