libeth_xdp_set_features(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… libeth_xdp_set_features(9) β€” Kernel API Manual πŸŽ€

okay bestie, so we're in the Kernel API Manual today and the main character is libeth_xdp_set_features. she's a one-trick pony but the trick is iconic. let's get into it ✨


🌸 NAME 🌸

libeth_xdp_set_features β€” set XDP features for netdev πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

libeth_xdp_set_features (dev , ... );

✨ ARGUMENTS ✨

  • dev β€” the net_device to configure, aka the girl you're doing all this for 🫢
  • ... β€” optional params, see __libeth_xdp_set_features. yes queen, the variadic life, iykyk πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so what she does is set all the features libeth_xdp supports β€” and yes, that includes .ndo_xdp_xmit. full package, no crumbs. πŸ‘‘

but (and this is the important part, don't skip it πŸ™ˆ) she should be used only when XDPSQs are always available regardless of whether an XDP prog is attached to dev. like, always always. if they're conditional, this is not your girl. periodt.


🧚 SEE ALSO 🧚

Kernel file ./include/net/libeth/xdp.h, plus the whole extended universe, no cap:

like, that's the whole friend group. go say hi. πŸ˜­πŸ’œ


mwah πŸ’‹ that's the page! this lil beauty lives at ./include/net/libeth, dated October 2026, and she's filed under libeth_xdp_set_features(9) β€” slay, go touch some grass (or some netdev), ily bye πŸ“πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from