Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

kernel-patches-bot
Copy link

Pull request for series with
subject: some fixes for selftest/net
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=695449

@kernel-patches-bot
Copy link
Author

Upstream branch: 6728aea
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=695449
version: 2

@kernel-patches-bot
Copy link
Author

Upstream branch: 26a9b43
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=695449
version: 2

@kernel-patches-bot
Copy link
Author

Upstream branch: 32637e3
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=695449
version: 2

@kernel-patches-bot
Copy link
Author

Upstream branch: 6373ef1
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=695449
version: 2

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>
@kernel-patches-bot
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=695449 expired. Closing PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants