event/octeontx: add single producer timer arm variant
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Mon, 9 Apr 2018 21:00:31 +0000 (02:30 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 16 Apr 2018 09:27:15 +0000 (11:27 +0200)
commit7684fcf1f459c3cd446a8924ec95497efaf3876b
treef6c10bb958fc49a05a0ec1440ec0100d2ba73d94
parentb6d814d846779bf96dd244c4b01119823b1ace2c
event/octeontx: add single producer timer arm variant

When application creates the timer adapter by passing
`RTE_EVENT_TIMER_ADAPTER_F_SP_PUT` flag, we can optimize the arm sequence
by removing the locking overhead.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
drivers/event/octeontx/timvf_evdev.c
drivers/event/octeontx/timvf_evdev.h
drivers/event/octeontx/timvf_worker.c
drivers/event/octeontx/timvf_worker.h