event/cnxk: add timer stats
authorShijith Thotton <sthotton@marvell.com>
Tue, 4 May 2021 00:27:23 +0000 (05:57 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 4 May 2021 06:31:48 +0000 (08:31 +0200)
commit853623b9e5b17a09b3eb6f819a4755a457dd809a
tree4ee00b6c4c6593edacb75cdef6d1e3dac535988f
parent20dc782a3219f24c208a95e8cde26cbb6d84a7a7
event/cnxk: add timer stats

Add event timer adapter statistics get and reset functions.
Stats are disabled by default and can be enabled through devargs.

Example:
--dev "0002:1e:00.0,tim_stats_ena=1"

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