STRUCT LIBETH_FQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct libeth_fq(9) πŸ’–

okay so bestie, welcome to the manual page for struct libeth_fq, straight out of the Kernel API Manual β€” yes, the kernel has a manual, and yes, it's giving legendary. this one's all about a struct that represents a buffer (fill) queue πŸŽ€


✨ NAME ✨

struct libeth_fq β€” the struct that represents a buffer (fill) queue. that's it, that's the vibe πŸ¦‹


🌸 SYNOPSIS 🌸

here's the whole thing, exactly as it lives, no edits, no cap:

struct libeth_fq {
    struct {
      struct page_pool        *pp;
      struct libeth_fqe       *fqes;
      u32 truesize;
      u32 count;
    };
    enum libeth_fqe_type    type:2;
    bool hsplit:1;
    bool xdp:1;
    bool no_napi:1;
    u32 buf_len;
    int nid;
 };

🫢 Members 🫢

not me listing every single member, because missing one would be a crime πŸ’…

  • {unnamed_struct} β€” anonymous. it's literally an anonymous struct, no name, mysterious main character energy πŸ™ˆ
  • pp β€” the page_pool for buffer management. it handles the buffer logistics, iykyk.
  • fqes β€” array of Rx buffers. the whole lineup ✨
  • truesize β€” size to allocate per buffer, w/overhead β€” note that overhead is included, so don't forget it bestie 😭
  • count β€” number of descriptors/buffers the queue has. count them, king πŸ‘‘
  • type β€” type of the buffers this queue has. it's an enum libeth_fqe_type and it's only taking :2 bits, lowkey efficient.
  • hsplit β€” flag whether header split is enabled. one whole :1 bit of information 🌸
  • xdp β€” flag indicating whether XDP is enabled. also :1 bit, also iconic.
  • no_napi β€” the queue is not a data queue and does not have NAPI. love that for it πŸ’€
  • buf_len β€” HW-writeable length per each buffer. hardware writes here, so it matters fr fr.
  • nid β€” ID of the closest NUMA node with memory. gotta stay close to your memory, literally 🧚

πŸ’œ SEE ALSO πŸ’œ

go read these next, bestie, they're all family:


okay that's the whole page, you ate that πŸ“ this legend lives at ./include/net/libeth and it's dated October 2026 β€” yes, the future, we're just that ahead. bye bestie, go read struct libeth_fqe(9) next πŸ’–βœ¨

πŸ“¦ where this page comes from