diff options
| author | Grygorii Strashko <[email protected]> | 2017-01-06 14:07:30 -0600 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-07 20:48:14 -0500 |
| commit | 12a303e3b8136a89f0864a577a69f6a40b65fbe5 (patch) | |
| tree | 3bf2e81fb6cf00a263baee2dbbc007e6c841e57f /tools/perf/scripts/python | |
| parent | a6c83ccf3c534214e0aeb167a70391864da9b1fc (diff) | |
net: ethernet: ti: cpdma: fix desc re-queuing
The currently processing cpdma descriptor with EOQ flag set may
contain two values in Next Descriptor Pointer field:
- valid pointer: means CPDMA missed addition of new desc in queue;
- null: no more descriptors in queue.
In the later case, it's not required to write to HDP register, but now
CPDMA does it.
Hence, add additional check for Next Descriptor Pointer != null in
cpdma_chan_process() function before writing in HDP register.
Signed-off-by: Grygorii Strashko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions