]> git.proxmox.com Git - mirror_ovs.git/commit - acinclude.m4
netdev-afxdp: add new netdev type for AF_XDP.
authorWilliam Tu <u9012063@gmail.com>
Thu, 18 Jul 2019 20:11:14 +0000 (13:11 -0700)
committerIlya Maximets <i.maximets@samsung.com>
Fri, 19 Jul 2019 14:42:06 +0000 (17:42 +0300)
commit0de1b425962db073ebbaa3ddbde445580afda840
tree583c01f90fcb0422e2ea500bbe20c945cb81f12e
parent884ca8aceb0cbb5dc8ca3d124a59157ef2b941cf
netdev-afxdp: add new netdev type for AF_XDP.

The patch introduces experimental AF_XDP support for OVS netdev.
AF_XDP, the Address Family of the eXpress Data Path, is a new Linux socket
type built upon the eBPF and XDP technology.  It is aims to have comparable
performance to DPDK but cooperate better with existing kernel's networking
stack.  An AF_XDP socket receives and sends packets from an eBPF/XDP program
attached to the netdev, by-passing a couple of Linux kernel's subsystems
As a result, AF_XDP socket shows much better performance than AF_PACKET
For more details about AF_XDP, please see linux kernel's
Documentation/networking/af_xdp.rst. Note that by default, this feature is
not compiled in.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
27 files changed:
Documentation/automake.mk
Documentation/index.rst
Documentation/intro/install/afxdp.rst [new file with mode: 0644]
Documentation/intro/install/index.rst
NEWS
acinclude.m4
configure.ac
lib/automake.mk
lib/dp-packet.c
lib/dp-packet.h
lib/dpif-netdev-perf.h
lib/netdev-afxdp-pool.c [new file with mode: 0644]
lib/netdev-afxdp-pool.h [new file with mode: 0644]
lib/netdev-afxdp.c [new file with mode: 0644]
lib/netdev-afxdp.h [new file with mode: 0644]
lib/netdev-linux-private.h [new file with mode: 0644]
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev.c
lib/util.c
lib/util.h
tests/.gitignore
tests/automake.mk
tests/system-afxdp-macros.at [new file with mode: 0644]
tests/system-afxdp-testsuite.at [new file with mode: 0644]
tests/system-traffic.at
vswitchd/vswitch.xml