iavf_napi_poll(9)
π iavf_napi_poll β the Kernel API Manual, but make it group chat π«Ά
okay so bestie, we're talking about iavf_napi_poll here β it's a kernel API manual page (section 9, iykyk) and it's literally the NAPI polling Rx/Tx cleanup routine. yes bestie, both directions. she does it all. π
β¨ SYNOPSIS β¨
int iavf_napi_poll (struct napi_struct *napi , int budget );
that's the whole vibe right there. hand her a napi struct and a budget, she gives you back an int. iconic behavior honestly. π
πΈ ARGUMENTS πΈ
napiβ thenapistruct, and no cap, our device's info is living inside it. it's giving "everything you need is in this one bag" energy. πβ¨budgetβ how much work the driver is allowed to do this pass, measured in packets. think of it as her allowance for the round, and she is NOT overspending. πΈ
π DESCRIPTION π
so this function will clean all the queues associated with a q_vector. all of them. not some, not most β all. she's thorough like that. π§Ήβ¨
and then? she returns the amount of work done. that's it, that's the whole function. short and slay. π
π¦ SEE ALSO π¦
the kernel file she lives in, for when you wanna go visit:
./drivers/net/ethernet/intel/iavf/iavf_txrx.c
and her whole friend group, fr fr β the entire iavf squad:
iavf_is_descriptor_done(9),iavf_unmap_and_free_tx_resource(9),iavf_clean_tx_ring(9),iavf_free_tx_resources(9),iavf_get_tx_pending(9),iavf_force_wb(9),iavf_detect_recover_hung(9),iavf_clean_tx_irq(9),iavf_enable_wb_on_itr(9),iavf_update_itr(9),iavf_setup_tx_descriptors(9),iavf_clean_rx_ring(9),iavf_free_rx_resources(9),iavf_setup_rx_descriptors(9),iavf_release_rx_desc(9),iavf_receive_skb(9),iavf_alloc_rx_buffers(9),iavf_rx_csum(9),iavf_legacy_rx_csum(9),iavf_flex_rx_csum(9),iavf_legacy_rx_hash(9),iavf_flex_rx_hash(9),iavf_flex_rx_tstamp(9),iavf_process_skb_fields(9),iavf_cleanup_headers(9),iavf_add_rx_frag(9),iavf_build_skb(9),iavf_is_non_eop(9),iavf_extract_legacy_rx_fields(9),iavf_extract_flex_rx_fields(9),iavf_clean_rx_irq(9),iavf_update_enable_itr(9),iavf_tx_prepare_vlan_flags(9),iavf_tso(9),iavf_tx_enable_csum(9),iavf_create_tx_ctx(9),__iavf_chk_linearize(9),__iavf_maybe_stop_tx(9),iavf_tx_map(9),iavf_xmit_frame_ring(9),iavf_xmit_frame(9)
like, that's a lot of friends, and honestly? main character energy for knowing all of them. ππ₯
π friendly reminder bestie: these(9)pages are all kernel-internal API docs β this isn't a command you type in your shell, it's a function in theiavfdriver source. don't go typing it into a terminal and wondering why nothing happens ππ
anyway that's the whole page, and you ate it up, no crumbs. πβ¨
sign-off time π β this little beauty came from the ./drivers/net/ethernet/intel/iavf source, dated October 2026, and the man page itself is iavf_napi_poll(9). mwah, love u, bye ππ¦
π¦ 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