STRUCT PCH_GBE_MAC_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct pch_gbe_mac_info(9) 🌸

okay so this is a page from the Kernel API Manual, bestie β€” welcome to the MAC info glow-up zone πŸ’…


✨ NAME ✨

struct pch_gbe_mac_info β€” literally MAC information. like, the whole vibe of the NIC's media access control identity lives here. and heads up: @addr[6] is where the MAC address itself is stored πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pch_gbe_mac_info {
    u8 addr[6];
    u8 fc;
    u8 fc_autoneg;
    u8 tx_fc_enable;
    u32 max_frame_size;
    u32 min_frame_size;
    u8 autoneg;
    u16 link_speed;
    u16 link_duplex;
 };

no cap, that's the whole struct. she's not huge but she's iconic πŸ‘‘


πŸ’– Members πŸ’–

  • fc β€” the mode of flow control. this is how she handles flow control, periodt 🫢
  • fc_autoneg β€” auto negotiation enable for the flow control setting. so like, whether flow control gets to figure itself out on its own ✨
  • tx_fc_enable β€” the enable flag of Transmit flow control. transmit flow control: on or off, that's the whole assignment πŸ”₯
  • max_frame_size β€” max transmit frame size. the ceiling, the limit, the "don't you dare go bigger than this" πŸ“
  • min_frame_size β€” min transmit frame size. the floor. tiny frames matter too πŸ₯Ί
  • autoneg β€” auto negotiation enable. yes bestie, she can negotiate for herself πŸ’…
  • link_speed β€” link speed, stored as a u16. how fast we're going 🏎️
  • link_duplex β€” link duplex, also a u16. duplex mode energy 🌈
ngl, addr[6] shows up in the struct up there but it's not in the Members list below β€” that's just how the page is, don't come for me πŸ™ˆ it's the MAC address storage, per the NAME section.

πŸ‘€ SEE ALSO πŸ‘€

kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h β€” go read it, iykyk πŸ“– and also these sibling structs, because the whole friend group is linked:

  • 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_hw_stats(9)
  • struct pch_gbe_privdata(9)
  • struct pch_gbe_adapter(9)

aaaand that's the page, babe 🧚 source path got cut off as ./drivers/net/ethernet/oki-sem... and the date on it is October 2026, and the whole thing is filed under struct pch_gbe_mac_info(9) β€” mwah, go touch some kernel code πŸ’œπŸ’–πŸŽ€

πŸ“¦ where this page comes from