txall_queue_for_each(9)
π txall_queue_for_each β Kernel API Manual β¨
ok so bestie, buckle up, because we're diving into a kernel macro and honestly? it's giving "small but mighty" π this one lives in the Kernel API Manual, and it's about to make your TX queue loop dreams come true. periodt.
πΈ NAME πΈ
txall_queue_for_each β loop through all the TX related queues π¦
β¨ SYNOPSIS β¨
txall_queue_for_each (__dev , __entry );
π«Ά ARGUMENTS π«Ά
__devβ a pointer tostruct rt2x00_dev. that's your device, your main character π__entryβ a pointer to where the current queue entry is gonna get stored. it's the lil landing spot for whatever the loop is on rn π
π₯ DESCRIPTION π₯
this macro loops through all the TX related queues, and likeβ¦ all of them, okay? no cap. that includes the Beacon and Atim queues too β they're not getting left out of the party π so if you were out here thinking "surely the beacon queue isn't in this loop," wrong, it absolutely is. iykyk π
π§ SEE ALSO π§
literally go read the kernel file ./drivers/net/wireless/ralink/rt2x00/rt2x00queue.h first, it's the whole vibe β and then these besties:
Entry frame size(9)enum data_queue_qid(9)enum skb_frame_desc_flags(9)struct skb_frame_desc(9)get_skb_frame_desc(9)enum rxdone_entry_desc_flags(9)RXDONE_SIGNAL_MASK(9)struct rxdone_entry_desc(9)enum txdone_entry_desc_flags(9)struct txdone_entry_desc(9)enum txentry_desc_flags(9)struct txentry_desc(9)enum queue_entry_flags(9)struct queue_entry(9)enum queue_index(9)enum data_queue_flags(9)struct data_queue(9)queue_end(9)tx_queue_end(9)queue_next(9)queue_loop(9)queue_for_each(9)tx_queue_for_each(9)rt2x00queue_for_each_entry(9)rt2x00queue_empty(9)rt2x00queue_full(9)rt2x00queue_threshold(9)rt2x00queue_dma_timeout(9)_rt2x00_desc_read(9)rt2x00_desc_read(9)rt2x00_desc_write(9)
ok that's the whole page bestie, go loop those queues responsibly π
and that's a wrap! this lil icon dropped from ./drivers/net/wireless/ralink/... back in October 2026 β slay, 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