libeth_xdp_save_stash(9)
π libeth_xdp_save_stash(9) β bestie's guide to the Kernel API Manual π
okay so picture this: you're deep in the Kernel API Manual (yes, that's the manual name, we're fancy like that β¨) and you've stumbled onto libeth_xdp_save_stash. no cap, this one is a whole little moment. let me break it down for you π«Ά
β¨ NAME β¨
libeth_xdp_save_stash β literally converts an &xdp_buff into a libeth_xdp buffer stash π
π¦ SYNOPSIS π¦
void libeth_xdp_save_stash (struct libeth_xdp_buff_stash *dst , const
struct libeth_xdp_buff *src );
that's the whole signature, bestie. keep it verbatim, she's a specific girlie π
πΈ ARGUMENTS πΈ
dstβ the targetlibeth_xdp_buff_stashthat we're gonna initialize. this is the little stash being born β¨srcβ the source XDP buffer. the origin story, the main character π
π DESCRIPTION π
so this is an external helper used by libeth_xdp_save_buff β which means, and I cannot stress this enough, do not call it directly. like, I know it's cute and tempting, but it's not for you, iykyk π
what it actually does: it takes the fields from the passed XDP buffer and uses them to initialize the stash on the queue π that way, a partially received frame can be finished later, during the next NAPI poll. it's giving "to be continuedβ¦" energy ππ₯
fr fr, that partial-frame thing is the whole point β the stash is basically the save file so the frame can pick up where it left off next poll π
π SEE ALSO π
the whole friend group, no one left out π
- Kernel file:
./drivers/net/ethernet/intel/libeth/xdp.c libeth_xdpsq_init_timer(9)libeth_xdp_tx_exception(9)libeth_xdp_load_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)
okay that's the page!! source is that ./drivers/net/ethernet/intel/l... situation (you know the one π§), it's dated October 2026, and the version tag is right there being iconic: libeth_xdp_save_stash(9). slay, go read the other ones now, periodt π
βπ
π¦ 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