]> git.droids-corp.org - dpdk.git/commit
app/compress-perf: optimize operations pool allocation
authorRaja Zidane <rzidane@nvidia.com>
Wed, 23 Feb 2022 13:33:07 +0000 (15:33 +0200)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 4 Mar 2022 09:28:21 +0000 (10:28 +0100)
commit68d3287f4ef43318728e4a134b7aa33d5c52b12d
tree60a5b7f6700e4023b28c7d52753f14ae2f33490f
parent81353ea4dc2a57d8c4378fda6e3e0e6b6db6cd21
app/compress-perf: optimize operations pool allocation

An array of the size of total operations needed for the de/compression is
reserved for ops while enqueueing, although only first burst_size entries
of the array are used.

Reduce the size of the array allocated.

Fixes: b68a82425da4 ("app/compress-perf: add performance measurement")
Cc: stable@dpdk.org
Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
app/test-compress-perf/comp_perf_test_cyclecount.c