event/octeontx2: add SSO selftest
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 28 Jun 2019 18:23:36 +0000 (23:53 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Jul 2019 04:56:29 +0000 (06:56 +0200)
commit62561532ac4c57ada0212b7e331bdd78fa410da4
tree82854fc6e8a7fc60ff5fd4fede83f688b1b8fcac
parentde128f732f298ccc3e816be6bc97dac1c00965b9
event/octeontx2: add SSO selftest

Add selftest to verify sanity of SSO.
Can be run by passing devargs to SSO PF as follows:

Example:
--dev "0002:0e:00.0,selftest=1"

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Signed-off-by: Jerin Jacob <jerinj@marvell.com>
app/test/test_eventdev.c
doc/guides/eventdevs/octeontx2.rst
drivers/event/octeontx2/Makefile
drivers/event/octeontx2/meson.build
drivers/event/octeontx2/otx2_evdev.c
drivers/event/octeontx2/otx2_evdev.h
drivers/event/octeontx2/otx2_evdev_selftest.c [new file with mode: 0644]