|
AF_XDP query
Hi Kanthi, In the case of OVS AF_XDP netdev, we've used multiple PMD threads. Each thread has its own AF_XDP socket and its own UMEM bind to each rx queue. I think multiple processes should also work.
Hi Kanthi, In the case of OVS AF_XDP netdev, we've used multiple PMD threads. Each thread has its own AF_XDP socket and its own UMEM bind to each rx queue. I think multiple processes should also work.
|
By
William Tu
· #1762
·
|
|
minutes: IO Visor TSC/Dev Meeting
Sorry, I mean AF_XDP for veth driver. Thank you William
Sorry, I mean AF_XDP for veth driver. Thank you William
|
By
William Tu
· #1555
·
|
|
[PATCHv3 RFC 2/3] tests: add AF_XDP netdev test cases.
The patch adds the test framework for OVS using afxdp. Most of the test cases are slightly modified from the existing test cases at system-traffic.at. All the veth creations, ADD_VETH, are replaced by
The patch adds the test framework for OVS using afxdp. Most of the test cases are slightly modified from the existing test cases at system-traffic.at. All the veth creations, ADD_VETH, are replaced by
|
By
William Tu
· #1536
·
|
|
[PATCHv3 RFC 3/3] FIXME: work around the failed cases.
There are still two issues causing some test cases failed. This patch provides an work-around. Signed-off-by: William Tu <u9012063@...> --- lib/dpif-netdev.c | 2 +- tests/system-afxdp-macros.at
There are still two issues causing some test cases failed. This patch provides an work-around. Signed-off-by: William Tu <u9012063@...> --- lib/dpif-netdev.c | 2 +- tests/system-afxdp-macros.at
|
By
William Tu
· #1535
·
|
|
[PATCHv3 RFC 1/3] netdev-afxdp: add new netdev type for AF_XDP
The patch creates a new netdev type called "afxdp" and re-uses some of the AF_XDP API implementation from xdpsock_user.c at linux sample code. By default, it binds a device's queue 0 and uses the gene
The patch creates a new netdev type called "afxdp" and re-uses some of the AF_XDP API implementation from xdpsock_user.c at linux sample code. By default, it binds a device's queue 0 and uses the gene
|
By
William Tu
· #1534
·
|
|
[PATCHv3 RFC 0/3] AF_XDP netdev support for OVS
The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can receive and send packets from an eBPF/XD
The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can receive and send packets from an eBPF/XD
|
By
William Tu
· #1533
·
|
|
[PATCHv2 RFC 3/3] tests: add afxdp test cases.
The patch adds the test framework for OVS using afxdp. Currently there are two test cases, using ping and http as traffic forwarding through ovs with 2 afxdp netdev. Signed-off-by: William Tu <u901206
The patch adds the test framework for OVS using afxdp. Currently there are two test cases, using ping and http as traffic forwarding through ovs with 2 afxdp netdev. Signed-off-by: William Tu <u901206
|
By
William Tu
· #1471
·
|
|
[PATCHv2 RFC 2/3] netdev-linux: add new netdev type afxdp.
The patch creates a new netdev type "afxdp" and copies some of the afxdp api implementation from xdpsock_user.c at linux sample code. The afxdp ebpf programs/maps are loaded when dpif-netdev is create
The patch creates a new netdev type "afxdp" and copies some of the afxdp api implementation from xdpsock_user.c at linux sample code. The afxdp ebpf programs/maps are loaded when dpif-netdev is create
|
By
William Tu
· #1470
·
|
|
[PATCHv2 RFC 1/3] afxdp: add ebpf code for afxdp and xskmap.
AF_XDP requires attaching an xdp program and xskmap for each netdev. The patch provides these program/map and the loading and attaching implementation. Signed-off-by: William Tu <u9012063@...> -
AF_XDP requires attaching an xdp program and xskmap for each netdev. The patch provides these program/map and the loading and attaching implementation. Signed-off-by: William Tu <u9012063@...> -
|
By
William Tu
· #1469
·
|
|
[PATCHv2 RFC 0/3] AF_XDP support for OVS
From: root <ovs-smartnic@...> The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can rec
From: root <ovs-smartnic@...> The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can rec
|
By
William Tu
· #1468
·
|
|
[PATCH RFC 3/3] tests: add afxdp test cases.
The patch adds the test framework for OVS using afxdp. Currently there are two test cases, using ping and http as traffic forwarding through ovs with 2 afxdp netdev. Signed-off-by: William Tu <u901206
The patch adds the test framework for OVS using afxdp. Currently there are two test cases, using ping and http as traffic forwarding through ovs with 2 afxdp netdev. Signed-off-by: William Tu <u901206
|
By
William Tu
· #1459
·
|
|
[PATCH RFC 2/3] netdev-linux: add new netdev type afxdp.
The patch creates a new netdev type "afxdp" and copies some of the afxdp api implementation from xdpsock_user.c at linux sample code. The afxdp ebpf programs/maps are loaded when dpif-netdev is create
The patch creates a new netdev type "afxdp" and copies some of the afxdp api implementation from xdpsock_user.c at linux sample code. The afxdp ebpf programs/maps are loaded when dpif-netdev is create
|
By
William Tu
· #1458
·
|
|
[PATCH RFC 1/3] afxdp: add ebpf code for afxdp and xskmap.
AF_XDP requires attaching an xdp program and xskmap for each netdev. The patch provides these program/map and the loading and attaching implementation. Signed-off-by: William Tu <u9012063@...> -
AF_XDP requires attaching an xdp program and xskmap for each netdev. The patch provides these program/map and the loading and attaching implementation. Signed-off-by: William Tu <u9012063@...> -
|
By
William Tu
· #1457
·
|
|
[PATCH RFC 0/3] AF_XDP support for OVS
The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can receive and send packets from an eBPF/XD
The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can receive and send packets from an eBPF/XD
|
By
William Tu
· #1456
·
|
|
[RFC PATCHv2 13/13] xdp: early drop ipv6 packet.
If not using ipv6, drop it in XDP. Signed-off-by: William Tu <u9012063@...> --- bpf/xdp.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/bpf/xdp.h b/bpf/xdp.h index 2d2102
If not using ipv6, drop it in XDP. Signed-off-by: William Tu <u9012063@...> --- bpf/xdp.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/bpf/xdp.h b/bpf/xdp.h index 2d2102
|
By
William Tu
· #1379
·
|
|
[RFC PATCHv2 12/13] ofproto: disable megaflow for bpf datapath.
BPF datapath is always exact match. Signed-off-by: William Tu <u9012063@...> --- ofproto/ofproto-dpif-upcall.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ofproto/ofproto-dpif-upcall.c
BPF datapath is always exact match. Signed-off-by: William Tu <u9012063@...> --- ofproto/ofproto-dpif-upcall.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ofproto/ofproto-dpif-upcall.c
|
By
William Tu
· #1378
·
|
|
[RFC PATCHv2 10/13] tests: Add "make check-bpf" traffic target.
Add a separate test file tests/system-bpf-traffic.at for bpf testing. The test cases are a subset of the existing system-traffic.at, and with additional bpf-specific tests. When test passes, the log f
Add a separate test file tests/system-bpf-traffic.at for bpf testing. The test cases are a subset of the existing system-traffic.at, and with additional bpf-specific tests. When test passes, the log f
|
By
William Tu
· #1377
·
|
|
[RFC PATCHv2 11/13] vagrant: add ebpf support using ubuntu/bionic
VAGRANT_VAGRANTFILE=Vagrantfile-eBPF vagrant up Signed-off-by: William Tu <u9012063@...> Signed-off-by: Yifeng Sun <pkusunyifeng@...> --- Makefile.am | 1 + Vagrantfile-eBPF | 99 ++++++++++
VAGRANT_VAGRANTFILE=Vagrantfile-eBPF vagrant up Signed-off-by: William Tu <u9012063@...> Signed-off-by: Yifeng Sun <pkusunyifeng@...> --- Makefile.am | 1 + Vagrantfile-eBPF | 99 ++++++++++
|
By
William Tu
· #1376
·
|
|
[RFC PATCHv2 09/13] utilities: Add ovs-bpfctl utility.
From: Joe Stringer <joe@...> This new utility is used for standalone probing of BPF datapath state. Signed-off-by: Joe Stringer <joe@...> Signed-off-by: William Tu <u9012063@...> Signed-
From: Joe Stringer <joe@...> This new utility is used for standalone probing of BPF datapath state. Signed-off-by: Joe Stringer <joe@...> Signed-off-by: William Tu <u9012063@...> Signed-
|
By
William Tu
· #1375
·
|
|
[RFC PATCHv2 07/13] 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
· #1374
·
|