mbox

[0/3] periodic mode for event timer adapter

Message ID 20210308204543.2903723-1-sthotton@marvell.com (mailing list archive)
Headers

Message

Shijith Thotton March 8, 2021, 8:45 p.m. UTC
Arming periodic timers are not supported by the event timer adapter
right now. This series adds that support. A timer adapter configured in
periodic mode can be used to arm periodic timers. 

First patch adds a flag to expose periodic mode capability of an adapter
and flag to configure the adapter in periodic mode. Second one adds unit
tests for periodic mode. Third one is a hardware implementation of the
feature.

Shijith Thotton (3):
  eventdev: introduce adapter flags for periodic mode
  test/event: add unit tests for periodic timer
  event/octeontx2: add timer periodic mode support

 app/test/test_event_timer_adapter.c           | 136 ++++++++++++++++--
 doc/guides/prog_guide/event_timer_adapter.rst |  33 +++++
 drivers/event/octeontx2/otx2_tim_evdev.c      |  29 +++-
 drivers/event/octeontx2/otx2_tim_evdev.h      |   1 +
 lib/librte_eventdev/rte_event_timer_adapter.h |   6 +
 lib/librte_eventdev/rte_eventdev.h            |   3 +
 6 files changed, 190 insertions(+), 18 deletions(-)