event/octeontx: validate events requested against available
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Tue, 28 Jul 2020 18:22:23 +0000 (23:52 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 15 Oct 2020 19:26:19 +0000 (21:26 +0200)
commit227f283599ebdd53b984161343df40b906a6bc57
tree771810e44ee90a9705cc047b6c091befa68b1c45
parente3eebdced05c471327353a773640fec929cb298b
event/octeontx: validate events requested against available

Validate events configured in ssopf against the total number of
events configured across all the RX/TIM event adapters.

Events available to ssopf can be reconfigured by passing the required
amount to kernel bootargs and are only limited by DRAM size.
Example:
ssopf.max_events= 2097152

Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
doc/guides/eventdevs/octeontx.rst
drivers/event/octeontx/ssovf_evdev.c
drivers/event/octeontx/ssovf_evdev.h
drivers/event/octeontx/timvf_evdev.c
drivers/event/octeontx/timvf_evdev.h