test/event: check burst mode capability
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Wed, 5 Sep 2018 14:23:31 +0000 (19:53 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Mon, 1 Oct 2018 14:49:24 +0000 (16:49 +0200)
commit6fe63a3d7ccc2e2376182f663251f42add77ec40
treef30485999851f199e3264404cea891b358dfe76f
parent1638261a69b906eb56b871549bf4a64676d82d9f
test/event: check burst mode capability

Enqueue, dequeue depths are only valid for event devs that have burst
mode capability. Check event dev capability before testing depth
boundary.

Fixes: f8f9d233ea0e ("test/eventdev: add unit tests")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
test/test/test_eventdev.c