tx_queue_end(9)
π tx_queue_end(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to tx_queue_end(9) from the Kernel API Manual β¨ this one's short and sweet, we love a low-effort bop π
πΈ NAME πΈ
tx_queue_end β returns a pointer to the last TX queue. it's a HELPER MACRO, periodt π
π¦ SYNOPSIS π¦
tx_queue_end (__dev );
π ARGUMENTS π
__devβ a pointer tostruct rt2x00_dev. that's it, that's the whole argument list, she's low maintenance π
β¨ DESCRIPTION β¨
okay so here's the vibe: the macro takes the base tx pointer plus the maximum number of available TX queues, and from those two it hands you back the address of 1 position beyond the end of the TX queue array π₯
yes bestie β one past the end, not the last element itself π that's the whole personality of this macro. no cap.
π SEE ALSO π
this list is giving "linked in every direction" fr fr, but we respect the hustle π«Ά and also the kernel file it lives in: ./drivers/net/wireless/ralink/rt2x00/rt2x00queue.h β 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)queue_next(9)queue_loop(9)queue_for_each(9)tx_queue_for_each(9)txall_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)
and that's the whole page, icon main character energy from a three-line macro π mwah π this one came from ./drivers/net/wireless/ralink/... and it's stamped October 2026, so go forth and iterate responsibly bestie πΈπ
π¦ 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