fm10k_free_q_vectors(9)
π fm10k_free_q_vectors β the Kernel API Manual moment π
okay so bestie, buckle up, because we're talking about fm10k_free_q_vectors today β it lives in the Kernel API Manual and honestly it's giving "cleanup crew, but make it iconic" β¨
πΈ NAME πΈ
fm10k_free_q_vectors β literally frees the memory that was allocated for interrupt vectors π§Ήπ
β¨ SYNOPSIS β¨
void fm10k_free_q_vectors (struct fm10k_intfc *interface );
that's it. one function, one pointer, zero drama π«Ά
π¦ ARGUMENTS π¦
interfaceβ the board private structure to initialize, no cap π
π₯ DESCRIPTION π₯
okay so here's the tea β β this function frees the memory that was allocated to the q_vectors. simple, slay, done, right?
but wait, there's more π and it's lowkey important: in addition, if NAPI is enabled, it will delete any references to the NAPI struct prior to freeing the q_vector. so like, the references get cleaned up first, and then the q_vector itself gets freed. order matters, bestie β it's giving "unlink before you yeet" πβ¨
π SEE ALSO π
the kernel file, for when you want to go read the source yourself (respect):
./drivers/net/ethernet/intel/fm10k/fm10k_main.c
and the whole friend group π«Ά:
fm10k_init_module(9)fm10k_exit_module(9)fm10k_alloc_rx_buffers(9)fm10k_reuse_rx_page(9)fm10k_add_rx_frag(9)fm10k_process_skb_fields(9)fm10k_is_non_eop(9)fm10k_cleanup_headers(9)fm10k_receive_skb(9)fm10k_get_tx_pending(9)fm10k_tx_timeout_reset(9)fm10k_clean_tx_irq(9)fm10k_update_itr(9)fm10k_set_qos_queues(9)fm10k_set_rss_queues(9)fm10k_set_num_queues(9)fm10k_reset_num_queues(9)fm10k_alloc_q_vector(9)fm10k_free_q_vector(9)fm10k_alloc_q_vectors(9)fm10k_reset_msix_capability(9)fm10k_init_msix_capability(9)fm10k_cache_ring_qos(9)fm10k_cache_ring_rss(9)fm10k_assign_rings(9)fm10k_init_queueing_scheme(9)fm10k_clear_queueing_scheme(9)
and that's the whole page, bestie π source ./drivers/net/ethernet/intel/f..., dated October 2026 β fm10k_free_q_vectors(9) out π
β¨π
π¦ 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