rte_eth_txconf(3)

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

✨ NAME

rte_eth_txconf(3) is literally the page name, bestie, and it lives in the Library Functions Manual β€” yes, that manual name is folded in right here at the top so we don’t copy the whole header line. This page is all about the rte_eth_txconf vibe: a structure used to configure a Tx ring of an Ethernet port. Main character energy for your transmit queue, no cap. 🫢

πŸŽ€ SYNOPSIS

okay so you pull it in with this include, exactly:

#include <rte_ethdev.h>

🧸 Data Fields

These are the fields, verbatim, bestie β€” don’t rename them, don’t β€œfix” the spacing, just copy:

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. That’s the whole plot, and honestly it ate. Definition at line 1214 of file rte_ethdev.h.

πŸ’… Field Documentation

🌟 struct rte_eth_thresh tx_thresh

Tx ring threshold registers. Definition at line 1215 of file rte_ethdev.h.

🌟 uint16_t tx_rs_thresh

Drives the setting of RS bit on TXDs. Definition at line 1216 of file rte_ethdev.h.

🌟 uint16_t tx_free_thresh

Start freeing Tx buffers if there are less free descriptors than this value. Definition at line 1217 of file rte_ethdev.h.

🌟 uint8_t tx_deferred_start

Do not start queue with rte_eth_dev_start(). Definition at line 1220 of file rte_ethdev.h.

🌟 uint64_t offloads

Per-queue Tx offloads to be set using RTE_ETH_TX_OFFLOAD_* flags. Only offloads set on tx_queue_offload_capa or tx_offload_capa fields on rte_eth_dev_info structure are allowed to be set. Definition at line 1226 of file rte_ethdev.h.

real talk: if it isn’t in those capa fields, it is not allowed β€” no sneaky offloads, periodt πŸ’€

🌟 uint64_t reserved_64s[2]

Reserved for future fields. Definition at line 1228 of file rte_ethdev.h.

🌟 void* reserved_ptrs[2]

Reserved for future fields. Definition at line 1229 of file rte_ethdev.h.

πŸ’– Author

Generated automatically by Doxygen for DPDK from the source code. Not me, not you, just Doxygen doing its little automation thing πŸ’….


Cute sign-off, bestie: source/version is DPDK, Version 26.03.0. The date? The footer did not list one, so I’m not inventing it β€” no cap. Bye and go configure that Tx ring responsibly πŸ’œβœ¨

πŸ“¦ where this page comes from