event/cnxk: add option to control timer adapters
authorShijith Thotton <sthotton@marvell.com>
Tue, 4 May 2021 00:27:25 +0000 (05:57 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 4 May 2021 06:45:52 +0000 (08:45 +0200)
commit8a3d58c189fdc562871461e400d49ca32d92ff3c
treef8453eb0823ceb92a572dc86b67a215c91accf0d
parent9db9330a71b4e51b2835ec611a57dd11447c6708
event/cnxk: add option to control timer adapters

Add devargs to control each event timer adapter i.e. TIM rings internal
parameters uniquely. The following dict format is expected
[ring-chnk_slots-disable_npa-stats_ena]. 0 represents default values.

Example:
--dev "0002:1e:00.0,tim_ring_ctl=[2-1023-1-0]"

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
doc/guides/eventdevs/cnxk.rst
drivers/event/cnxk/cnxk_tim_evdev.c
drivers/event/cnxk/cnxk_tim_evdev.h