|
[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
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
|
By
William Tu
·
#1347
·
|
|
[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
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
|
By
William Tu
·
#1346
·
|
|
[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
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
|
By
William Tu
·
#1345
·
|
|
[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
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
|
By
William Tu
·
#1344
·
|
|
[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
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
|
By
William Tu
·
#1343
·
|
|
[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
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
|
By
William Tu
·
#1342
·
|
|
[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
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
|
By
William Tu
·
#1341
·
|
|
[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
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
|
By
William Tu
·
#1340
·
|
|
[RFC PATCH 00/11] OVS eBPF datapath.
Existing OVS has three datapath types: Linux kernel (dpif-netlink),
userspace (dpif-netdev), and Windows. This series add another type of
OVS datapath: the eBPF datapath (dpif-bpf).
eBPF stands for
Existing OVS has three datapath types: Linux kernel (dpif-netlink),
userspace (dpif-netdev), and Windows. This series add another type of
OVS datapath: the eBPF datapath (dpif-bpf).
eBPF stands for
|
By
William Tu
·
#1339
·
|
|
Re: GCOV coverage on BPF program
I see. Thanks for the prompt reply!
William
I see. Thanks for the prompt reply!
William
|
By
William Tu
·
#1338
·
|
|
Re: GCOV coverage on BPF program
This will not work.
'-coverage' flag will introduce some additional global functions called
by the program, e.g., __llvm_gcov_init, __llvm_gcov_flush, etc.
global memset functions are
called from one
This will not work.
'-coverage' flag will introduce some additional global functions called
by the program, e.g., __llvm_gcov_init, __llvm_gcov_flush, etc.
global memset functions are
called from one
|
By
Yonghong Song
·
#1337
·
|
|
GCOV coverage on BPF program
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
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
|
By
William Tu
·
#1336
·
|
|
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
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
|
By
Brenden Blanco
·
#1335
·
|
|
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
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
|
By
Brenden Blanco
·
#1334
·
|
|
Re: bpf_redirect_map not working after tail call
Argh, I see the issue. Working on a fix after checking the syzkaller reports.
Thanks for the report!
Argh, I see the issue. Working on a fix after checking the syzkaller reports.
Thanks for the report!
|
By
Daniel Borkmann
·
#1333
·
|
|
Re: bpf_redirect_map not working after tail call
Sebastiano Miano via iovisor-dev <iovisor-dev@...> wrote:
Argh, this is likely an issue/bug due to the check xdp_map_invalid(),
that was introduced in commit 7c3001313396 ("bpf: fix
Sebastiano Miano via iovisor-dev <iovisor-dev@...> wrote:
Argh, this is likely an issue/bug due to the check xdp_map_invalid(),
that was introduced in commit 7c3001313396 ("bpf: fix
|
By
Jesper Dangaard Brouer
·
#1332
·
|
|
bpf_redirect_map not working after tail call
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
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
|
By
Sebastiano Miano
·
#1331
·
|
|
Re: Upcoming Migraton to Groups.io
All,
Sorry about the timing of the announcement coming out immediately after the bi-weekly meeting.
This is indeed something that we are doing across the entire spectrum of LF Projects and
All,
Sorry about the timing of the announcement coming out immediately after the bi-weekly meeting.
This is indeed something that we are doing across the entire spectrum of LF Projects and
|
By
Kenny Paul
·
#1330
·
|
|
Re: Upcoming Migraton to Groups.io
FYI for the iovisor-dev subscribers. Alexei and I were given a heads
up on this ahead of time and given a chance to find a service other
than groups.io, but it seemed like a reasonable change that LF
FYI for the iovisor-dev subscribers. Alexei and I were given a heads
up on this ahead of time and given a chance to find a service other
than groups.io, but it seemed like a reasonable change that LF
|
By
Brenden Blanco
·
#1329
·
|
|
Upcoming Migraton to Groups.io
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 <bosullivan@...>
·
#1328
·
|