libeth_xdp_return_stash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… libeth_xdp_return_stash ✨

okay so bestie, we're in the Kernel API Manual today and this one is a tiny little function with main character energy β€” it's the cleanup queen 🧹✨. She's short, she's sweet, and if you skip her your queue leaks. no cap.


🌸 NAME 🌸

libeth_xdp_return_stash β€” free an XDP buffer stash from a queue 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void libeth_xdp_return_stash (struct libeth_xdp_buff_stash *stash );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • stash β€” the stash you're freeing, bestie. that's it. that's the whole argument πŸ’…

✨ DESCRIPTION ✨

so here's the vibe check: your queue is about to be destroyed πŸ’€, but plot twist β€” it's still holding onto an incompleted buffer stash. awkward!! πŸ™ˆ

if that's the sitch, you should call this helper to free it. that's literally the whole job. she frees the stash so nothing gets left behind. iconic cleanup behaviour, honestly πŸ‘‘

fr fr: this is the "we're tearing down the queue but the stash is still sitting there" helper. don't leave the stash hanging β€” call her. πŸ’œ

🌈 SEE ALSO 🌈

literally the whole friend group, ok. the kernel file is ./include/net/libeth/xdp.h, and here's everybody else:

(yes there are two enum (anonymous)(9) entries β€” that's not a typo, I promise, they're both actually there 😭)


and that's the whole page, bestie!! πŸŽ€ this one lives in ./include/net/libeth and it's dated October 2026 β€” go free that stash and slay the teardown πŸ’œβœ¨

πŸ“¦ where this page comes from