]> git.droids-corp.org - dpdk.git/commit
app/regex: fix number of matches
authorGerry Gribbon <ggribbon@nvidia.com>
Wed, 9 Mar 2022 23:41:52 +0000 (23:41 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 Mar 2022 11:15:29 +0000 (12:15 +0100)
commitc1d1b94eec5855b3934791a10125e9db5f15298a
treea1c200cdc00479ccd527c894b819b7108437b10c
parent63f39a430a0a7a8b893ffbf88cd452dbc7b97c97
app/regex: fix number of matches

Depending on number of jobs specified on command line, part of the
data buffer may not get searched, resulting in incorrect number of
matches being reported.

Additional change to ensure the "All Matches" summary outputs the
correct match start locations in the supplied data buffer.

Fixes: de06137cb295 ("app/regex: add RegEx test application")
Cc: stable@dpdk.org
Signed-off-by: Gerry Gribbon <ggribbon@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
app/test-regex/main.c