STRUCT TXQ_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

welcome to the Kernel API Manual page for struct txq_info(9), bestie β€” it's a per tid queue. that's the whole name, and it's literally a per tid queue πŸ’….

✨ SYNOPSIS ✨

okay so here's the exact struct, and yes every field is staying because we do not skip:

struct txq_info {
    struct fq_tin tin;
    struct codel_vars def_cvars;
    struct codel_stats cstats;
    u16 schedule_round;
    struct list_head schedule_order;
    struct sk_buff_head frags;
    unsigned long flags;
    struct ieee80211_txq txq;
 };

πŸŽ€ Members πŸŽ€

vibe check on each member, no cap:

  • tin β€” contains packets split into multiple flows. it's the part holding packets that got split into multiple flows, and that's lowkey the whole point. πŸ¦‹
  • def_cvars β€” codel vars for the tin's default_flow. these are the codel vars for the tin's default_flow, exactly as stated. 🫢
  • cstats β€” code statistics for this queue. keeping the code statistics for this queue β€” periodt. πŸ’–
  • schedule_round β€” counter to prevent infinite loops on TXQ scheduling. it's the counter that keeps TXQ scheduling from infinite-looping, highkey crucial. πŸ”₯
  • schedule_order β€” used with ieee80211_local->active_txqs. no extra lore: it's used with ieee80211_local->active_txqs.
  • frags β€” used to keep fragments created after dequeue. literally used to keep fragments created after dequeue. πŸŽ€
  • flags β€” TXQ flags from enum txq_info_flags. all the TXQ flags from enum txq_info_flags, fr fr.
  • txq β€” the driver visible part. the driver visible part, aka the part the driver gets to see πŸ‘‘.

🌈 SEE ALSO 🌈

go give these a read too, iykyk β€” all of them are right here:

  • Kernel file ./net/mac80211/ieee80211_i.h
  • enum ieee80211_bss_corrupt_data_flags(9)
  • enum ieee80211_bss_valid_data_flags(9)
  • enum ieee80211_packet_rx_flags(9)
  • enum ieee80211_rx_flags(9)
  • struct ieee80211_if_ocb(9)
  • struct ieee80211_mesh_sync_ops(9)
  • struct mesh_table(9)
  • struct mesh_tx_cache(9)
  • enum ieee80211_sub_if_data_flags(9)
  • enum ieee80211_sdata_state_bits(9)
  • enum ieee80211_chanctx_mode(9)
  • enum ieee80211_chanctx_replace_state(9)
  • struct ieee80211_if_nan(9)
  • struct ieee80211_if_nan_data(9)
  • enum mac80211_scan_flags(9)
  • enum mac80211_scan_state(9)
  • ieee80211_parse_ch_switch_ie(9)
  • struct ieee80211_elems_parse_params(9)

mwah πŸ’‹ this page is from ./net/mac80211, dated October 2026, and it's literally the struct txq_info(9) manual β€” bye bestie, go be iconic with your queues! 🫢✨

πŸ“¦ where this page comes from