diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-03-24 16:23:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-25 02:33:04 +0300 |
commit | ab365c3393664f32116aa22fe322cb04a93fab31 (patch) | |
tree | e23a1895d462d3bda1fe8bd47ba703960164832e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e7fea0b9d09e2f7d32776f5198192dfc2572a5b9 (diff) | |
download | linux-ab365c3393664f32116aa22fe322cb04a93fab31.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions