diff options
| author | Oleksij Rempel <o.rempel@pengutronix.de> | 2025-07-17 10:35:24 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-18 17:19:46 -0700 |
| commit | e7ce59d9205e3842d0931632372aaf9fb4d901cf (patch) | |
| tree | 676e3c8a695d3f66ab3243f48583435bb92ed70d /tools/perf/scripts/python | |
| parent | net: track pfmemalloc drops via SKB_DROP_REASON_PFMEMALLOC (diff) | |
| download | linux-e7ce59d9205e3842d0931632372aaf9fb4d901cf.tar.gz linux-e7ce59d9205e3842d0931632372aaf9fb4d901cf.zip | |
net: selftests: add PHY-loopback test for bad TCP checksums
Detect NICs and drivers that either drop frames with a corrupted TCP
checksum or, worse, pass them up as valid. The test flips one bit in
the checksum, transmits the packet in internal loopback, and fails when
the driver reports CHECKSUM_UNNECESSARY.
Discussed at:
https://lore.kernel.org/all/20250625132117.1b3264e8@kernel.org/
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250717083524.1645069-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
