Add notes about some configuration issues when enabling AF_XDP support. Signed-off-by: Yi-Hung Wei <[email protected]> --- Documentation/intro/install/afxdp.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/Documentation/intro/install/afxdp.rst b/Documentation/intro/install/afxdp.rst index 99003e4dbdb2..3c8f78825b41 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 -- 2.7.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
