diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-11-10 15:37:45 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-11-10 15:38:12 -0800 |
commit | 9600d623dba42499e78f7dccbc12e392392a90a5 (patch) | |
tree | 30fa896d48f6e4489d5867018e5d3e0db54a6dc8 /ipc | |
parent | 0e6f601eb5c1914d4222458ee2ec43cc8c9864d8 (diff) | |
parent | e2215b0555ccd5ad25e260d6c949558b5796b3dc (diff) | |
download | lwn-9600d623dba42499e78f7dccbc12e392392a90a5.tar.gz lwn-9600d623dba42499e78f7dccbc12e392392a90a5.zip |
Merge branch 'Remove unused test_ipip.sh test and add missed'
Hangbin Liu says:
====================
In comment 173ca26e9b51 ("samples/bpf: add comprehensive ipip, ipip6,
ip6ip6 test") we added some bpf tunnel tests. In commit 933a741e3b82
("selftests/bpf: bpf tunnel test.") when we moved it to the current
folder, we missed some points:
1. ip6ip6 test is not added
2. forgot to remove test_ipip.sh in sample folder
3. TCP test code is not removed in test_tunnel_kern.c
In this patch set I add back ip6ip6 test and remove unused code. I'm not sure
if this should be net or net-next, so just set to net.
Here is the test result:
```
Testing IP6IP6 tunnel...
PING ::11(::11) 56 data bytes
--- ::11 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 63ms
rtt min/avg/max/mdev = 0.014/1028.308/2060.906/841.361 ms, pipe 2
PING 1::11(1::11) 56 data bytes
--- 1::11 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 48ms
rtt min/avg/max/mdev = 0.026/0.029/0.036/0.006 ms
PING 1::22(1::22) 56 data bytes
--- 1::22 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 47ms
rtt min/avg/max/mdev = 0.030/0.048/0.067/0.016 ms
PASS: ip6ip6tnl
```
v3:
Add back ICMP check as Martin suggested.
v2: Keep ip6ip6 section in test_tunnel_kern.c.
====================
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions