STRUCT LIBETH_XDPSQ_LOCK(9)
π¦ 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 workshareβ aboolthat 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
- 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