rte_eth_txconf(3)
π rte_eth_txconf β Library Functions Manual π
okay bestie so welcome to rte_eth_txconf(3), the DPDK struct that handles your Ethernet port's Tx ring config and honestly? it's giving "quietly essential" π
she doesn't post much but she runs the whole outfit.
β¨ NAME β¨
rte_eth_txconf β the struct you fill in to tell an Ethernet port how to configure one of its Tx rings π
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π Data Fields π
struct rte_eth_thresh tx_thresh
uint16_t tx_rs_thresh
uint16_t tx_free_thresh
uint8_t tx_deferred_start
uint64_t offloads
uint64_t reserved_64s [2]
void * reserved_ptrs [2]
π DETAILED DESCRIPTION π
A structure used to configure a Tx ring of an Ethernet port. no cap, that's literally her whole job.
Definition at line 1214 of file rte_ethdev.h.
π¦ FIELD DOCUMENTATION π¦
struct rte_eth_thresh tx_threshβ the Tx ring threshold registers. where the ring's thresholds live, periodt. Definition at line 1215 of filerte_ethdev.h.uint16_t tx_rs_threshβ drives the setting of the RS bit on TXDs. she's the one deciding when that RS bit gets flipped π₯ Definition at line 1216 of filerte_ethdev.h.uint16_t tx_free_threshβ start freeing Tx buffers if there are less free descriptors than this value. so like, the "bestie we're running low" alarm for descriptors π«Ά Definition at line 1217 of filerte_ethdev.h.uint8_t tx_deferred_startβ do not start the queue withrte_eth_dev_start(). yes that's the whole point of her, she's the "not yet bestie" flag π Definition at line 1220 of filerte_ethdev.h.uint64_t offloadsβ per-queue Tx offloads to be set usingRTE_ETH_TX_OFFLOAD_*flags. Only offloads set ontx_queue_offload_capaortx_offload_capafields onrte_eth_dev_infostructure are allowed to be set. ok so read this part twice because it's the rule: if it's not in those capa fields, you cannot set it. she will not be flexible on this π Definition at line 1226 of filerte_ethdev.h.uint64_t reserved_64s[2]β reserved for future fields. packing peanuts for the future π Definition at line 1228 of filerte_ethdev.h.void* reserved_ptrs[2]β reserved for future fields. more packing peanuts, pointer flavoured β Definition at line 1229 of filerte_ethdev.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. yeah the docs wrote themselves, main character energy fr fr π
and that's the whole vibe check bestie π this was DPDK Version 25.11.3, rte_eth_txconf(3) β go forth and configure thy Tx rings, slay β¨πΈ
π¦ 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