Message ID | 1591724532-5460-1-git-send-email-yihung.wei@gmail.com |
---|---|
State | Accepted |
Commit | f0aed51ca70f2f7ff38b292b6aaf34b27ebd9575 |
Headers | show |
Series | [ovs-dev] docs: Add note for AF_XDP installation | expand |
On Tue, Jun 09, 2020 at 10:42:12AM -0700, Yi-Hung Wei wrote: > Add notes about some configuration issues when enabling AF_XDP > support. > > Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> > --- Applied to master, thanks William
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
Add notes about some configuration issues when enabling AF_XDP support. Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> --- Documentation/intro/install/afxdp.rst | 9 +++++++++ 1 file changed, 9 insertions(+)