RTE_EVENT_ETH_TX_ADAPTER_RUNTIME_PARAMS(3)

✨ NAME ✨

rte_event_eth_tx_adapter_runtime_params β€” bestie, this is the struct that holds your Event Ethernet TX Adapter's runtime config, and it lives in the DPDK Library Functions Manual πŸ’–


🌸 SYNOPSIS 🌸

#include <rte_event_eth_tx_adapter.h>

πŸŽ€ Data Fields

  • uint32_t max_nb_tx
  • uint16_t flush_threshold
  • uint16_t rsvd [29]

πŸ¦‹ Detailed Description πŸ¦‹

Adapter runtime configuration parameters ✨

Lowkey iconic: this thing is defined at line 112 of the file rte_event_eth_tx_adapter.h πŸ‘‘

πŸ’… Field Documentation πŸ’…

uint32_t max_nb_tx 🌈

The adapter is allowed to bounce early once it's chewed through at least max_nb_tx mbufs. But bestie, listen β€” this is not a hard requirement, it's giving vibes not rules. Batching means the adapter can absolutely process more than max_nb_tx mbufs. No cap. πŸ’€

So who sets it?

  • rte_event_eth_tx_adapter_create() sets the adapter up with the default value of max_nb_tx.
  • rte_event_eth_tx_adapter_create_ext() sets the adapter up with a user provided value of max_nb_tx, passed in through the rte_event_eth_tx_adapter_conf::max_nb_tx parameter.
  • rte_event_eth_tx_adapter_runtime_params_set() lets you re-configure max_nb_tx during runtime β€” but only after you've added at least one queue, okay? queue first, glow-up second. πŸ’–

This one is valid for the devices without the RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT capability.

For the record, it's defined at line 113 of the file rte_event_eth_tx_adapter.h ✨

uint16_t flush_threshold 🫢

This is the number of service function iteration counts before flushing buffered packets β€” like, how many laps of the service function before the buffered packets get yeeted out the door. πŸš€

And yep, this is also valid for the devices without the RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT capability.

Definition check, bestie: line 129 of the file rte_event_eth_tx_adapter.h 🌸

uint16_t rsvd[29] πŸ‘‘

Reserved fields for future expansion. Future-proofing, main character energy, we love to see it. 🧚

Defined at line 136 of the file rte_event_eth_tx_adapter.h πŸ’œ

πŸ“ Author πŸ“

Generated automatically by Doxygen for DPDK from the source code.


Okay so that's the whole page, and yes the software did write most of it about itself β€” honestly? slay. This lil manual page is DPDK Version 25.11.3, brought to you from the source code, periodt. Go config your adapter and thrive, bestie πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from