eventdev: remove event copy in Rx adapter
authorNikhil Rao <nikhil.rao@intel.com>
Tue, 21 May 2019 21:52:53 +0000 (03:22 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Jul 2019 04:55:31 +0000 (06:55 +0200)
commit894c373ce59e9f7b52b63d3b660bcc00121f161d
tree3fe81f64f4c291cdcdb2daaf23e0d3f534b275f0
parent19f3f971123429b92fbfaa5175fa29724e94c8c9
eventdev: remove event copy in Rx adapter

Remove copy from temporary event array on the stack to the
enqueue buffer event array entry, instead initialize event in the
enqueue buffer event array entry.

Suggested-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c