mbox series

[0/3] Rx adapter API to add Rx queues in burst

Message ID 20250207140910.721374-1-sthotton@marvell.com (mailing list archive)
Headers
Series Rx adapter API to add Rx queues in burst |

Message

Shijith Thotton Feb. 7, 2025, 2:09 p.m. UTC
This patch series introduces the rte_event_eth_rx_adapter_queues_add()
API, allowing multiple Rx queues to be added to an Rx adapter in a
single burst. This enhancement benefits applications that require bulk
addition of Rx queues.  

To support this API, a new internal eventdev PMD operation for adding Rx
queues has been implemented. The second patch in the series enables this
operation for the CNXK PMD. 

Additionally, a unit test has been added to validate the API's
functionality.

RFC: https://patches.dpdk.org/project/dpdk/patch/20241219073405.1724200-1-sthotton@marvell.com/

Shijith Thotton (3):
  eventdev/eth_rx: add API to burst add queues to Rx adapter
  event/cnxk: enable PMD op to burst add queues to Rx adapter
  test/event: unit test to burst add Rx queues to adapter

 app/test/test_event_eth_rx_adapter.c     |  86 ++++++++++
 drivers/event/cnxk/cn10k_eventdev.c      |  82 ++++++++--
 drivers/event/cnxk/cn20k_eventdev.c      | 195 ++++++++++++++++-------
 drivers/event/cnxk/cn9k_eventdev.c       |  38 ++++-
 drivers/event/cnxk/cnxk_eventdev.h       |   8 +-
 drivers/event/cnxk/cnxk_eventdev_adptr.c | 102 +++++++-----
 lib/eventdev/eventdev_pmd.h              |  34 ++++
 lib/eventdev/eventdev_trace.h            |  14 ++
 lib/eventdev/eventdev_trace_points.c     |   3 +
 lib/eventdev/rte_event_eth_rx_adapter.c  | 146 +++++++++++++++++
 lib/eventdev/rte_event_eth_rx_adapter.h  |  33 ++++
 lib/eventdev/version.map                 |   3 +
 12 files changed, 627 insertions(+), 117 deletions(-)
  

Comments

Naga Harish K, S V Feb. 17, 2025, 4:17 p.m. UTC | #1
Documentation update is missing.
  
Shijith Thotton Feb. 18, 2025, 4:44 a.m. UTC | #2
>
> Documentation update is missing.
>

Missed it, I will update in v2.

Thanks,
Shijith

>This patch series introduces the rte_event_eth_rx_adapter_queues_add()
>API, allowing multiple Rx queues to be added to an Rx adapter in a
>single burst. This enhancement benefits applications that require bulk
>addition of Rx queues.
>
>To support this API, a new internal eventdev PMD operation for adding Rx
>queues has been implemented. The second patch in the series enables this
>operation for the CNXK PMD.
>
>Additionally, a unit test has been added to validate the API's
>functionality.
>