event/octeontx2: add devargs for inflight buffer count
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 28 Jun 2019 18:23:18 +0000 (23:53 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Jul 2019 04:55:51 +0000 (06:55 +0200)
commit55e778ca46486deb2389cf9c193f812e775b5249
tree526b2c0c0dc32aec5dd1bebbb426fbec0bab00a6
parent5f96f77bb6d4453727e0f75f5a4d16ffcc7fead5
event/octeontx2: add devargs for inflight buffer count

The number of events for a *open system* event device is specified
as -1 as per the eventdev specification.
Since, Octeontx2 SSO inflight events are only limited by DRAM size, the
xae_cnt devargs parameter is introduced to provide upper limit for
in-flight events.

Example:
--dev "0002:0e:00.0,xae_cnt=8192"

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
doc/guides/eventdevs/octeontx2.rst
drivers/event/octeontx2/Makefile
drivers/event/octeontx2/otx2_evdev.c
drivers/event/octeontx2/otx2_evdev.h