t4_get_chan_txrate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– t4_get_chan_txrate β€” the kernel API manual, section 9, bestie πŸ’–

Okay so picture this: it's t4_get_chan_txrate(9), right, and she's literally the main character of the Tx-rate world. This is her page. Sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

t4_get_chan_txrate β€” get the current per channel Tx rates πŸŽ€


🌸 SYNOPSIS 🌸

void t4_get_chan_txrate (struct adapter *adap , u64 *nic_rate , u64 *ofld_rate );

No cap, that's the whole signature. Look at her go πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adap β€” the adapter, obvs. The whole device vibe. 🫢
  • nic_rate β€” rates for NIC traffic. yes bestie, this is a pointer, she writes into it ✨
  • ofld_rate β€” rates for offloaded traffic. the other pointer. equally iconic. πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

Return the current Tx rates in bytes/s for NIC and offloaded traffic for each channel.

That's it. That's the whole thing. She's a short queen and she knows it πŸ’…πŸ”₯ Units matter though β€” bytes/s, so don't come at her with bits, iykyk. And it's per channel, and current, so like… a snapshot of the moment, not a historical record. Periodt.


🌈 SEE ALSO 🌈

First up, the source she actually lives in:

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

And now the extended friend group β€” her whole group chat, every single one of them, no gatekeeping πŸ‘‘:

Like… that's a lot of friends and every single one of them made the list πŸ’€ but we love a well-documented function family, fr fr 🫢


Okay that's the whole page, bestie! Sending you off with the receipts: this came from source/version <code>./drivers/net/ethernet/chelsio...</code> and it's dated October 2026 β€” so mark your calendar, she's from the future βœ¨πŸ’… and the page itself is t4_get_chan_txrate(9), obviously. bye mwah πŸŽ€

πŸ“¦ where this page comes from