STRUCT LIBETH_XDPSQ_LOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay so bestie, welcome to the struct libeth_xdpsq_lock(9) page from the Kernel API Manual β€” it's literally the locking primitive for sharing XDPSQs. that's it, that's the whole vibe check. πŸ’…


✨ SYNOPSIS ✨

here's the whole struct, no cap, exactly as it is:

struct libeth_xdpsq_lock {
    spinlock_t lock;
    bool share;
 };

look at her. two members. main character energy. πŸ‘‘


πŸŽ€ Members πŸŽ€

  • lock β€” the spinlock for locking the queue πŸ”’ like, this is the whole point, this is what's doing the actual locking work
  • share β€” a bool that tells you whether this particular queue is shared or not 🫢 so you know if you're sharing before you go touching things

🌈 SEE ALSO 🌈

go look at these, they're all in the Kernel file ./include/net/libeth/types.h and they're all friends of this struct, iykyk:

  • struct libeth_rq_napi_stats(9)
  • struct libeth_sq_napi_stats(9)
  • struct libeth_xdpsq_napi_stats(9)
  • struct libeth_xdpsq_timer(9)
  • struct libeth_xdp_buff_stash(9)

ok that's the whole page bestie, go forth and lock your queues responsibly πŸ§šβ€β™€οΈβœ¨

and yeah, this one lives over in ./include/net/libeth, dated October 2026 β€” slay, ate, periodt. πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from