numam-dpdk/app/test-regex
Raslan Darawsheh a442ca2d23 app/regex: fix mbuf size for multi-segment buffer
When allocating multi segmented buffers, and in case there is
a remainder in total buf len, the actual job len might be more
than expected job_len.

This adds additional space in the mbuf in the multi seg case,
to allow the remaining memory to be stored in one segment.

Fixes: c1d1b94eec ("app/regex: fix number of matches")
Cc: stable@dpdk.org

Signed-off-by: Raslan Darawsheh <rasland@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
2022-07-05 22:19:03 +02:00
..
main.c app/regex: fix mbuf size for multi-segment buffer 2022-07-05 22:19:03 +02:00
meson.build devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00