e1000_tbi_adjust_stats(9)
π 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 π₯
e1000_get_hw_dev(9)e1000_init_module(9)e1000_exit_module(9)e1000_irq_disable(9)e1000_irq_enable(9)e1000_configure(9)e1000_power_up_phy(9)e1000_is_need_ioport(9)e1000_init_hw_struct(9)e1000_probe(9)e1000_remove(9)e1000_sw_init(9)e1000_alloc_queues(9)e1000_open(9)e1000_close(9)e1000_check_64k_bound(9)e1000_setup_tx_resources(9)e1000_setup_all_tx_resources(9)e1000_configure_tx(9)e1000_setup_rx_resources(9)e1000_setup_all_rx_resources(9)e1000_setup_rctl(9)e1000_configure_rx(9)e1000_free_tx_resources(9)e1000_free_all_tx_resources(9)e1000_clean_tx_ring(9)e1000_clean_all_tx_rings(9)e1000_free_rx_resources(9)e1000_free_all_rx_resources(9)e1000_clean_rx_ring(9)e1000_clean_all_rx_rings(9)e1000_set_mac(9)e1000_set_rx_mode(9)e1000_update_phy_info_task(9)e1000_82547_tx_fifo_stall_task(9)e1000_watchdog(9)e1000_update_itr(9)e1000_tx_timeout(9)e1000_change_mtu(9)e1000_update_stats(9)e1000_intr(9)e1000_clean(9)e1000_clean_tx_irq(9)e1000_rx_checksum(9)e1000_consume_page(9)e1000_receive_skb(9)e1000_clean_jumbo_rx_irq(9)e1000_clean_rx_irq(9)e1000_alloc_jumbo_rx_buffers(9)e1000_alloc_rx_buffers(9)e1000_smartspeed(9)e1000_ioctl(9)e1000_mii_ioctl(9)e1000_io_error_detected(9)e1000_io_slot_reset(9)e1000_io_resume(9)
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
- 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