summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorJie2x Zhou <jie2x.zhou@intel.com>2022-07-19 16:24:30 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2022-07-22 19:23:04 +0200
commitf664f9c6b4a1bb9a10af812df0fbbf6aac28fcc6 (patch)
treea6ab2c0f225f7eb5323992ac8df20c805da42cbd /tools/include
parente423414375866a399ebbe55ed044acb39846e8bf (diff)
bpf/selftests: Fix couldn't retrieve pinned program in xdp veth test
Before change: selftests: bpf: test_xdp_veth.sh Couldn't retrieve pinned program '/sys/fs/bpf/test_xdp_veth/progs/redirect_map_0': No such file or directory selftests: xdp_veth [SKIP] ok 20 selftests: bpf: test_xdp_veth.sh # SKIP After change: PING 10.1.1.33 (10.1.1.33) 56(84) bytes of data. 64 bytes from 10.1.1.33: icmp_seq=1 ttl=64 time=0.320 ms --- 10.1.1.33 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.320/0.320/0.320/0.000 ms selftests: xdp_veth [PASS] For the test case, the following can be found: ls /sys/fs/bpf/test_xdp_veth/progs/redirect_map_0 ls: cannot access '/sys/fs/bpf/test_xdp_veth/progs/redirect_map_0': No such file or directory ls /sys/fs/bpf/test_xdp_veth/progs/ xdp_redirect_map_0 xdp_redirect_map_1 xdp_redirect_map_2 Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Jie2x Zhou <jie2x.zhou@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220719082430.9916-1-jie2x.zhou@intel.com
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions