]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: use github mirror to setup libbpf
authorEric Leblond <eric@regit.org>
Mon, 25 Feb 2019 21:11:27 +0000 (22:11 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
doc/userguide/capture-hardware/ebpf-xdp.rst

index 03f5ad382e9db3eb9a026548b13d9430cb69bcca..0b8d1ea0279dc9c1ea6ad764fe979905a54e21fb 100644 (file)
@@ -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