STRUCT PCH_GBE_RX_RING(9)
π NAME π
struct pch_gbe_rx_ring β literally the rx ring info, bestie. that's the whole vibe check.
okay so this is from the Kernel API Manual, and it's the struct that holds all the deets about a receive ring. it's giving "backstage pass to the rx queue" energy and honestly? iconic. π
β¨ SYNOPSIS β¨
struct pch_gbe_rx_ring {
struct pch_gbe_rx_desc *desc;
dma_addr_t dma;
unsigned char *rx_buff_pool;
dma_addr_t rx_buff_pool_logic;
unsigned int rx_buff_pool_size;
unsigned int size;
unsigned int count;
unsigned int next_to_use;
unsigned int next_to_clean;
struct pch_gbe_buffer *buffer_info;
};
like, that's the whole struct, no cap. every field exactly as it is β i'm not touching a single character of it because the compiler does NOT forgive π
π MEMBERS π
so here's the member breakdown, and yeah we're going through all of them:
descβ pointer to the descriptor ring memory. it's the actual ring, the main character πdmaβ the physical address of the descriptor ring. dma said "i'll handle the address, you handle the vibes" π¦sizeβ length of descriptor ring in bytes. the ring's measurements, if you will πcountβ number of descriptors in the ring. how many lil descriptor besties we got in here β¨next_to_useβ next descriptor to associate a buffer with. the "who's up next" field, lowkey the most organized thing in the whole struct πnext_to_cleanβ next descriptor to check for DD status bit. the cleanup crew, checking the DD status bit like the responsible icon it is π§Ήbuffer_infoβ array of buffer information structs. plural! a whole array of them! ate π
real talk though: the struct in the synopsis also hasrx_buff_pool,rx_buff_pool_logic, andrx_buff_pool_sizein it, but this page doesn't give any blurb for those three. so likeβ¦ they're there, sitting pretty, just undocumented on this particular page. i'm not gonna make stuff up about them because that's not the move π
π¦ SEE ALSO π¦
Kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h β go read it, it's where all the friends live:
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_hw_stats(9)struct pch_gbe_privdata(9)struct pch_gbe_adapter(9)
and that's the page!! π mwah π
sign-off time: this little number comes to you from the source./drivers/net/ethernet/oki-sem...(yes it's truncated in the footer, don't come for me π), dated October 2026, and it'sstruct pch_gbe_rx_ring(9)all day every day. periodt. π β¨
π¦ 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