event/opdl: add unit tests
authorLiang Ma <liang.j.ma@intel.com>
Tue, 9 Jan 2018 14:18:55 +0000 (14:18 +0000)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 19 Jan 2018 15:09:56 +0000 (16:09 +0100)
commitd548ef513cd704a3681675e49519e31abace2d70
tree8b35e9b4d00a9f583a435c78b424ea8a1c09d28d
parent8ca5fad56d0f9cb580d8eff809144d9070c3becd
event/opdl: add unit tests

This commit adds unit test inside the OPDL PMD. There is a PMd parameter
"self_test" can be used to triger the test when vdev bus probe opdl device

  e.g.

  sudo ./app/test --vdev="event_opdl0,self_test=1"

Signed-off-by: Liang Ma <liang.j.ma@intel.com>
Signed-off-by: Peter Mccarthy <peter.mccarthy@intel.com>
drivers/event/opdl/Makefile
drivers/event/opdl/opdl_evdev.c
drivers/event/opdl/opdl_evdev.h
drivers/event/opdl/opdl_test.c [new file with mode: 0644]