test/eventdev: fix producer core validity checks
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Sun, 30 Jun 2019 17:52:40 +0000 (23:22 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Jul 2019 04:55:43 +0000 (06:55 +0200)
commit902387ea4ed1e10330bf74dcad5b715ed5118efd
tree130ef726e0d4ae6d29eb583ed55f358c8623b9b2
parentf77f8c9fe7ea2bd36e0bccd4c908c54e1b7f0420
test/eventdev: fix producer core validity checks

When producer type is event timer adapter producer lcore checks are
skipped. Since, timer adapter relies on SW to arm timers producer lcore
is essential for its functionality.
Verify producer lcore validity when producer type is event timer
adapter.

Fixes: b01974da9f25 ("app/eventdev: add ethernet device producer option")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test-eventdev/test_perf_common.c