nfp_net_rx_ring_reset(9)
π nfp_net_rx_ring_reset(9) β like, the Kernel API Manual page, bestie
okay so bestie, welcome to section 9 of the Kernel API Manual β yes, the kernel one, we're doing big-girl kernel things today π this is nfp_net_rx_ring_reset, and ngl it's a short one, but she's important.
β¨ NAME β¨
nfp_net_rx_ring_reset β reflect in SW state of freelist after disable π¦
like, that's the whole vibe: the hardware got disabled, and now the software side of the freelist needs to catch up and reflect that. no cap.
πΈ SYNOPSIS πΈ
void nfp_net_rx_ring_reset (struct nfp_net_rx_ring *rx_ring );
that's it. that's the whole signature. she returns void, meaning she gives you nothing back β she's not here to hand you a return value, she's here to do the work and ghost ππ
π ARGUMENTS π
rx_ringβ the RX ring structure π« that's your one and only parameter, and she's the star of the show.
π₯ DESCRIPTION π₯
okay so the tea: this function assumes that the device is stopped β like, fully stopped, do not pass go, do not collect $200 π and it must be idempotent.
π«Ά idempotent means you can call it over and over and it stays giving the same result β calling it twice doesn't wreck anything, it's just her doing her little reset thing again. the more you know, iykyk
the way the device is assumed stopped is not a suggestion, bestie β it's a whole precondition. don't come at her with a running device.
π SEE ALSO π
- the kernel file
./drivers/net/ethernet/netronome/nfp/nfp_net_dp.cπ (yes, that's where she lives, go say hi) nfp_net_rx_alloc_one(9)nfp_net_tx_ring_init(9)nfp_net_rx_ring_init(9)nfp_net_rx_ring_bufs_free(9)nfp_net_rx_ring_bufs_alloc(9)nfp_net_rx_ring_free(9)nfp_net_rx_ring_alloc(9)
like, the whole ring-management friend group honestly π β alloc, init, free, bufs alloc, bufs free, tx ring init. she's got connections. main character energy fr.
and that's the page, bestie! π this lil cutie came out of ./drivers/net/ethernet/netrono... (yes the footer truncates it like that, not my fault π) and she's dated October 2026. slay, see u in the next manpage π§β¨
π¦ 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