fm10k_alloc_rx_buffers(9)
π fm10k_alloc_rx_buffers β a Kernel API Manual page, bestie edition π
okay so hi!! π«Ά you found the page for fm10k_alloc_rx_buffers, and yes it's from the Kernel API Manual (that's the manual name, we're folding it in right here at the top, no boring header line, we're better than that β¨). This one's short and sweet, so let's go, bestie β it's giving "tiny function, big responsibility" energy fr fr.
β¨ NAME β¨
fm10k_alloc_rx_buffers β literally just replace used receive buffers π
that's the whole gig. Nothing more, nothing less. Iconic, honestly.
πΈ SYNOPSIS πΈ
void fm10k_alloc_rx_buffers (struct fm10k_ring *rx_ring , u16
cleaned_count );
no cap, that's the exact signature β don't come for me about the line break, it's character for character what the page says π
π¦ ARGUMENTS π¦
Two (2) arguments. Two! We love a low-maintenance function.
rx_ringβ the ring you're placing buffers on π like, this is the ring, the main character of the operation, no notes.cleaned_countβ the number of buffers to replace π so it's au16, and it's telling the function how many fresh ones to slide into place.
bestie reminder:rx_ringis astruct fm10k_ring *andcleaned_countis au16, exactly like the synopsis says β don't be out here changing types, that's not the vibe π
π SEE ALSO π
first up, the actual kernel file this lives in β go look, it's right there, slay:
- Kernel file
./drivers/net/ethernet/intel/fm10k/fm10k_main.cπ
and then the whole friend group of related pages, in order, all of them, I'm not skipping a single one because that would be rude π«Ά:
fm10k_init_module(9)fm10k_exit_module(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_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)
and that's the whole page, bestie!! π
β¨ this one came from the source/version shown as ./drivers/net/ethernet/intel/f... (yes the page really does cut it off with the lil dots, I'm just being faithful π) and it's dated October 2026 π
β so when you cite it, cite it cute. ok bye, go allocate those buffers, iykyk ππ₯
π¦ 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