DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] fix level configuration in compress
@ 2021-10-26  1:52 Raja Zidane
  2021-10-26  1:52 ` [dpdk-dev] [PATCH 1/2] compress/mlx5: " Raja Zidane
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Raja Zidane @ 2021-10-26  1:52 UTC (permalink / raw)
  To: dev

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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-31 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26  1:52 [dpdk-dev] [PATCH 0/2] fix level configuration in compress Raja Zidane
2021-10-26  1:52 ` [dpdk-dev] [PATCH 1/2] compress/mlx5: " Raja Zidane
2021-10-26  1:52 ` [dpdk-dev] [PATCH 2/2] compress/mlx5: add block size devarg Raja Zidane
2021-10-31 19:49 ` [dpdk-dev] [EXT] [PATCH 0/2] fix level configuration in compress Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).