68d21669f3
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>
30 lines
745 B
Meson
30 lines
745 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
version = 7
|
|
allow_experimental_apis = true
|
|
|
|
if is_linux
|
|
cflags += '-DLINUX'
|
|
else
|
|
cflags += '-DBSD'
|
|
endif
|
|
|
|
sources = files('rte_eventdev.c',
|
|
'rte_event_ring.c',
|
|
'rte_event_eth_rx_adapter.c',
|
|
'rte_event_timer_adapter.c',
|
|
'rte_event_crypto_adapter.c',
|
|
'rte_event_eth_tx_adapter.c')
|
|
headers = files('rte_eventdev.h',
|
|
'rte_eventdev_pmd.h',
|
|
'rte_eventdev_pmd_pci.h',
|
|
'rte_eventdev_pmd_vdev.h',
|
|
'rte_event_ring.h',
|
|
'rte_event_eth_rx_adapter.h',
|
|
'rte_event_timer_adapter.h',
|
|
'rte_event_timer_adapter_pmd.h',
|
|
'rte_event_crypto_adapter.h',
|
|
'rte_event_eth_tx_adapter.h')
|
|
deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev']
|