t4_get_tx_sched(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– t4_get_tx_sched πŸ’–

okay bestie, welcome to the t4_get_tx_sched(9) page from the Kernel API Manual β€” yes, the manual name is part of the title, we're keeping it, it's giving very official πŸ’…. This one is short and sweet and honestly kind of iconic in its simplicity. Let's go.


✨ SYNOPSIS ✨

void t4_get_tx_sched (struct adapter *adap , unsigned int sched ,
      unsigned int *kbps , unsigned int *ipg , bool sleep_ok );

literally that's the whole signature, no crumbs, no notes 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • adap β€” the adapter. your main character hardware struct, the whole vibe starts here 🌸
  • sched β€” the scheduler index. which Tx scheduler you're asking about, bestie, be specific πŸ‘‘
  • kbps β€” the byte rate in Kbps. yes, the doc says "byte rate", we're reporting it exactly as written, no notes πŸ™ˆ
  • ipg β€” the interpacket delay in tenths of nanoseconds. tenths!! of nanoseconds!! tiny units, huge energy ⭐
  • sleep_ok β€” if true we may sleep while awaiting command completion. so if it's true, nap time is legal πŸ˜΄πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

Return the current configuration of a HW Tx scheduler.

that's it. that's the description. it's literally one line and honestly? respect. it knows what it is πŸ”₯

so like β€” you hand it an adapter and a scheduler index, and it hands you back the config: the rate into kbps, the interpacket delay into ipg. and sleep_ok tells it whether it's allowed to sleep while it's waiting for the command to finish. no cap, that's the whole deal πŸ’œ


🌈 SEE ALSO 🌈

first up, the actual kernel file this lives in:

  • Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

and then... the extended family. the whole group chat. every single one of these, bestie, no skips:

yeah that's 140-ish cross-references and we did not skip a single one, because leaving out a SEE ALSO is a crime and we don't do crimes here πŸ’…βœ¨

aaaand that's the page!! πŸŽ€ huge shoutout to the source ./drivers/net/ethernet/chelsio... and to October 2026 for the date stamp β€” this t4_get_tx_sched(9) entry is out here living its best life, one line of description and a whole extended family of cross-refs. slay, honestly. πŸ¦‹πŸ’œπŸŒΈ

πŸ“¦ where this page comes from