eventdev: add event buffer flush in Rx adapter
authorNikhil Rao <nikhil.rao@intel.com>
Sun, 3 Jun 2018 12:42:25 +0000 (18:12 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Jun 2018 22:08:33 +0000 (00:08 +0200)
commit6b83f59355437c0631a64e5ecb9f080c17a8ba24
treec26c177073ce7458a2841ff466614afc5f31e724
parent524dc20023b2e00cd9a021ae60cb4b91f51786e6
eventdev: add event buffer flush in Rx adapter

Add an event buffer flush when the current invocation
of the Rx adapter is completed.

This patch provides lower latency in case there is a
BATCH_SIZE of events in the event buffer.

Cc: stable@dpdk.org
Suggested-by: Narender Vangati <narender.vangati@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c