STRUCT PCH_GBE_HW_STATS(9)
π struct pch_gbe_hw_stats(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the entry for struct pch_gbe_hw_stats, and it's literally just a big lil' bag of numbers that your MAC keeps about itself. no cap, it's giving "stats screen at the end of a match" energy π
πΈ NAME πΈ
struct pch_gbe_hw_stats β the Statistics counters collected by the MAC π
β¨ SYNOPSIS β¨
like, here's the whole vibe of the struct, every single field, no skipping (iykyk):
struct pch_gbe_hw_stats {
u32 rx_packets;
u32 tx_packets;
u32 rx_bytes;
u32 tx_bytes;
u32 rx_errors;
u32 tx_errors;
u32 rx_dropped;
u32 tx_dropped;
u32 multicast;
u32 collisions;
u32 rx_crc_errors;
u32 rx_frame_errors;
u32 rx_alloc_buff_failed;
u32 tx_length_errors;
u32 tx_aborted_errors;
u32 tx_carrier_errors;
u32 tx_timeout_count;
u32 tx_restart_count;
u32 intr_rx_dsc_empty_count;
u32 intr_rx_frame_err_count;
u32 intr_rx_fifo_err_count;
u32 intr_rx_dma_err_count;
u32 intr_tx_fifo_err_count;
u32 intr_tx_dma_err_count;
u32 intr_tcpip_err_count;
};
π¦ Members π¦
okay now the main character energy: every single field gets its moment, periodt:
rx_packetsβ total packets received π₯tx_packetsβ total packets transmitted π€rx_bytesβ total bytes received πΈtx_bytesβ total bytes transmitted πrx_errorsβ bad packets received π (the messy ones, we don't claim them)tx_errorsβ packet transmit problems πrx_droppedβ no space in Linux buffers πtx_droppedβ no space available in Linux π«Άmulticastβ multicast packets received π‘collisionsβ collisions π₯rx_crc_errorsβ received packet with crc error β οΈrx_frame_errorsβ received frame alignment error πrx_alloc_buff_failedβ allocate failure of a receive buffer π΅tx_length_errorsβ transmit length error πtx_aborted_errorsβ transmit aborted error π«tx_carrier_errorsβ transmit carrier error πΆtx_timeout_countβ Number of transmit timeout β°tx_restart_countβ Number of transmit restert π (yes bestie, that's literally how it's spelled in the source β not me, I would never π)intr_rx_dsc_empty_countβ Interrupt count of receive descriptor empty π³οΈintr_rx_frame_err_countβ Interrupt count of receive frame error πΌοΈintr_rx_fifo_err_countβ Interrupt count of receive FIFO error πintr_rx_dma_err_countβ Interrupt count of receive DMA error π§intr_tx_fifo_err_countβ Interrupt count of transmit FIFO error πintr_tx_dma_err_countβ Interrupt count of transmit DMA error πintr_tcpip_err_countβ Interrupt count of TCP/IP Accelerator π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h struct pch_gbe_mac_info(9), struct pch_gbe_phy_info(9), struct pch_gbe_rx_desc(9), struct pch_gbe_tx_desc(9), struct pch_gbe_buffer(9), struct pch_gbe_tx_ring(9), struct pch_gbe_rx_ring(9), struct pch_gbe_privdata(9), struct pch_gbe_adapter(9)
like, go read those too, they're the whole friend group π«Ά
ngl there's nothing dangerous in here β it's just counters, bestie π the only cursed thing is the spelling of "restert", and that's just canon now.
and that's the page!! mwah π source file ./drivers/net/ethernet/oki-sem..., dated October 2026, and it's struct pch_gbe_hw_stats(9) all the way down. slay, go count some 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