diff options
| author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2026-08-02 13:40:13 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-03 18:35:45 -0700 |
| commit | b6a89c8ef34f84488f877e29b14f0c843bfdff51 (patch) | |
| tree | ceccbcad15b116294d38f1adad9a75d7df9e02fb /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c98610c2eb7002436f6fca55b21c63200644549a (diff) | |
net: stmmac: ethtool: Comment the magic numbers in RIWT computation
Receive Interrupt Watchdog Timer is an RX interrupt coalescing mechanism
used by some variants of dwmac. It allows waiting a bit before
triggering the rx interrupts, allowing for batch processing.
The RIWT is configured with a granularity of 256 stmmac clk ticks. Let's
add a comment for that and wrap the raw "1000000" into USEC_PER_SEC, as
we're computing "how many clock cycles in one microsec" with that step.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260802114015.214212-2-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
