test/eventdev: link all queues before start
authorHarry van Haaren <harry.van.haaren@intel.com>
Fri, 10 Mar 2017 19:43:17 +0000 (19:43 +0000)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 4 Apr 2017 17:19:51 +0000 (19:19 +0200)
commit1d8db7d087bd2acba8559a930c964be27748b51a
tree85864ae34846b1a176494b22eeba1e66ad95f9c5
parent361e73364578dc5295280ccb4068e6790848d0fa
test/eventdev: link all queues before start

The software eventdev can lock-up if not all queues are
linked to a port. For this reason, the software evendev
fails to start if queues are not linked to anything.

This commit creates dummy links from all queues to port
0 in the eventdev setup function and start/stop test,
which would otherwise fail due to unlinked queues.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
test/test/test_eventdev.c