[dpdk-dev] [PATCH V4 0/5] mlx5: replaced hardware queue object

Raja Zidane rzidane at nvidia.com
Tue Sep 28 14:16:45 CEST 2021


The mlx5 PMDs for compress and regex classes use 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.

V2: fix checkpatch errors.
V3: rebase.
V4: compilation error in commit 2/5.

Raja Zidane (5):
  common/mlx5: share DevX QP operations
  common/mlx5: update new MMO HCA capabilities
  common/mlx5: add MMO configuration for the DevX QP
  compress/mlx5: refactor queue HW object
  regex/mlx5: refactor HW queue objects

 drivers/common/mlx5/mlx5_common_devx.c   | 144 +++++++++++++++++++
 drivers/common/mlx5/mlx5_common_devx.h   |  23 +++
 drivers/common/mlx5/mlx5_devx_cmds.c     |  23 ++-
 drivers/common/mlx5/mlx5_devx_cmds.h     |  13 +-
 drivers/common/mlx5/mlx5_prm.h           |  48 ++++++-
 drivers/common/mlx5/version.map          |   3 +
 drivers/compress/mlx5/mlx5_compress.c    |  73 +++++-----
 drivers/crypto/mlx5/mlx5_crypto.c        | 102 ++++----------
 drivers/crypto/mlx5/mlx5_crypto.h        |   5 +-
 drivers/regex/mlx5/mlx5_regex.c          |   7 +-
 drivers/regex/mlx5/mlx5_regex.h          |  16 ++-
 drivers/regex/mlx5/mlx5_regex_control.c  |  65 +++++----
 drivers/regex/mlx5/mlx5_regex_fastpath.c | 170 ++++++++++++-----------
 drivers/vdpa/mlx5/mlx5_vdpa.h            |   5 +-
 drivers/vdpa/mlx5/mlx5_vdpa_event.c      |  59 +++-----
 15 files changed, 461 insertions(+), 295 deletions(-)

-- 
2.17.1



More information about the dev mailing list