STRUCT PCH_GBE_BUFFER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct pch_gbe_buffer πŸ¦‹

okay bestie, welcome to the Kernel API Manual corner of the group chat πŸ’–. this page is all about struct pch_gbe_buffer, and it is giving β€œbuffer information but make it iconic.” no cap, it’s a C struct, so let’s get into it πŸŽ€.


🌸 NAME 🌸

struct pch_gbe_buffer β€” buffer information. that’s the name, and honestly she ate: it’s literally the buffer info struct ✨.

✨ SYNOPSIS ✨

struct pch_gbe_buffer {
    struct sk_buff *skb;
    dma_addr_t dma;
    unsigned char *rx_buffer;
    unsigned long time_stamp;
    u16 length;
    bool mapped;
 };

πŸŽ€ Members πŸŽ€

  • skb β€” pointer to a socket buffer. lowkey the main character slot 🫢
  • dma β€” DMA address. that’s the whole vibe, periodt πŸ’…
  • time_stamp β€” time stamp. she’s keeping track of the moment ⏰
  • length β€” data size. how much data we’re talking about, fr fr πŸ“
btw, the struct code block also has rx_buffer and mapped in it. the Members section on this page only gives blurbs for skb, dma, time_stamp, and length β€” keeping it exactly as the manual says πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h β€” that’s where this lives, bestie 🧚

and then there’s the whole struct squad:

  • 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_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)

and that’s the page! 🫢 the footer energy is ./drivers/net/ethernet/oki-sem... and October 2026, with struct pch_gbe_buffer(9) holding it down at the end. mwah πŸ’‹

πŸ“¦ where this page comes from