diff options
author | Andre Przywara <[email protected]> | 2020-03-24 13:23:39 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-24 16:33:04 -0700 |
commit | ab365c3393664f32116aa22fe322cb04a93fab31 (patch) | |
tree | e23a1895d462d3bda1fe8bd47ba703960164832e /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | e7fea0b9d09e2f7d32776f5198192dfc2572a5b9 (diff) |
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 <[email protected]>
Reviewed-by: Radhey Shyam Pandey <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions