rte_gso_ctx(3)
π rte_gso_ctx β the manual page, but make it make sense
okay so bestie, welcome to the rte_gso_ctx(3) page from the DPDK Library Functions Manual β¨ this is a struct page, so it's giving "reference card" energy rather than "story time" β but we're gonna make it cute anyway π
πΈ NAME πΈ
rte_gso_ctx β literally the GSO context structure, that's her name, that's her whole brand π
β¨ SYNOPSIS β¨
#include <rte_gso.h>
π¦ Data Fields
struct rte_mempool * direct_poolstruct rte_mempool * indirect_pooluint64_t flaguint32_t gso_typesuint16_t gso_size
π DETAILED DESCRIPTION π
So this is the GSO context structure, periodt. That's the vibe. π«Ά
Fun lil fact for the group chat: her definition lives at line 37 of file rte_gso.h β iconic address honestly π
π FIELD DOCUMENTATION π
π§Ί struct rte_mempool* direct_pool
This is the MBUF pool for allocating direct buffers, and those direct buffers are the ones used to store packet headers for GSO segments β like, they're holding the lil header fits, no cap π
Located at line 38 of file rte_gso.h β¨
π struct rte_mempool* indirect_pool
And this one is the MBUF pool for allocating indirect buffers, used to locate the packet payloads for GSO segments. The tea here π΅: the indirect buffer doesn't contain any data β it literally just points to an offset within the packet to segment. It's giving "I know a guy" energy, not "I am the guy" energy π
Located at line 42 of file rte_gso.h β¨
π© uint64_t flag
A flag that controls specific attributes of output segments β for example, the type of IP ID generated (i.e. fixed or incremental). So yeah, she's the one making the ~stylistic choices~ π₯
Located at line 48 of file rte_gso.h β¨
π uint32_t gso_types
The bit mask of required GSO types. And here's the key lore π: the GSO library uses the same macros as that of describing device TX offloading capabilities (i.e. RTE_ETH_TX_OFFLOAD_*_TSO) for gso_types.
For example β and this is the moment, bestie β if applications want to segment TCP/IPv4 packets, set RTE_ETH_TX_OFFLOAD_TCP_TSO in gso_types. Easy. Slay. β
Located at line 52 of file rte_gso.h β¨
π uint16_t gso_size
The maximum size of an output GSO segment, including packet header and payload, measured in bytes.
β οΈ Bestie, listen to me: it must exceed RTE_GSO_SEG_SIZE_MIN. This is not a suggestion, this is the rule, fr fr π
Located at line 61 of file rte_gso.h β¨
π§ AUTHOR π§
Generated automatically by Doxygen for DPDK from the source code π€π (yes, the robot wrote it, we just gave it a personality)
and that's the whole page, bestie β tysm for reading π«Ά This lil masterpiece is from DPDK, Version 26.03.0, dated rte_gso_ctx(3) era energy β catch you on the next manpage, 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