event/octeontx2: add init and fini for SSO object
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 28 Jun 2019 18:23:13 +0000 (23:53 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Jul 2019 04:55:46 +0000 (06:55 +0200)
commit9b795ef7c634719452b50d2916c559cc53991494
tree76e98b4fc0236bb4165670f7cfc9948d6e6661f9
parent3ef6bbfeadb89191dda296c07afb35c7c971dd07
event/octeontx2: add init and fini for SSO object

SSO object needs to be initialized to communicate with the kernel AF
driver through mbox using the common API's.
Also, initialize the internal eventdev structure to defaults.
Attach NPA lf to the PF if needed.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/event/octeontx2/Makefile
drivers/event/octeontx2/meson.build
drivers/event/octeontx2/otx2_evdev.c
drivers/event/octeontx2/otx2_evdev.h