|
[RFC PATCH 07/11] bpf: implement OVS BPF datapath.
This patch adds the OVS-eBPF datapath implementation for dpif-bpf. Three stages are added: parse, lookup, and actions. Each stages are tail called to the next stage. When executing multiple actions, t
This patch adds the OVS-eBPF datapath implementation for dpif-bpf. Three stages are added: parse, lookup, and actions. Each stages are tail called to the next stage. When executing multiple actions, t
|
By
William Tu
·
|
|
[RFC PATCH 08/11] vswitch/bridge.c: add bpf datapath initialization.
The patch initializes the bpf datapath when bridge starts. The check_support could be avoided since we know what datapath bpf program supports what feature. Signed-off-by: Joe Stringer <joe@...> Signe
The patch initializes the bpf datapath when bridge starts. The check_support could be avoided since we know what datapath bpf program supports what feature. Signed-off-by: Joe Stringer <joe@...> Signe
|
By
William Tu
·
|
|
[RFC PATCH 06/11] dpif-bpf-odp: Add bpf datapath interface and impl.
From: Joe Stringer <joe@...> Add an implementation of the API between the userspace "Open vSwitch Datapath Protocol" and the BPF datapath. Signed-off-by: Joe Stringer <joe@...> Signed-off-by: William
From: Joe Stringer <joe@...> Add an implementation of the API between the userspace "Open vSwitch Datapath Protocol" and the BPF datapath. Signed-off-by: Joe Stringer <joe@...> Signed-off-by: William
|
By
William Tu
·
|
|
[RFC PATCH 05/11] dpif: add 'dpif-bpf' provider.
From: Joe Stringer <joe@...> Implement a new datapath interface for use with BPF datapaths. Like dpif-netlink, dpif-bpf is backed by an implementation which resides within the kernel. It uses the BPF
From: Joe Stringer <joe@...> Implement a new datapath interface for use with BPF datapaths. Like dpif-netlink, dpif-bpf is backed by an implementation which resides within the kernel. It uses the BPF
|
By
William Tu
·
|
|
[RFC PATCH 04/11] lib/bpf: add support for managing bpf program/map.
From: Joe Stringer <joe@...> Through libbpf, the patch adds support for loading bpf program and maps, pinning the program and map to /sys/fs/bpf/ovs/, managing the file descriptor of each loaded map,
From: Joe Stringer <joe@...> Through libbpf, the patch adds support for loading bpf program and maps, pinning the program and map to /sys/fs/bpf/ovs/, managing the file descriptor of each loaded map,
|
By
William Tu
·
|
|
[RFC PATCH 03/11] lib: implement perf event ringbuffer for upcall.
From: Joe Stringer <joe@...> A flow missed by the match action table in ebpf triggers an upcall, which forwards the information to ovs-vswitchd using skb_perf_event_output helper function. The patch i
From: Joe Stringer <joe@...> A flow missed by the match action table in ebpf triggers an upcall, which forwards the information to ovs-vswitchd using skb_perf_event_output helper function. The patch i
|
By
William Tu
·
|
|
[RFC PATCH 02/11] netdev: add ebpf support for netdev provider.
From: Joe Stringer <joe@...> To receive packets, an eBPF program has to be attached to a netdev through tc ingress/egress, an XDP program has to be attached to a netdev's xdp hook point. The patch int
From: Joe Stringer <joe@...> To receive packets, an eBPF program has to be attached to a netdev through tc ingress/egress, an XDP program has to be attached to a netdev's xdp hook point. The patch int
|
By
William Tu
·
|
|
[RFC PATCH 01/11] ovs-bpf: add documentation and configuration.
From: Joe Stringer <joe@...> The patch add bpf installation guide and configuration for linking to libbpf library. Co-authored-by: William Tu <u9012063@...> Co-authored-by: Yifeng Sun <pkusunyifeng@..
From: Joe Stringer <joe@...> The patch add bpf installation guide and configuration for linking to libbpf library. Co-authored-by: William Tu <u9012063@...> Co-authored-by: Yifeng Sun <pkusunyifeng@..
|
By
William Tu
·
|
|
GCOV coverage on BPF program
3 messages
Hi, I'm trying to run coverage tests on my bpf program and it compiles fails. I guess BPF does not support '--coverage' flags? root@boxes:~/ovs# clang-4.0 -Wstrict-prototypes -Wall -Wextra -Wno-sign-c
Hi, I'm trying to run coverage tests on my bpf program and it compiles fails. I guess BPF does not support '--coverage' flags? root@boxes:~/ovs# clang-4.0 -Wstrict-prototypes -Wall -Wextra -Wno-sign-c
|
By
William Tu
·
|
|
minutes: IO Visor TSC/Dev Meeting
Hi All, Thanks for attending the meeting today. As usual, here are my notes. === Discussion === Brenden: - working on fc28 packaging - pr available - includes some python3 fixes - not to be included i
Hi All, Thanks for attending the meeting today. As usual, here are my notes. === Discussion === Brenden: - working on fc28 packaging - pr available - includes some python3 fixes - not to be included i
|
By
Brenden Blanco
·
|
|
reminder: IO Visor TSC/Dev Meeting
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
|
By
Brenden Blanco
·
|
|
bpf_redirect_map not working after tail call
3 messages
Dear all, We have noticed that the bpf_redirect_map returns an error when it is called after a tail call. The xdp_redirect_map program (under sample/bpf) works fine, but if we modify it as shown in th
Dear all, We have noticed that the bpf_redirect_map returns an error when it is called after a tail call. The xdp_redirect_map program (under sample/bpf) works fine, but if we modify it as shown in th
|
By
Sebastiano Miano
·
|
|
Upcoming Migraton to Groups.io
3 messages
Greetings IO Visor community! The Linux Foundation has connected with a new vendor called Groups.io, which provides mailing list services in a simple but modern interface. Groups.io offers all of the
Greetings IO Visor community! The Linux Foundation has connected with a new vendor called Groups.io, which provides mailing list services in a simple but modern interface. Groups.io offers all of the
|
By
Brendan OSullivan
·
|
|
minutes: IO Visor TSC/Dev Meeting
Hi all, Thanks for joining in the discussion today. As usual, here are my notes. -Brenden === Discussion === Brenden: - Adding fedora 28 buildbot/packages - debugging some test failures - Tag release
Hi all, Thanks for joining in the discussion today. As usual, here are my notes. -Brenden === Discussion === Brenden: - Adding fedora 28 buildbot/packages - debugging some test failures - Tag release
|
By
Brenden Blanco
·
|
|
reminder: IO Visor TSC/Dev Meeting
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
|
By
Brenden Blanco
·
|
|
minutes: IO Visor TSC/Dev Meeting
2 messages
Hi All, Thanks for attending the meeting today. As usual, here are my notes. === Discussion === Bjorn - AF_XDP zero copy implementation RFC on netdev - some uapi concerns, may need to back out changes
Hi All, Thanks for attending the meeting today. As usual, here are my notes. === Discussion === Bjorn - AF_XDP zero copy implementation RFC on netdev - some uapi concerns, may need to back out changes
|
By
Brenden Blanco
·
|
|
reminder: IO Visor TSC/Dev Meeting
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
|
By
Brenden Blanco
·
|
|
Incorrect "invalid indirect read" error from verifier?
5 messages
Hi, I'm getting an "invalid indirect read from stack" when trying to run the following bcc script: paul$ cat tmp.py from bcc import BPF bpf_text = """ #include <uapi/linux/ptrace.h> #include <net/sock
Hi, I'm getting an "invalid indirect read from stack" when trying to run the following bcc script: paul$ cat tmp.py from bcc import BPF bpf_text = """ #include <uapi/linux/ptrace.h> #include <net/sock
|
By
Paul Chaignon
·
|
|
Contributing example code
8 messages
Hello, My name is Usman. I am interested to contribute an example code for OpenStack VLAN traffic monitoring. Regarding this can you please guide me how I can submit my code on GitHub (Since I could n
Hello, My name is Usman. I am interested to contribute an example code for OpenStack VLAN traffic monitoring. Regarding this can you please guide me how I can submit my code on GitHub (Since I could n
|
By
Muhammad Usman
·
|
|
minutes: IO Visor TSC / Dev Meeting
3 messages
Hi All, Thanks for joining the discussion today. As usual, here are my notes. -Brenden === Discussion === John: - sockmap fixes pushed - fixed broken tests - sockmap hash impl next - bounded loop rfc
Hi All, Thanks for joining the discussion today. As usual, here are my notes. -Brenden === Discussion === John: - sockmap fixes pushed - fixed broken tests - sockmap hash impl next - bounded loop rfc
|
By
Brenden Blanco
·
|