fm10k_set_num_queues(9)
π fm10k_set_num_queues(9) π
okay so bestie, welcome to the kernel API manual β this one lives in fm10k_set_num_queues(9), and it's literally the queue-allocating queen of the fm10k driver πβ¨
πΈ NAME πΈ
fm10k_set_num_queues β allocate queues for the device, depending on which features are turned on π
β¨ SYNOPSIS β¨
void fm10k_set_num_queues (struct fm10k_intfc *interface );
π¦ ARGUMENTS π¦
interfaceβ the board private structure you're initializing. that's the one we're setting up, no cap π«Ά
π DESCRIPTION π
okay so this is the top level queue allocation routine β the main character of the whole queue setup, fr fr π
and the order in here? highkey important. like, do not touch it π it starts with the "most" number of features turned on all at once, and then works its way down to the smallest set of features. the way that works: big combinations get allocated if they're turned on, and the smaller combinations are the fall-through conditions for when they're not π
so basically: biggest vibe first, tiny vibe last, and everything in between catches you on the way down β¨
π₯ SEE ALSO π₯
the kernel file lives right here:
./drivers/net/ethernet/intel/fm10k/fm10k_main.c
and here's the whole friend group, like the entire squad, everyone's invited π«Ά:
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_reset_num_queues(9)fm10k_alloc_q_vector(9)fm10k_free_q_vector(9)fm10k_alloc_q_vectors(9)fm10k_free_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)
mwah π that's the whole page β kernel file ./drivers/net/ethernet/intel/f..., dated October 2026, page fm10k_set_num_queues(9). go slay your queues, 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