net/mlx5: fix interrupt completion queue index wrapping
authorXueming Li <xuemingl@mellanox.com>
Thu, 23 Aug 2018 23:10:33 +0000 (07:10 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 10 Sep 2018 11:59:03 +0000 (13:59 +0200)
commit3afdf157fcedba15167ad03b187746bd6c73811f
tree20a5a1d45cb0736199fdcca6a0c4b44982dff56c
parent8fd55a07941a3297208b7820fc8e544431fc5150
net/mlx5: fix interrupt completion queue index wrapping

Rxq cq_ci was 16 bits while hardware is expecting to wrap
around 24 bits, this caused interrupt failure after burst of packets.

Fixes: 43e9d9794cde ("net/mlx5: support upstream rdma-core")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_rxtx.c
drivers/net/mlx5/mlx5_rxtx.h