-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sync with latest net-next bpf headers #2001
Conversation
@drzaeus77 the test failure seems related to test infra. Could you take a look? |
[buildbot, test this please] |
1 similar comment
[buildbot, test this please] |
The failure on ubuntu 16.04 is legitimate.
The |
Tried on my local ubuntu 16.04 VM and it runs successfully.
The testbot has version 4.4.0-116-generic and mine is 4.4.0-87-generic. |
0713e85
to
97cc22e
Compare
Sync compat bpf.h and virtual_bpf.h with latest net-next versions Also add a barrier for the test_brb bpf program like below meta.prog_id = skb->cb[0]; + asm volatile("" ::: "memory"); meta.rx_port_id = skb->cb[1]; so two cb read does not become a 8 byte load which is not allowed for ubuntu 16.04 kernel (4.4 based). The 8 byte load is allowed for skb->cb's for later kernels. Signed-off-by: Yonghong Song <[email protected]>
97cc22e
to
44baefd
Compare
[buildbot, test this please] |
3 similar comments
[buildbot, test this please] |
[buildbot, test this please] |
[buildbot, test this please] |
Sync compat bpf.h and virtual_bpf.h with latest net-next versions Also add a barrier for the test_brb bpf program like below meta.prog_id = skb->cb[0]; + asm volatile("" ::: "memory"); meta.rx_port_id = skb->cb[1]; so two cb read does not become a 8 byte load which is not allowed for ubuntu 16.04 kernel (4.4 based). The 8 byte load is allowed for skb->cb's for later kernels. Signed-off-by: Yonghong Song <[email protected]>
Sync compat bpf.h and virtual_bpf.h with latest net-next versions
Signed-off-by: Yonghong Song [email protected]