summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2022-12-22 01:06:24 +0100
committerIlya Maximets <i.maximets@ovn.org>2023-01-03 16:06:30 +0100
commite44e80343189fcb7ec10d776f1b62747d7095c18 (patch)
tree3a3a73291c444a36764e02732c19e114b23cef52 /Documentation
parent771a55825f4a1d84c18439ae5a7485807169b0f9 (diff)
downloadopenvswitch-e44e80343189fcb7ec10d776f1b62747d7095c18.tar.gz
acinclude.m4: Build with AF_XDP support by default if possible.
With this change we will try to detect all the netdev-afxdp dependencies and enable AF_XDP support by default if they are present at the build time. Configuration script behaves in a following way: - ./configure --enable-afxdp Will check for AF_XDP dependencies and fail if they are not available. - ./configure --disable-afxdp Disables checking for AF_XDP. Build will not support AF_XDP even if all dependencies are installed. - Just ./configure or ./configure --enable-afxdp=auto Will check for AF_XDP dependencies. Will print a warning if they are not available, but will continue without AF_XDP support. If dependencies are available in a system, this option is equal to --enable-afxdp. '--disable-afxdp' added to the debian and fedora package builds to keep predictable behavior. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/intro/install/afxdp.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/intro/install/afxdp.rst b/Documentation/intro/install/afxdp.rst
index a4f0b87fe..51c24bf5b 100644
--- a/Documentation/intro/install/afxdp.rst
+++ b/Documentation/intro/install/afxdp.rst
@@ -30,8 +30,7 @@ This document describes how to build and install Open vSwitch using
AF_XDP netdev.
.. warning::
- The AF_XDP support of Open vSwitch is considered 'experimental',
- and it is not compiled in by default.
+ The AF_XDP support of Open vSwitch is considered 'experimental'.
Introduction
@@ -137,6 +136,9 @@ bootstrap/configure the package::
./boot.sh && ./configure --enable-afxdp
+``--enable-afxdp`` here is optional, but it will ensure that all dependencies
+are available at the build time.
+
Finally, build and install OVS::
make && make install