rte_event_...ime_params(3)

πŸ’… NAME πŸ’…

rte_event_dma_adapter_runtime_params β€” bestie, this is the runtime config glow-up container for the DMA adapter πŸ’–

It lives in the Library Functions Manual corner of the world, page rte_event_...ime_params(3), and yes we are absolutely gonna get into it.


✨ SYNOPSIS ✨

#include <rte_event_dma_adapter.h>

πŸŽ€ Data Fields πŸŽ€

  • uint32_t max_nb
  • uint32_t rsvd [15]

🌸 DESCRIPTION 🌸

Okay so. rte_event_dma_adapter_runtime_params is a struct holding the adapter runtime configuration parameters β€” that's the whole vibe, that's the whole job.

It's defined at line 198 of the file rte_event_dma_adapter.h, in case you need receipts. 🧚


πŸ‘‘ FIELD DOCUMENTATION πŸ‘‘

πŸ’œ uint32_t max_nb

The adapter is allowed to return early once it's processed at least max_nb DMA ops. But listen β€” this is not a hard requirement, no cap. Because of batching, the adapter may literally process more than max_nb DMA ops. It's giving "guideline, not a limit." πŸ™ˆ

The callback function you pass to rte_event_dma_adapter_create_ext() configures the adapter with a default value of max_nb.

Then rte_event_dma_adapter_runtime_params_set() lets you re-configure max_nb during runtime β€” but only after you've added at least one queue pair. Order matters, bestie, do not skip steps. πŸ’…

Heads up: this is only valid for the devices without the RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_FWD or RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_NEW capability. If your device has those caps, this field is not the moment. 🫢

Defined at line 199 of the file rte_event_dma_adapter.h.

🌈 uint32_t rsvd[15]

Reserved fields for future expansion β€” aka the spare room where DPDK keeps its future plans. Don't touch, don't poke, just let it vibe. ✨

Defined at line 213 of the file rte_event_dma_adapter.h.


πŸ¦‹ AUTHOR πŸ¦‹

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a girlboss, just a doc generator doing its thing. πŸ’€


🌟 SEE ALSO 🌟

(no other pages were listed, so it's giving solo main character energy πŸ‘‘)


And that's the whole page, bestie!! This came to you courtesy of DPDK, Version 25.11.3, under the page name rte_event_...ime_params(3). Slay, read responsibly, and go configure those DMA ops. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά
πŸ“¦ where this page comes from