STRUCT EF4_BUFFER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ef4_buffer(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct ef4_buffer, and honestly? she's a whole vibe. πŸŽ€


🌸 NAME 🌸

struct ef4_buffer β€” a general-purpose DMA buffer. yes ma'am, general purpose, she does it all 🫢


✨ SYNOPSIS ✨

struct ef4_buffer {
    void *addr;
    dma_addr_t dma_addr;
    unsigned int len;
 };

like, that's it. three fields. little legend behavior honestly πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • addr β€” the host base address of the buffer. this is where it lives on your side of the fence πŸ’–
  • dma_addr β€” the DMA base address of the buffer. same buffer, different address, device's-eye view ✨
  • len β€” buffer length, in bytes. she has to know how big she is, periodt πŸ“

🧚 Description 🧚

so the NIC uses these buffers for its interrupt status registers and its MAC stats dumps. that's the whole assignment. no cap, that's what she's for πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/ethernet/sfc/falcon/net_driver.h
  • struct ef4_special_buffer(9)
  • struct ef4_tx_buffer(9)
  • struct ef4_tx_queue(9)
  • struct ef4_rx_buffer(9)
  • struct ef4_rx_page_state(9)
  • struct ef4_rx_queue(9)
  • struct ef4_channel(9)
  • struct ef4_msi_context(9)
  • struct ef4_channel_type(9)
  • struct ef4_link_state(9)
  • struct ef4_phy_operations(9)
  • enum ef4_phy_mode(9)
  • struct ef4_hw_stat_desc(9)
  • struct ef4_nic(9)
  • struct ef4_nic_type(9)

like the whole friend group showed up to the function πŸ˜­πŸ’œ go say hi to all of them, iykyk πŸ¦‹


ngl bestie, that SEE ALSO list is long but it's giving "the entire extended family at the cookout" β€” every single one of them is invited, so don't skip anyone πŸ™ˆ

and that's the page!! πŸ’– this one came from ./drivers/net/ethernet/sfc/falcon, dated October 2026, and it's titled struct ef4_buffer(9) β€” ok bye, ily, go read the next manpage πŸŽ€πŸ’œβœ¨

πŸ“¦ where this page comes from