Skip to content

fix level configuration in compress

Raja Zidane dpdk-dev 1 version Applied

Status from this message: Applied to dpdk-next-crypto

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2compress/mlx5: fix level configuration in compressdrivers/compress/mlx5/mlx5_compress.c+3 -150 replies
2/2compress/mlx5: add block size devargdoc/guides/compressdevs/mlx5.rst doc/guides/rel_notes/release_21_11.rst drivers/compress/mlx5/mlx5_compress.c+74 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatan Azrad
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/2] fix level configuration in compress

The mlx5 compress PMD uses HW acceleration for the compress operations. The mlx5 HW device has no level style mode, which does a tradeoff between throughput and compression ratio, unlike SW drivers where the CPU is doing the compress, and more CPU effort can cause a better compression ratio. The mlx5 driver wrongly defined the Huffman block size configuration according to the level that doesn't fill the level API requirement for the tradeoff.

Remove the effect of the level configuration in compress operation. Add "log-block-size" devarg to select compression block size manually.

Raja Zidane (2):
compress/mlx5: fix level configuration in compress compress/mlx5: add block size devarg

 doc/guides/compressdevs/mlx5.rst       | 10 ++++
 doc/guides/rel_notes/release_21_11.rst |  2 +
 drivers/compress/mlx5/mlx5_compress.c  | 79 +++++++++++++++++++++-----
 3 files changed, 76 insertions(+), 15 deletions(-)
Signature · 1 line
2.17.1