Does the hardware compression engine on Bluefield2 support LZ4 algorithms?

Hi,

I am using dpdk-test-compress-perf tool to test the compression engine on Bluefield2. The DPDK version is 22.11.1.4.2 and I directly use the dpdk-test-compress-perf tool under /opt/mellanox/dpdk/bin in the SmartNIC. When I use deflate as the compression algorithm, everything works well. However, when I changed the algorithm to lz4 using the following command, it seems that compression engine on Bluefield2 does not support lz4 compression.

sudo ./dpdk-test-compress-perf -l0-1 -n 1 -a 03:00.0,class=compress -- --driver-name mlx5 --algo lz4 --operation comp --num-iter 10 --input-file file.txt

EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probe PCI driver: mlx5_pci (15b3:a2d6) device: 0000:03:00.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
USER1: Compress device does not support 4 algorithm

In DOCA documentation Compress Programming Guide - NVIDIA Docs, it says " The second one is struct doca_compress_lz4_job for operations that use the LZ4 algorithm". I am not sure whether it means that compression engine on Bluefield2 actually supports LZ4 algorithm. Could anyone confirm that and provide any suggestions? Thanks!

LZ4 only support on BF3.

For BF2 only support deflate algorithm.

Hi @xiaofengl,

Thanks the confirmation.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.