eventdev: introduce specialized enqueue forward op variant
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Thu, 29 Jun 2017 14:19:54 +0000 (19:49 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 7 Jul 2017 07:28:44 +0000 (09:28 +0200)
commit5eea2d1076e6121a1decc5ed455701e4e2c3f850
tree76b04b383d55ce87597726ab6676f5557633d691
parent65293784977f47ccdf5d8813a3e599068d8dae52
eventdev: introduce specialized enqueue forward op variant

Introducing the rte_event_enqueue_new_burst() for enabling the
PMD, an optimization opportunity to optimize if all the events in
the enqueue burst has the op type of RTE_EVENT_OP_FORWARD.

If a PMD does not have any optimization opportunity
for this operation then the PMD can choose the generic enqueue
burst PMD callback as the fallback.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Gage Eads <gage.eads@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
drivers/event/dpaa2/dpaa2_eventdev.c
drivers/event/octeontx/ssovf_evdev.c
drivers/event/sw/sw_evdev.c
lib/librte_eventdev/rte_eventdev.h