idpf_tx_singleq_clean(9)
π idpf_tx_singleq_clean(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel, specifically the idpf driver, and you need to reclaim resources from a queue. That's literally the whole vibe of this function, and honestly? She ate. β¨
πΈ NAME πΈ
idpf_tx_singleq_clean β reclaim resources from queue π
Like, the queue has been out there living its main character life sending packets, and now it's time to come home and give back what it borrowed. Cleanup era fr fr π
π¦ SYNOPSIS π¦
bool idpf_tx_singleq_clean (struct idpf_tx_queue *tx_q , int napi_budget
, int *cleaned );
She returns a bool, she takes three args, no cap. Note the exact spacing because we do not edit signatures in this house π
β¨ ARGUMENTS β¨
tx_qβ the Tx queue to clean π§Ή this is the queue getting its reset-and-refresh moment, the glow-up, the it's giving closurenapi_budgetβ used to determine if we are in netpoll π that's the whole job of this one, she's the vibes check for netpollcleanedβ returns number of packets cleaned π₯ so it's an output-ish situation, it hands back the count, iconic
ngl these three are a little friend group: one queue, one budget, one counter. π«Ά
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c π (that's where she lives, go say hi)
and the whole extended found family, in the order the manual lists them, literally every single one:
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_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_buf_hw_alloc_all(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)
not me listing the entire group chat π but that's the assignment and we do it correctly. iykyk.
mwah π stay clean, stay single-q, stay iconic. this page came from ./drivers/net/ethernet/intel/idpf, October 2026 β catch you in the next manpage bestie πβ
π¦ 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