eventdev/eth_rx: add per-queue event buffer
authorNaga Harish K S V <s.v.naga.harish.k@intel.com>
Wed, 6 Oct 2021 07:55:46 +0000 (02:55 -0500)
committerJerin Jacob <jerinj@marvell.com>
Thu, 21 Oct 2021 08:14:50 +0000 (10:14 +0200)
commitb06bca69b7c4dd7a13c213020ba7c454775e3de8
tree80fb7536a84d2378dadcdadfd95e34c18e8ed984
parentbc0df25c83d630b1619210e17a858e2e2fa1c59e
eventdev/eth_rx: add per-queue event buffer

Added per queue buffer. To configure per queue event buffer size,
application sets rte_event_eth_rx_adapter_params::use_queue_event_buf
flag as true while using rte_event_eth_rx_adapter_create_with_params().

The per queue event buffer size is populated in
rte_event_eth_rx_adapter_queue_conf::event_buf_size and passed
to rte_event_eth_rx_adapter_queue_add().

Signed-off-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
Acked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>
app/test/test_event_eth_rx_adapter.c
doc/guides/prog_guide/event_ethernet_rx_adapter.rst
lib/eventdev/rte_event_eth_rx_adapter.c
lib/eventdev/rte_event_eth_rx_adapter.h