eventdev: change Rx adapter callback and stats structure
authorNikhil Rao <nikhil.rao@intel.com>
Mon, 24 Jun 2019 23:16:02 +0000 (04:46 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Jul 2019 04:55:39 +0000 (06:55 +0200)
commit68d21669f30c0b4b3309ffc8ca89eb04998d1f0b
tree1f214636eccfb4b058771ef4d9f919e662acbf8c
parentaad967bb3c5605d1fb5d6ea81c0c6157eb3e37a0
eventdev: change Rx adapter callback and stats structure

Replace the mbuf pointer array in the event eth Rx adapter
callback with an event array. Using an event array allows
the application to change attributes of the events enqueued
by the SW adapter.

The callback can drop packets and populate a callback
argument with the number of dropped packets. Add a Rx adapter
stats field to keep track of the total number of dropped packets.

This commit removes the experimental tags from
the callback and stats APIs, the experimental tag from eventdev
is also removed and eventdev functions become part of the
main DPDK API/ABI.

Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
MAINTAINERS
doc/guides/rel_notes/release_19_08.rst
lib/librte_eventdev/Makefile
lib/librte_eventdev/meson.build
lib/librte_eventdev/rte_event_eth_rx_adapter.c
lib/librte_eventdev/rte_event_eth_rx_adapter.h
lib/librte_eventdev/rte_eventdev_version.map