diff options
| author | 2020-03-24 13:23:39 +0000 | |
|---|---|---|
| committer | 2020-03-24 16:33:04 -0700 | |
| commit | ab365c3393664f32116aa22fe322cb04a93fab31 (patch) | |
| tree | e23a1895d462d3bda1fe8bd47ba703960164832e /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | net: axienet: Improve DMA error handling (diff) | |
| download | linux-dev-ab365c3393664f32116aa22fe322cb04a93fab31.tar.xz linux-dev-ab365c3393664f32116aa22fe322cb04a93fab31.zip | |
net: axienet: Factor out TX descriptor chain cleanup
Factor out the code that cleans up a number of connected TX descriptors,
as we will need it to properly roll back a failed _xmit() call.
There are subtle differences between cleaning up a successfully sent
chain (unknown number of involved descriptors, total data size needed)
and a chain that was about to set up (number of descriptors known), so
cater for those variations with some extra parameters.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
