net/mlx5: fix miniCQE configuration for Verbs
authorAlexander Kozyrev <akozyrev@nvidia.com>
Mon, 1 Feb 2021 17:16:30 +0000 (17:16 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Feb 2021 17:19:36 +0000 (18:19 +0100)
commitfdc44cdc7866ecc601460941780aa53d57010dbc
treec5f156cc2da29e54a6406d7011393b593c4d98b7
parent3d3f4e6d1aaaec77016a8b406371f1b491ae9044
net/mlx5: fix miniCQE configuration for Verbs

Verbs cannot be used to configure newly introduced miniCQE formats for
Flow Tag and L3/L4 Header compression. Support for these formats has
been added to the DevX configuration only. And the RX queue descriptor
has been updated with the CQE compression format information only as
well. But the datapath relies on this info no matter which method is
used for Rx queues configuration. Set proper CQE compression format
information in the Verbs configuration to fix the miniCQE parsing logic.

Fixes: 54c2d46b160f ("net/mlx5: support flow tag and packet header miniCQEs")
Cc: stable@dpdk.org
Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/linux/mlx5_verbs.c
drivers/net/mlx5/mlx5_rxtx.h