idpf_rx_sing...hw_alloc_all(9)
π idpf_rx_singleq_buf_hw_alloc_all π
Okay so bestie, welcome to the Kernel API Manual β this is the page for idpf_rx_singleq_buf_hw_alloc_all(9), and honestly? It's giving "I replace used receive buffers so your network card doesn't just sit there looking tragic." Let's get into it. π¦
β¨ NAME β¨
idpf_rx_singleq_buf_hw_alloc_all β replace used receive buffers, no cap. That's literally the whole job. π
πΈ SYNOPSIS πΈ
bool idpf_rx_singleq_buf_hw_alloc_all (struct idpf_rx_queue *rx_q , u16
cleaned_count );
π ARGUMENTS π
rx_qβ the queue where we're putting the new hardware buffers back. Think of it as the main character queue that needs its glow-up. β¨cleaned_countβ the number of buffers we need to replace. Literally just "how many, bestie?" π’
π₯ DESCRIPTION π₯
So here's the vibe check: this function returns false if all the allocations were successful, and true if any of them fail. π«Ά
β οΈ Yes bestie, I know βfalsemeans success andtruemeans something went wrong. That's the API's choice and we respect it, even if it's a little chaotic. Deal with it. π
π SEE ALSO π
The kernel file that this lives in is:
./drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
And fr fr, here's the whole squad of related functions β every single one, because we don't gatekeep here:
idpf_tx_singleq_csum(9)idpf_tx_singleq_dma_map_error(9)idpf_tx_singleq_map(9)idpf_tx_singleq_get_ctx_desc(9)idpf_tx_singleq_build_ctx_desc(9)idpf_tx_singleq_frame(9)idpf_tx_singleq_clean(9)idpf_tx_singleq_clean_all(9)idpf_rx_singleq_test_staterr(9)idpf_rx_singleq_is_non_eop(9)idpf_rx_singleq_csum(9)idpf_rx_singleq_base_csum(9)idpf_rx_singleq_flex_csum(9)idpf_rx_singleq_base_hash(9)idpf_rx_singleq_flex_hash(9)__idpf_rx_singleq_process_skb_fields(9)idpf_rx_buf_hw_update(9)idpf_rx_singleq_extract_base_fields(9)idpf_rx_singleq_extract_flex_fields(9)idpf_rx_singleq_extract_fields(9)idpf_rx_singleq_clean(9)idpf_rx_singleq_clean_all(9)idpf_vport_singleq_napi_poll(9)
β¨ That's the whole page, bestie. Now go replace those buffers and slay. β¨
This page is chillin' in ./drivers/net/ethernet/intel/idpf, and the version date is October 2026 β so yeah, it's lowkey from the future. π
idpf_rx_sing...hw_alloc_all(9) π«Ά
π¦ 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