STRUCT LIBETH_SQ_NAPI_STATS(9)
π STRUCT LIBETH_SQ_NAPI_STATS(9) π
okay so bestie, welcome to the Kernel API Manual (section 9, we're in the deep kernel weeds today β¨) β this page is all about struct libeth_sq_napi_stats, which is literally just the "hot" counters you update in the Tx completion loop π₯ ngl the name is a mouthful but the vibe is simple: it's a lil bag of numbers that get bumped constantly, so they gotta stay quick to touch.
β¨ NAME β¨
struct libeth_sq_napi_stats β the "hot" counters you update in the Tx completion loop π
πΈ SYNOPSIS πΈ
struct libeth_sq_napi_stats {
union {
struct {
u32 packets;
u32 bytes;
};
u32 raw[];
};
};
π¦ Members π¦
{unnamed_union}β anonymous π» (yes, it's really called that, she's mysterious){unnamed_struct}β also anonymous π another no-name iconpacketsβ the completed frames counter, like a little tally of frames that made it through πbytesβ the sum of bytes of the completed frames above β paired up withpackets, they're a matching set π«Άrawβ an alias so you can access all the fields as an array, in case that's your vibe π₯ iykyk
π SEE ALSO π
bestie go read the kernel file ./include/net/libeth/types.h and also these iconic siblings:
struct libeth_rq_napi_stats(9)struct libeth_xdpsq_napi_stats(9)struct libeth_xdpsq_lock(9)struct libeth_xdpsq_timer(9)struct libeth_xdp_buff_stash(9)
and that's the whole thing, bestie β slay π
β¨ this page comes to you from ./include/net/libeth, dated October 2026, and it's filed under struct libeth_sq_napi_stats(9). go forth and count those packets πππ¦
π¦ 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