event/octeontx: add selftest to device arguments
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Thu, 11 Jan 2018 10:21:51 +0000 (15:51 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 19 Jan 2018 15:09:56 +0000 (16:09 +0100)
commit3516327e00fd65447acb484689e578d169c5cb14
treeb14ce1133fa7628983b3fad5d15614e2c7bc2b0e
parentc54b7866029b38099c4dde7d2f85a87d6df9a4eb
event/octeontx: add selftest to device arguments

Add selftest as a device argument that can be enabled by suppling
'self_test=1' as a vdev parameter

--vdev="event_octeontx,self_test=1"

The selftest is run after vdev creation is successfully
complete.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
doc/guides/eventdevs/octeontx.rst
drivers/event/octeontx/ssovf_evdev.c
drivers/event/octeontx/ssovf_evdev.h