FLUSH_THRESHOLD(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– 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_tx
  • uint16_t flush_threshold
  • uint16_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