event/cnxk: add option for in-flight buffer count
authorShijith Thotton <sthotton@marvell.com>
Tue, 4 May 2021 00:27:00 +0000 (05:57 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 4 May 2021 03:49:19 +0000 (05:49 +0200)
commite656d40fd12fb1acb4c71dc0897cbba5de1e3e76
tree618548799c7b4441609c8da9acdffff0006f104b
parentb85105230d4284f679aa3e555aac29f50ef02bdf
event/cnxk: add option for in-flight buffer count

The number of events for a *open system* event device is specified
as -1 as per the eventdev specification.
Since, 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: Shijith Thotton <sthotton@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
doc/guides/eventdevs/cnxk.rst
drivers/event/cnxk/cn10k_eventdev.c
drivers/event/cnxk/cn9k_eventdev.c
drivers/event/cnxk/cnxk_eventdev.c
drivers/event/cnxk/cnxk_eventdev.h