aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDoug Berger <[email protected]>2017-03-13 17:41:38 -0700
committerDavid S. Miller <[email protected]>2017-03-13 21:51:50 -0700
commitc4d453d2b14d4c844fd6b492fbd16ce0615a59d8 (patch)
tree381315684d210d4ea87064daa3da20c7454efd8b /tools/perf/scripts/python/bin/stackcollapse-record
parentd5810ca3252a5bf61e5b2fc789da456e0f65ba8c (diff)
net: bcmgenet: correct return value of __bcmgenet_tx_reclaim
The reclaim function should return the number of buffer descriptors reclaimed, not just the number corresponding to skb packets. Also, remove the unnecessary computation when updating the consumer index. While this is not a functional problem it could degrade performance of napi in a fragmented transmit stream. Signed-off-by: Doug Berger <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions