net/mlx5: fix creation of compressed Rx completion queue
authorYongseok Koh <yskoh@mellanox.com>
Fri, 13 Oct 2017 20:00:19 +0000 (13:00 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 20:13:13 +0000 (22:13 +0200)
commit8fa9c312e1b22b2a21a0d4b20a79dbad0af3b79b
tree7d117ccb004689da26eef7600e03bf2808624309
parent86fe881c03cf1aa3e93c5e6534b9974f7350f823
net/mlx5: fix creation of compressed Rx completion queue

The size of Rx completion queue should be doubled if compression is enabled
in case of non-vectorized Rx.

Fixes: 523f5a742102 ("net/mlx5: fix configuration of Rx CQE compression")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxq.c