summaryrefslogtreecommitdiff
path: root/Documentation/intro
diff options
context:
space:
mode:
authorYi-Hung Wei <yihung.wei@gmail.com>2020-06-09 10:42:12 -0700
committerWilliam Tu <u9012063@gmail.com>2020-06-17 08:45:05 -0700
commitf0aed51ca70f2f7ff38b292b6aaf34b27ebd9575 (patch)
tree4370407c3857d212ed9dbd88c3d15aed433e7b7c /Documentation/intro
parentd072d2de011b5874e16a0fe81953c2448658746a (diff)
downloadopenvswitch-f0aed51ca70f2f7ff38b292b6aaf34b27ebd9575.tar.gz
docs: Add note for AF_XDP installation
Add notes about some configuration issues when enabling AF_XDP support. Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: William Tu <u9012063@gmail.com>
Diffstat (limited to 'Documentation/intro')
-rw-r--r--Documentation/intro/install/afxdp.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/intro/install/afxdp.rst b/Documentation/intro/install/afxdp.rst
index 99003e4db..3c8f78825 100644
--- a/Documentation/intro/install/afxdp.rst
+++ b/Documentation/intro/install/afxdp.rst
@@ -146,11 +146,20 @@ Make sure the libbpf.so is installed correctly::
ldconfig
ldconfig -p | grep libbpf
+.. note::
+ Check /etc/ld.so.conf if libbpf is installed but can not be found by
+ ldconfig.
+
Third, ensure the standard OVS requirements are installed and
bootstrap/configure the package::
./boot.sh && ./configure --enable-afxdp
+.. note::
+ If you encounter "WARNING: bpf/libbpf.h: present but cannot be compiled",
+ check the Linux headers are in line with libbpf. For example, in Ubuntu,
+ check the installed linux-headers* and linux-libc-dev* dpkg.
+
Finally, build and install OVS::
make && make install