> -----Original Message----- > From: Nikhil Rao <nikhil....@intel.com> > Sent: Tuesday, June 25, 2019 4:46 AM > To: Jerin Jacob Kollanukkaran <jer...@marvell.com> > Cc: nikhil....@intel.com; dev@dpdk.org > Subject: [EXT] [PATCH v3] eventdev: change Rx adapter callback and stats > structure > > External Email > > ---------------------------------------------------------------------- > 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....@intel.com> > --- > lib/librte_eventdev/rte_event_eth_rx_adapter.h | 82 +++++++++++++----- > -------- lib/librte_eventdev/rte_event_eth_rx_adapter.c | 34 ++++++----- > MAINTAINERS | 2 +- > doc/guides/rel_notes/release_19_08.rst | 20 ++++++- > lib/librte_eventdev/Makefile | 2 +- > lib/librte_eventdev/meson.build | 2 +- > lib/librte_eventdev/rte_eventdev_version.map | 4 +- > 7 files changed, 83 insertions(+), 63 deletions(-) > > v1: > * add implementation to RFC > > v2: > * Bump library version > * Combine patch 1 & 2 into a single patch (single library version bump) > * Mention API change in release notes > * Remove __rte_experimental tag > * Remove EXPERIMENTAL status for eventdev > > v3: > * Update version = 7 in lib/librte_eventdev/meson.build > * Update the "git comment and release notes" to mention the removal of > experimental status > * Reduce rte_event_eth_rx_adapter.c line count Acked-by: Jerin Jacob <jer...@marvell.com> Applied to dpdk-next-eventdev/master. Thanks.