e1000_tbi_adjust_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… e1000_tbi_adjust_stats β€” the kernel API manual, bestie edition ✨

okay so real talk, this page is from the Kernel API Manual, and it's about one very specific little function in the e1000 driver. Let's get into it 🫢


🌸 NAME 🌸

e1000_tbi_adjust_stats β€” that's literally it, that's the whole name section in the original too. No tagline, no subtitle, she's mysterious like that πŸ’… (the original leaves the description blank here, so we're not gonna invent one, periodt).


✨ SYNOPSIS ✨

void e1000_tbi_adjust_stats (struct e1000_hw *hw , struct e1000_hw_stats
*stats , u32 frame_len , const u8 *mac_addr );

notice the return type is void β€” she does the work and she does not report back, iconic behavior honestly πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” a struct full of the variables that get accessed by shared code. it's giving "everyone's using this, so don't mess it up" πŸ’–
  • stats β€” points to the stats struct. yes bestie, the stats struct πŸ‘€
  • frame_len β€” the length of the frame in question. the frame in question, like we're interrogating it πŸ”
  • mac_addr β€” the Ethernet destination address of the frame in question. destination specifically, don't come at me with source addresses πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so what she actually does: she adjusts the statistic counters when a frame gets accepted by TBI_ACCEPT. that's the whole vibe β€” counters go in, counters come out adjusted πŸ’«

no cap, that is the entire description in the source page, so I'm not gonna sit here and make up extra lore about it 😭


🌈 SEE ALSO 🌈

first up, the kernel file herself:

  • ./drivers/net/ethernet/intel/e1000/e1000_main.c

and then the whole extended friend group β€” literally the entire e1000 cinematic universe, look at this roster πŸ”₯

like??? that's not a SEE ALSO, that's a whole group chat 😭 and yes every single one of them is here, I did not skip a single bestie, you're welcome πŸ’œ


lowkey reminder: everything above is what the page says and nothing more β€” no invented behavior, no extra tips, just the facts with better energy ✨

and that's the page!! πŸŽ€ sign-off time: this one's sourced from ./drivers/net/ethernet/intel/e... (that's how the footer shows it, truncated and all 🫠), dated October 2026, and yes, it's still filed under e1000_tbi_adjust_stats(9) πŸ’– bye bestie, go adjust some stats 🌸

πŸ“¦ where this page comes from