Hello,
I’m trying to use the File Scan example with a specific number of matches.
Specifically, I would like to stop the matching process at the first match.
I have tried to use
regex_cfg.nb_max_matches = 1;
rte_regexdev_configure(app_cfg->device_id, ®ex_cfg);
but the rte_regexdev_dequeue_burst()
still returns a > 1 number of matches.
Is there a way to stop the matching process when a match occurs without going further?
Thanks,
FIlippo