-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some fixes for selftest/net #4030
Conversation
Upstream branch: 6728aea |
63a05f7
to
d518379
Compare
Upstream branch: 26a9b43 |
e5aa8da
to
51f3444
Compare
d518379
to
28b3d16
Compare
Upstream branch: 32637e3 |
51f3444
to
f8e6827
Compare
28b3d16
to
ccb2000
Compare
Upstream branch: 6373ef1 |
After commit afef88e ("selftests/bpf: Store BPF object files with .bpf.o extension"), we should use xdp_dummy.bpf.o instade of xdp_dummy.o. In addition, use the BPF_FILE variable to save the BPF object file name, which can be better identified and modified. Fixes: afef88e ("selftests/bpf: Store BPF object files with .bpf.o extension") Signed-off-by: Wang Yufen <wangyufen@huawei.com> Cc: Daniel Müller <deso@posteo.net>
The program file used in the udpgro_frglist testcase is "../bpf/nat6to4.o", but the actual nat6to4.o file is in "bpf/" not "../bpf". The following error occurs: Error opening object ../bpf/nat6to4.o: No such file or directory Cannot initialize ELF context! Unable to load program In addition, all the kernel bpf source files are centred under the subdir "progs" after commit bd4aed0 ("selftests: bpf: centre kernel bpf objects under new subdir "progs""). So mv nat6to4.c to "../bpf/progs" and use "../bpf/nat6to4.bpf.o". And also move the test program to selftests/bpf. Fixes: edae34a ("selftests net: add UDP GRO fraglist + bpf self-tests") Signed-off-by: Wang Yufen <wangyufen@huawei.com>
f8e6827
to
f7913c1
Compare
ccb2000
to
294adfe
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=695449 expired. Closing PR. |
Pull request for series with
subject: some fixes for selftest/net
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=695449