net/mlx5: separate Rx queue initialization
authorMatan Azrad <matan@mellanox.com>
Thu, 30 May 2019 10:20:35 +0000 (10:20 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 15:01:06 +0000 (00:01 +0900)
commit6bb506cc2c2d877a10275c223e94e8cf99d24872
treec6df2f6f3b9abc8d07cd8e0ec1189568a10e6718
parent6cfb15300607fd74669cb66f77f418755b80c86f
net/mlx5: separate Rx queue initialization

Move the RQ WQEs initialization code to separate function as an
arrangement to CQE error recovering for code reuse.

CC: stable@dpdk.org
Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.c