From: Eric Leblond Date: Mon, 25 Feb 2019 21:11:27 +0000 (+0100) Subject: doc: use github mirror to setup libbpf X-Git-Tag: suricata-5.0.0-rc1~368 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82c4f5135b52df3010a49cf66d9faff12c484d91;p=thirdparty%2Fsuricata.git doc: use github mirror to setup libbpf --- diff --git a/doc/userguide/capture-hardware/ebpf-xdp.rst b/doc/userguide/capture-hardware/ebpf-xdp.rst index 03f5ad382e..0b8d1ea027 100644 --- a/doc/userguide/capture-hardware/ebpf-xdp.rst +++ b/doc/userguide/capture-hardware/ebpf-xdp.rst @@ -74,16 +74,13 @@ Make sure you have clang (>=3.9) installed on the system :: libbpf ~~~~~~ -Suricata uses libbpf to interact with eBPF and XDP. This library is available -in the Linux tree. Before Linux 4.16, a patched libbpf library is also needed:: +Suricata uses libbpf to interact with eBPF and XDP :: - git clone -b libbpf-release https://github.com/regit/linux.git - -If you have a recent enough kernel, you can skip this part. + git clone https://github.com/libbpf/libbpf.git Now, you can build and install the library :: - cd linux/tools/lib/bpf/ + cd libbpf/src/ make && sudo make install sudo make install_headers