nfp_nfd3_tx_ring_stop(9)
π nfp_nfd3_tx_ring_stop(9)
okay so this is a page straight out of the Kernel API Manual, bestie, and it's about one very specific little job: stopping a TX ring. she's short, she's sweet, she's doing the most in like six lines. let's get into it π
β¨ NAME β¨
nfp_nfd3_tx_ring_stop β stop tx ring. that's it. that's the whole vibe. no cap, the name is literally the plot π¦
β¨ SYNOPSIS β¨
void nfp_nfd3_tx_ring_stop (struct netdev_queue *nd_q , struct
nfp_net_tx_ring *tx_ring );
returns nothing (void, she gives nothing and takes nothing π
), takes two args, and yes you gotta pass both. periodt.
β¨ ARGUMENTS β¨
nd_qβ netdev queue. the network-device queue in question, main character of the netdev world πΈtx_ringβ driver tx queue structure. the driver-side TX queue struct, aka the actual ring we're here to shut down π
β¨ DESCRIPTION β¨
Safely stop TX ring. π₯
and here's the part where you gotta listen, bestie, because this is the whole reason this function exists: remember that while we are running .start_xmit, someone else may be cleaning the TX ring completions. so we need to be extra careful here. π
like. it's giving "two people editing the same doc at the same time" energy. you're not alone in there, so no cowboy moves. be careful, be safe, be iconic π«Ά
ngl this is a "concurrency is real" moment β the .start_xmit path can be running while someone else cleans completions, so treat the carefulness as load-bearing, not decoration.
β¨ SEE ALSO β¨
Kernel file ./drivers/net/ethernet/netronome/nfp/nfd3/dp.c β go read the source, iykyk π
nfp_nfd3_tx_tso(9)nfp_nfd3_tx_csum(9)nfp_nfd3_tx(9)nfp_nfd3_tx_complete(9)nfp_nfd3_rx_give_one(9)nfp_nfd3_rx_ring_fill_freelist(9)nfp_nfd3_rx_csum_has_errors(9)nfp_nfd3_rx_csum(9)nfp_nfd3_rx(9)nfp_nfd3_poll(9)
the whole friend group fr fr π
and that's the page!! shoutout to the source path ./drivers/net/ethernet/netrono... (yes it's literally truncated like that, i don't make the rules π) and to October 2026 for the timestamp β this one's dated and slaying, mwah πβ¨
π¦ 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