aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2022-05-10 13:55:57 +0200
committerAlexei Starovoitov <[email protected]>2022-05-11 08:03:15 -0700
commitf3e619bb34d37c4c7ee80647e68b533d1f357927 (patch)
tree73cf6ef9eca1adeca43bbe1e925fb4fde052b544 /tools/perf/scripts/python
parent685e64a3c91df3d169be9e3e37862f118280927f (diff)
selftests: xsk: do not send zero-length packets
Do not try to send packets of zero length since they are dropped by veth after commit 726e2c5929de84 ("veth: Ensure eth header is in skb's linear part"). Replace these two packets with packets of length 60 so that they are not dropped. Also clean up the confusing naming. MIN_PKT_SIZE was really MIN_ETH_PKT_SIZE and PKT_SIZE was both MIN_ETH_SIZE and the default packet size called just PKT_SIZE. Make it consistent by using the right define in the right place. Signed-off-by: Magnus Karlsson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions