]> git.proxmox.com Git - mirror_ovs.git/commitdiff
docs: Add note for AF_XDP installation
authorYi-Hung Wei <yihung.wei@gmail.com>
Tue, 9 Jun 2020 17:42:12 +0000 (10:42 -0700)
committerWilliam Tu <u9012063@gmail.com>
Wed, 17 Jun 2020 15:45:05 +0000 (08:45 -0700)
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>
Documentation/intro/install/afxdp.rst

index 99003e4dbdb22bb38305c44b53dd721af8850269..3c8f78825b418a310e905213111bc5b2ba99cc99 100644 (file)
@@ -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