STRUCT PCH_GBE_TX_RING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pch_gbe_tx_ring(9) β€” like, the whole tx ring situation

okay bestie, so this is a page from the Kernel API Manual and it's all about struct pch_gbe_tx_ring, which is literally the tx ring info. that's the NAME section, we're done with it, slay. πŸŽ€


✨ SYNOPSIS ✨

here's the whole vibe, character for character, no cap:

struct pch_gbe_tx_ring {
    struct pch_gbe_tx_desc *desc;
    dma_addr_t dma;
    unsigned int size;
    unsigned int count;
    unsigned int next_to_use;
    unsigned int next_to_clean;
    struct pch_gbe_buffer *buffer_info;
 };

🌸 MEMBERS 🌸

okay so every single field, and what it actually does β€” paying attention bestie, this is the whole point πŸ‘‘

  • desc β€” pointer to the descriptor ring memory. it's giving "here's where the actual ring lives" energy ✨
  • dma β€” the physical address of the descriptor ring. yes, physical, not virtual, don't get it twisted πŸ’…
  • size β€” the length of the descriptor ring, and it's measured in bytes πŸ“
  • count β€” how many descriptors are chilling in the ring πŸ”₯
  • next_to_use β€” the next descriptor that's gonna get a buffer associated with it. like, the one that's up next πŸ‘‘
  • next_to_clean β€” the next descriptor to check for the DD status bit. yep, that's the whole description, that's the assignment 🫢
  • buffer_info β€” an array of buffer information structs. plural, an array, many of them 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, i'm obsessed with a good cross-reference moment:

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

fr fr read the rx one too, she's the sister struct and she ate πŸ’€

and that's the page!! sign-off time: this lil gem comes from the ./drivers/net/ethernet/oki-sem... corner of the source, and it's dated October 2026 ⭐ genuinely iconic, go read the header file, ily, bye πŸ’–πŸ§š

πŸ“¦ where this page comes from