aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2015-02-26 19:34:37 +0000
committerDavid S. Miller <[email protected]>2015-02-28 14:27:21 -0500
commit6588af614e7b79294fbcd4a666a7422c0c854e80 (patch)
tree54003284999080b9cb44e1aec0a1d078d7d78e16 /scripts/gdb/linux/symbols.py
parent721a57a02dfc81b6d63b93b8ca23be3004b61515 (diff)
usbnet: Fix tx_packets stat for FLAG_MULTI_FRAME drivers
Currently the usbnet core does not update the tx_packets statistic for drivers with FLAG_MULTI_PACKET and there is no hook in the TX completion path where they could do this. cdc_ncm and dependent drivers are bumping tx_packets stat on the transmit path while asix and sr9800 aren't updating it at all. Add a packet count in struct skb_data so these drivers can fill it in, initialise it to 1 for other drivers, and add the packet count to the tx_packets statistic on completion. Signed-off-by: Ben Hutchings <[email protected]> Tested-by: Bjørn Mork <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions