ice_fill_tx_hw_ring(9)
π NAME
ice_fill_tx_hw_ring β okay so this is the girlie that produces the number of Tx descriptors onto the ring. Slay. β¨
This page lives in the Kernel API Manual, which is giving very "iykyk, kernel edition" energy π
πΈ SYNOPSIS
void ice_fill_tx_hw_ring (struct ice_tx_ring *xdp_ring , struct
xsk_buff_pool *xsk_pool , struct xdp_desc *descs , u32 nb_pkts ,
unsigned int *total_bytes );
Like literally that's the whole signature, no cap. π«Ά
β¨ ARGUMENTS
Miss thing takes five arguments and honestly? She needs all of them. Here's the breakdown bestie:
- _
xdp_ring_ β the XDP ring to produce the HW Tx descriptors on. This is the main character of the operation, fr fr π - _
xsk_pool_ β the XSK buffer pool to pick buffers to be consumed by HW. Think of it as the lil stash of snacks π that hardware is gonna munch on. - _
descs_ β the AF_XDP descriptors to pull the DMA addresses and lengths from. So she's grabbing the actual addresses + lengths outta here π - _
nb_pkts_ β count of packets to be send. That's the number of packets, periodt. (Yes the original says "send" and not "sent", we respect the source π) - _
total_bytes_ β bytes accumulator that will be used for stats update. She's the running total, keeping receipts for the stats π
π₯ SEE ALSO
Okay so first off, the kernel file herself:
./drivers/net/ethernet/intel/ice/ice_xsk.c
And then the whole friend group, a literal group chat of functions, all of them iconic π:
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_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_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)
Not me ending the whole page btw π«Ά this one came out of./drivers/net/ethernet/intel/iceand it's dated October 2026, and she's very muchice_fill_tx_hw_ring(9)through and through. Obsessed, honestly. πβπ
π¦ 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