rte_eth_dev_tx_buffer(3)
πΈ rte_eth_dev_tx_buffer πΈ
ok so bestie, welcome to rte_eth_dev_tx_buffer β that's the page name, and it's a section 3 (Library Functions Manual) situation, iykyk π
. This is a lil' struct that lives in the DPDK headers and it's literally the holding pen for packets waiting to go out the door. Let me walk you through it π«Ά
β¨ SYNOPSIS β¨
#include <rte_ethdev.h>
π Data Fields
ok so here's the whole squad of fields, no cap:
uint16_t sizeuint16_t lengthstruct rte_mbuf * pkts []
π Detailed Description π
So this struct is the one used to buffer packets for future Tx β like, future transmit, bestie, not a medical procedure π. It's the staging area before your packets hit the wire.
The APIs that use it are:
rte_eth_tx_bufferrte_eth_tx_buffer_flush
Those two are the ones doing the actual work with this struct β this page is just the struct itself, main character energy but technically a supporting role π
Definition at line 3916 of file rte_ethdev.h.
π¦ Field Documentation π¦
uint16_t size
Size of buffer for buffered Tx. So like, how much room the buffer has for this whole buffered-transmit situation β¨.
Definition at line 3919 of file rte_ethdev.h.
uint16_t length
Number of packets in the array β literally just a headcount of how many packets are chillin' in there rn π.
Definition at line 3920 of file rte_ethdev.h.
struct rte_mbuf* pkts[]
Pending packets to be sent on explicit flush or when full. So these babies get shipped out when you explicitly flush, or when the thing fills up all the way β whichever comes first π.
Definition at line 3922 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Yeah, no human wrote this one, it's a robot doing its thing π€β¨.
aaaand that's the whole page, bestie! π This was DPDK, Version 26.03.0, and the page is rte_eth_dev_tx_buffer(3) β catch you on the next one, mwah ππ
π¦ 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