STRUCT LIBETH_XDP_TX_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Bestie, welcome to the struct libeth_xdp_tx_desc(9) page from the Kernel API Manual πŸ’– This is literally the abstraction for an XDP Tx descriptor. No cap.


✨ SYNOPSIS ✨

       struct libeth_xdp_tx_desc {
           dma_addr_t addr;
           union {
             struct {
               u32 len;
               u32 flags;
             };
             aligned_u64 opts;
           };
        };

🫢 Members 🫢

  • addr β€” DMA address of the frame πŸ’…
  • {unnamed_union} β€” anonymous 🫢
    • {unnamed_struct} β€” anonymous
      • len β€” length of the frame
      • flags β€” XDP Tx flags
    • opts β€” combined len + flags for speed ⚑

🌸 Description 🌸

Okay so the generic functions fill this bad boy in, then it gets passed to driver-specific functions so they can fill a HW Tx descriptor. It's always placed on the [function] stack. Periodt ✨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/net/libeth/xdp.h, plus all these besties:


xoxo, this page lives in ./include/net/libeth, October 2026 edition πŸ’–βœ¨

πŸ“¦ where this page comes from