diff options
| author | Shayne Chen <shayne.chen@mediatek.com> | 2021-01-05 11:55:25 +0300 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2021-01-26 22:07:48 +0300 |
| commit | ba4590942e293886d70ef3c8a34173b562de2402 (patch) | |
| tree | 0975b7523f60630ab8e4e46ab927c56e1291d249 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | b8cbdb97437c0e0c8370c650d51a7bcb165e5fed (diff) | |
| download | linux-ba4590942e293886d70ef3c8a34173b562de2402.tar.xz | |
mt76: testmode: make tx queued limit adjustable
Originally, tx queued limit is set to 1000 to prevent from running out
of tx token. If a new testmode tx is triggered while the previous one
hasn't finished yet, we'll wait a period of time until tx_done equals to
tx_queued. Normally, current queued limit can finish in 10 seconds.
However, if ipg is configured to a larger value, less than 1000 packets
can be done in the default timeout period, which may lead to a crash
when a new testmode tx triggered.
To deal with this, make tx queued limit dynamically adjusted according
to ipg value.
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
