wx_clean_tx_irq(9)
π wx_clean_tx_irq(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this one's a (9) section page, so it's kernel-internals territory, and today's main character is wx_clean_tx_irq, aka "the cleanup era" π§Ήπ
β¨ NAME β¨
wx_clean_tx_irq β reclaim resources after transmit completes π«Ά
like, transmission is done, the vibe check passed, now we tidy up. no cap.
π¦ SYNOPSIS π¦
bool wx_clean_tx_irq (struct wx_q_vector *q_vector , struct wx_ring
*tx_ring , int napi_budget );
it returns a bool, it takes three things, and yes the line break is just how it printed, she's fine π
π ARGUMENTS π
q_vectorβ thestruct wx_q_vectorthat's holding all your interrupt and ring info. she's the whole info hub tbh πtx_ringβ the tx ring you're cleaning. this is the one getting the glow-up π§Όnapi_budgetβ used to determine if we are in netpoll. that's the whole job, iykyk πΈ
π SEE ALSO π
the kernel file to go look at:
./drivers/net/ethernet/wangxun/libwx/wx_lib.c
and the whole friend group, in the order they're listed, no skipping anyone because they ALL matter π€:
wx_alloc_rx_buffers(9)wx_is_non_eop(9)wx_cleanup_headers(9)wx_rx_checksum(9)wx_process_skb_fields(9)wx_clean_rx_irq(9)wx_poll(9)wx_set_rss_queues(9)wx_acquire_msix_vectors(9)wx_set_interrupt_capability(9)wx_cache_ring_rss(9)wx_alloc_q_vector(9)wx_free_q_vector(9)wx_alloc_q_vectors(9)wx_free_q_vectors(9)wx_clear_interrupt_scheme(9)wx_setup_isb_resources(9)wx_free_isb_resources(9)wx_set_ivar(9)wx_write_eitr(9)wx_configure_vectors(9)wx_clean_rx_ring(9)wx_clean_all_rx_rings(9)wx_free_rx_resources(9)wx_free_all_rx_resources(9)wx_clean_tx_ring(9)wx_clean_all_tx_rings(9)wx_free_tx_resources(9)wx_free_all_tx_resources(9)wx_setup_rx_resources(9)wx_setup_all_rx_resources(9)wx_setup_tx_resources(9)wx_setup_all_tx_resources(9)wx_get_stats64(9)
lowkey a whole squad π but that's the list, exactly as she comes π«Ά
and that's the page!! π this came out of ./drivers/net/ethernet/wangxun..., dated October 2026, and it's filed under wx_clean_tx_irq(9) β so when you cite her, cite her right 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