examples/eventdev: fix run forever with -n option
authorHarry van Haaren <harry.van.haaren@intel.com>
Fri, 4 Aug 2017 15:49:10 +0000 (16:49 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 4 Aug 2017 23:38:01 +0000 (01:38 +0200)
commit0de21567d24e873570a8f1f9f1501cba68bcd1b1
tree4512a7786e33232dd492adca8c9c3bb15e9ddaba
parent5b9b65b14e05c106bb8229c0fe0b347315da7d00
examples/eventdev: fix run forever with -n option

During the refactoring of the sample app to be more generic, the
option to set -n0 and process a huge number of packets was lost.
This commit re-adds -n0, and will process INT64_MAX number of packets.

Fixes: adb5d5486c39 ("examples/eventdev_pipeline_sw_pmd: add sample app")

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
examples/eventdev_pipeline_sw_pmd/main.c