numam-dpdk/lib/librte_eventdev
Nikhil Rao 339677f870 eventdev: fix Rx adapter event flush
The Rx adapter flushes events only if it has BATCH_SIZE
events buffered where BATCH_SIZE is set to 32, e.g., if a
single packet is sent, it is never passed to
eventdev. Fix this issue by adding an event buffer flush
either when a Rx queue is found to be empty or the adapter service
function has processed the max number of packets for an invocation.

Bugzilla ID: 277
Fixes: 6b83f59355 ("eventdev: add event buffer flush in Rx adapter")
Cc: stable@dpdk.org

Reported-by: Matias Elo <matias.elo@nokia.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Tested-by: Matias Elo <matias.elo@nokia.com>
2019-05-13 16:14:08 +02:00
..
Makefile build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
rte_event_crypto_adapter.c eventdev: fix crypto adapter 2019-05-01 23:08:34 +02:00
rte_event_crypto_adapter.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
rte_event_eth_rx_adapter.c eventdev: fix Rx adapter event flush 2019-05-13 16:14:08 +02:00
rte_event_eth_rx_adapter.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
rte_event_eth_tx_adapter.c eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +02:00
rte_event_eth_tx_adapter.h eventdev: update references to removed function 2019-05-04 23:19:08 +02:00
rte_event_ring.c event: fix ring init failure handling 2018-08-05 14:52:19 +02:00
rte_event_ring.h eventdev: fix MP/MC tail updates in event ring 2018-04-16 10:10:27 +02:00
rte_event_timer_adapter_pmd.h eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_event_timer_adapter.c eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +02:00
rte_event_timer_adapter.h eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +02:00
rte_eventdev_pmd_pci.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd_vdev.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
rte_eventdev_version.map eventdev: add experimental tag back for Rx adapter 2019-05-01 23:24:49 +02:00
rte_eventdev.c eventdev: promote adapter functions as stable 2019-04-22 13:20:33 +02:00
rte_eventdev.h eventdev: update references to removed function 2019-05-04 23:19:08 +02:00