ice_alloc_rx_bufs_zc(9)
π ice_alloc_rx_bufs_zc(9) β Kernel API Manual π
πΈ NAME πΈ
okay so bestie, ice_alloc_rx_bufs_zc is literally allocate a number of Rx buffers β thatβs the whole main character energy of this page. π
β¨ SYNOPSIS β¨
bool ice_alloc_rx_bufs_zc (struct ice_rx_ring *rx_ring , struct xsk_buff_pool *xsk_pool , u16 count );
π ARGUMENTS π
rx_ringβ the Rx ring, bestie. Thatβs the ring weβre working with. π«Άxsk_poolβ the XSK buffer pool to pick buffers to be filled by HW. Hardware does the filling, not us β iconic division of labor. β¨countβ the number of buffers to allocate. Like, how many are we grabbing? This many. π
π¦ DESCRIPTION π¦
okay so real talk: this is a wrapper for internal allocation routine β itβs giving βmiddle manager with excellent vibes.β It figures out how many tail bumps should take place based on the given threshold. Lowkey very specific, highkey important. π
It returns true if all calls to internal alloc routine succeeded β so if everything went off without a hitch, you get that true, no cap. π₯
π SEE ALSO π
go look at these besties too, fr fr:
- Kernel file:
./drivers/net/ethernet/intel/ice/ice_xsk.cβ iykyk, thatβs the source file. π§ ice_qvec_toggle_napi(9)ice_qvec_dis_irq(9)ice_qvec_cfg_msix(9)ice_qvec_ena_irq(9)ice_xsk_pool_disable(9)ice_xsk_pool_enable(9)ice_realloc_rx_xdp_bufs(9)ice_xsk_pool_setup(9)ice_fill_rx_descs(9)__ice_alloc_rx_bufs_zc(9)ice_clean_xdp_irq_zc(9)ice_xmit_xdp_tx_zc(9)ice_run_xdp_zc(9)ice_clean_rx_irq_zc(9)ice_xmit_pkt(9)ice_xmit_pkt_batch(9)ice_fill_tx_hw_ring(9)ice_xmit_zc(9)ice_xsk_wakeup(9)ice_xsk_any_rx_ring_ena(9)ice_xsk_clean_rx_ring(9)ice_xsk_clean_xdp_ring(9)
π and thatβs the sign-off, bestie: source/version ./drivers/net/ethernet/intel/ice, dated October 2026 β Kernel API Manual out. periodt. π
π¦ 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