diff options
| author | Ping-Ke Shih <[email protected]> | 2024-01-21 15:18:25 +0800 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-02-01 12:15:42 +0200 |
| commit | 0bc7d1d4e63cf31ff1b4396b0e2f0e3c76828d26 (patch) | |
| tree | 04a75a77e01263029617080323adbc4c6c64b8b9 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 26cdaee43dc5f9c9d0c5429b365b8f094afad717 (diff) | |
wifi: rtw89: pci: validate RX tag for RXQ and RPQ
PCI RX ring is a kind of read/write index ring, and DMA and ring index are
asynchronous, so suddenly driver gets newer index ahead before DMA. To
resolve this rare situation, we use a RX tag as helpers to make sure DMA
is done.
The RX tag is a 13-bit value, and range is from 1 ~ 0x1FFF, but 0 isn't
used so should be skipped.
Only enable this validation to coming WiFi 7 chips, because existing
chips use different design and don't really meet this situation.
Add missed rx_ring_eq_is_full for 8851BE by the way.
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions