libeth_xsk_prog_exception(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… libeth_xsk_prog_exception(9) β€” hi bestie, welcome to the Kernel API Manual πŸŽ€

okay so real talk, you're looking at libeth_xsk_prog_exception, page 9 of the Kernel API Manual. she's a helper, she's internal, and she's about to handle some XDP prog exceptions on XSk. let's get into it πŸ’–


✨ NAME ✨

libeth_xsk_prog_exception β€” the girl who handles XDP prog exceptions on XSk πŸ¦‹


🌸 SYNOPSIS 🌸

u32 __cold libeth_xsk_prog_exception (struct libeth_xdp_buff *xdp , enum
xdp_action act , int ret );
__cold is right there in the signature bestie β€” this is not the hot path, she's the slow-path cleanup queen πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • xdp β€” the buffer we're processing. the main character of this function ngl 🫢
  • act β€” the verdict that got returned by the prog. like the prog's final answer ✨
  • ret β€” the error code, if XDP_REDIRECT failed 😭

πŸ’œ DESCRIPTION πŸ’œ

okay so first thing: Internal. say it with me. this is not a public API, she's for the kernel's own use πŸ™ˆ

what she does: frees the buffer. that's the whole vibe.

and additionally β€” if the queue uses XSk wakeups, she stops the current NAPI poll when there are no free buffers left. no buffers? no poll. simple as that πŸ’€


🌈 RETURN 🌈

she returns libeth_xdp's XDP prog verdict. that's it, that's the return value πŸ‘‘


🧚 SEE ALSO 🧚

like, the whole xsk friend group fr fr 🫢✨


and that's the page!! πŸ’– she's from October 2026, the source/version line lives over at ./drivers/net/ethernet/intel/l... (yes it's truncated in the original, don't come for me 😭), and she signs off as libeth_xsk_prog_exception(9) β€” periodt. πŸ’…πŸŽ€

πŸ“¦ where this page comes from