common/mlx5: add MMO configuration for DevX queue pair
authorRaja Zidane <rzidane@nvidia.com>
Tue, 5 Oct 2021 12:27:31 +0000 (12:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 5 Oct 2021 16:15:40 +0000 (18:15 +0200)
commitddda0006188a944a1958ecbf0d15c75138ab5120
tree9d79939a437568bf39d1eb20a9f8443c50e57888
parentcbc4c13a255e3217f70357a9da82a3a6e14574a6
common/mlx5: add MMO configuration for DevX queue pair

A new configuration MMO was added to QP Context.
If set, MMO WQEs are supported on this QP.
For DMA MMO, supported only when dma_mmo_qp==1.
For REGEXP MMO, supported only when regexp_mmo_qp==1.
For COMPRESS MMO, supported only when compress_mmo_qp==1.
For DECOMPRESS MMO, supported only when decompress_mmo_qp==1.
Add support to DevX interface to set MMO bit.

Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h