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_txuint16_t flush_thresholduint16_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 ofmax_nb_tx.rte_event_eth_tx_adapter_create_ext()sets the adapter up with a user provided value ofmax_nb_tx, passed in through therte_event_eth_tx_adapter_conf::max_nb_txparameter.rte_event_eth_tx_adapter_runtime_params_set()lets you re-configuremax_nb_txduring 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
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms