compress/mlx5: refactor HW queue object
authorRaja Zidane <rzidane@nvidia.com>
Tue, 5 Oct 2021 12:27:32 +0000 (12:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 5 Oct 2021 16:15:40 +0000 (18:15 +0200)
commitbab51810b6013179f747411a119cd55bee9b74b3
tree81cab35cdf155ac61e0fdf0332f43055a310923e
parentddda0006188a944a1958ecbf0d15c75138ab5120
compress/mlx5: refactor HW queue object

The mlx5 PMD for compress class uses an MMO WQE operated by the GGA
engine in BF devices.
Currently, all the MMO WQEs are managed by the SQ object.
Starting from BF3, the queue of the MMO WQEs should be connected to the
GGA engine using a new configuration, MMO, that will be supported only
in the QP object.
The FW introduced new capabilities to define whether the MMO
configuration should be configured for the GGA queue.
Replace all the GGA queue objects to QP, set MMO configuration according
to the new FW capabilities.

Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/compress/mlx5/mlx5_compress.c