diff options
| author | Padmarao Begari <[email protected]> | 2026-03-02 08:43:33 +0100 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2026-03-23 14:58:46 +0100 |
| commit | 0d96ce69d40b45e50f0ec38d02f20d6493c969e6 (patch) | |
| tree | 9f0d6ce4a2361b4e97197ed4946dc7a8dd9f2731 /include | |
| parent | 3371da09c5709984533e307c8fde4e935945f435 (diff) | |
net: zynq_gem: clear TXSR transfer complete
The Zynq GEM TX status register retains the transfer‑complete bit
until it is explicitly cleared. The current flow waits for
transfer‑complete but never clears it, so on the next send the wait
loop returns immediately because transfer‑complete is already high.
This causes the driver to report TX completion before the new DMA
transfer has actually finished, which breaks back‑to‑back
transmissions. This issue causes timeouts during LWIP TFTP transfers
when cache coherency is enabled.
Fix this by explicitly clearing transfer‑complete (write‑to‑clear)
after the wait completes, so each transmit starts with a clean TXSR.
Co-developed-by: Harini Katakam <[email protected]>
Signed-off-by: Harini Katakam <[email protected]>
Co-developed-by: Michal Simek <[email protected]>
Signed-off-by: Padmarao Begari <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/f354680d43fba0f590a6fae693848e5bf7114ba5.1772437409.git.michal.simek@amd.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
