eventdev: use new event enqueue in Rx adapter
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Thu, 12 Oct 2017 18:45:53 +0000 (00:15 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 25 Oct 2017 12:03:43 +0000 (14:03 +0200)
commit824e81f433fd10cbc05d93efb0aa5b711a76741b
tree0e6c66b85c862ab09b107958c9d42772da630d91
parent96d9dd74cde0ba14ec99c806ab25ff9b992c58d6
eventdev: use new event enqueue in Rx adapter

When event Rx adapter uses software based packet transfer, event op is
always RTE_EVENT_OP_NEW.
By using rte_event_enqueue_new_burst API the underlying event devices
driver can use it as a hint to optimize enqueue operation if possible.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c