aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Dooks <[email protected]>2018-11-14 11:50:22 +0000
committerDavid S. Miller <[email protected]>2018-11-16 20:16:19 -0800
commit75938f77105fcede560b9b6967389cdbd6b83361 (patch)
tree5d9d688c49a966ceddc9c9cefbcce1823127f475 /tools/perf/scripts/python
parent6809d2167c404c2c8cbbbe1667c70ea88576ccac (diff)
usbnet: smsc95xx: check for csum being in last four bytes
The manual states that the checksum cannot lie in the last DWORD of the transmission, so add a basic check for this and fall back to software checksumming the packet. This only seems to trigger for ACK packets with no options or data to return to the other end, and the use of the tx-alignment option makes it more likely to happen. Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions