FLUSH_THRESHOLD(3)
π NAME π
okay so bestie, this is the man page for rte_event_eth_tx_adapter_runtime_params β it lives in section 3 of the Library Functions Manual and it's literally the struct that holds your adapter's runtime config parameters. π«Ά
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header, no cap:
#include <rte_event_eth_tx_adapter.h>
π Data Fields π
the struct is giving very much "three fields and a dream" energy:
uint32_t max_nb_txuint16_t flush_thresholduint16_t rsvd [29]
πΈ Detailed Description πΈ
so what is this? it's the Adapter runtime configuration parameters struct, periodt. that's the whole vibe.
it's defined at line 112 of the file rte_event_eth_tx_adapter.h, iykyk. β¨
π Field Documentation π
π uint32_t max_nb_tx
the adapter can return early if it has processed at least max_nb_tx mbufs. bestie, listen β this is not treated as a requirement; batching may cause the adapter to process more than max_nb_tx mbufs. so it's more of a "whenever you feel like it" situation than a hard limit. π
rte_event_eth_tx_adapter_create() configures the adapter with the default value of max_nb_tx. then rte_event_eth_tx_adapter_create_ext() configures the adapter with a user-provided value of max_nb_tx through the rte_event_eth_tx_adapter_conf::max_nb_tx parameter. and if you wanna change it mid-run, rte_event_eth_tx_adapter_runtime_params_set() lets you re-configure max_nb_tx during runtime (after adding at least one queue). slay. π
heads up: this is valid for the devices without the RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT capability. no cap.
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 count to flush buffered packets. literally what it says on the tin. β¨
same caveat, bestie: this is valid for the devices without the RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT capability. π
defined at line 129 of the file rte_event_eth_tx_adapter.h. πΈ
π§ uint16_t rsvd[29]
reserved fields for future expansion β the structural equivalent of "no thoughts, head empty," but make it intentional. it's future-proofing, and honestly? iconic. π
defined at line 136 of the file rte_event_eth_tx_adapter.h. β
π¦ Author π¦
Generated automatically by Doxygen for DPDK from the source code. not a human, just Doxygen doing its little autogenerated thing. π
π and that's the whole page, bestie! this chaos was brought to you by DPDK, Version 26.03.0 β mwah, go touch some mbufs. πβ¨π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms