summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-08-23 11:48:49 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-24 16:39:18 -0700
commiteeac0e20a173dd9407e7092b3ddb45917249d68d (patch)
tree2a139d635184a695d9dab34e440d36d578727280 /drivers/net/ethernet/intel/ice/ice_main.c
parent313dc689b16c08b081939ee9b87dac3736c780e3 (diff)
downloadlinux-eeac0e20a173dd9407e7092b3ddb45917249d68d.tar.bz2
s390/qeth: collect accurate TX statistics
This consolidates the SW statistics code, and improves it to (1) account for the header overhead of each segment on a TSO skb, (2) count dangling packets as in-error (during eg. shutdown), and (3) only count offloads when the skb was successfully transmitted. We also count each segment of an TSO skb as one packet - except for tx_dropped, to be consistent with dev->tx_dropped. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions