libeth_xdp_load_stash(9)
๐ libeth_xdp_load_stash(9) โ Kernel API Manual, bestie edition ๐
okay so you're looking at libeth_xdp_load_stash from the kernel API manual and honestly? it's a little niche, a little mysterious, and very much an "iykyk" situation. let's get into it โจ
๐ฆ NAME ๐ฆ
libeth_xdp_load_stash โ the glow-up where we recreate an &xdp_buff from a libeth_xdp buffer stash ๐
like, the stash had a whole makeover era and now it's coming back as a real buff. main character energy fr.
โจ SYNOPSIS โจ
void libeth_xdp_load_stash (struct libeth_xdp_buff *dst , const struct
libeth_xdp_buff_stash *src );
no cap, that's the whole signature. two pointers, one void, zero drama. ๐ธ
๐ ARGUMENTS ๐
dstโ the targetlibeth_xdp_buffyou're initializing. this is the one getting the fitting room treatment, bestie ๐srcโ the source stash. this is where the vibes (and the data) are coming from ๐ซถ
๐ DESCRIPTION ๐
okay so important heads up first: this is an external helper used by libeth_xdp_init_buff, and you should not call it directly. it's giving backstage-pass-only, not general admission ๐
what it actually does: it recreates an onstack libeth_xdp_buff using the stash that got saved earlier. so like, the stash was the save file and this function is the "continue game" button. iconic ๐ฎโจ
the only field left untouched is rxq, and that's because it gets initialized later, inside that function we mentioned a second ago (libeth_xdp_init_buff). so it's not forgotten, it's just on its own schedule, living its truth ๐ฆ
๐ SEE ALSO ๐
the actual kernel file lives here, for the curious girlies:
- Kernel file
./drivers/net/ethernet/intel/libeth/xdp.c
and the whole friend group of related functions (all sections (9), all absolutely invited to the group chat):
libeth_xdpsq_init_timer(9)libeth_xdp_tx_exception(9)libeth_xdp_save_stash(9)libeth_xdp_return_buff_slow(9)libeth_xdp_buff_add_frag(9)libeth_xdp_prog_exception(9)libeth_xdp_return_buff_bulk(9)libeth_xdp_queue_threshold(9)__libeth_xdp_set_features(9)libeth_xdp_set_redirect(9)
and that's the whole page, babe ๐ this one came from ./drivers/net/ethernet/intel/l... and it's dated October 2026 โ so mark your calendars, screenshot the footer, and go forth and not call this helper directly ๐งโจ
๐ฆ 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