ef4_init_rx_buffers(9)
πΈ NAME πΈ
Okay bestie, welcome to the ef4_init_rx_buffers(9) page from the Kernel API Manual π
β this one is all about how to create EF4_RX_BATCH page-based RX buffers.
β¨ SYNOPSIS β¨
int ef4_init_rx_buffers (struct ef4_rx_queue *rx_queue , bool atomic );
π ARGUMENTS π
rx_queueβ Efx RX queue. That's the queue we're setting up, no cap.atomicβ control memory allocation flags. It's the vibe check for how memory gets allocated.
π¦ DESCRIPTION π¦
So here's the tea: this allocates a batch of pages, maps them for DMA, and populates struct ef4_rx_buffers for each one. Return a negative error code or 0 on success. π«Ά
And important detail, bestie: if a single page can be used for multiple buffers, then the page will either be inserted fully, or not at all. It's giving all-or-nothing energy β no half-in, half-out situations. β¨
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/sfc/falcon/rx.c ef4_fast_push_rx_descriptors(9)ef4_filter_is_mc_recipient(9)
Mwah π this iconic little page lives under the source/version ./drivers/net/ethernet/sfc/falcon, dated October 2026, and it's the ef4_init_rx_buffers(9) manual page. Byeee! πππ¦
π¦ 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