STRUCT PCH_GBE_HW_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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