STRUCT LIBETH_FQE(9)
π struct libeth_fqe(9) β like, the whole tea β
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct libeth_fqe, which is literally the glow-up name for an Rx buffer. Yeah. A fill queue element. Obsessed already, right? π
πΈ NAME πΈ
struct libeth_fqe β the structure that reps an Rx buffer (aka a fill queue element). That's the whole vibe. π
β¨ SYNOPSIS β¨
here's the struct, copy it exactly bestie, no autocorrect:
struct libeth_fqe {
netmem_ref netmem;
u32 offset;
u32 truesize;
};
π¦ Members π¦
netmemβ the network memory reference that's holding onto the buffer. it's giving main character energy, it's the actual memory holder π«Άoffsetβ the offset from the page start, pointing at the headroom. iykyk πtruesizeβ the total space the buffer occupies, headroom and tailroom included. the full fit, no cap π
π Description π
so depending on the MTU, the API lowkey switches between two models: one-page-per-frame and the shared page model (that second one exists to conserve memory on bigger-page platforms β iconic, honestly π§).
in the one-page-per-frame case? offset is always 0, and truesize is always PAGE_SIZE. periodt. π
fr fr, that's the whole description β don't go inventing extra lore, bestie π
π SEE ALSO π
go read these next, they're all linked and they all ate π₯:
- Kernel file
./include/net/libeth/rx.h enum libeth_fqe_type(9)struct libeth_fq(9)libeth_rx_alloc(9)libeth_rx_sync_for_cpu(9)struct libeth_rx_csum(9)struct libeth_rqe_info(9)libeth_rx_pt_get_ip_ver(9)libeth_rx_pt_set_hash(9)
okay that's the page!! source is ./include/net/libeth, dated October 2026 β so go forth, read your struct, and slay πβ¨π¦π
mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms