From: Odin Jenseg Date: Wed, 5 Aug 2020 12:09:08 +0000 (+0200) Subject: doc/userguide: fix outdated xdp info X-Git-Tag: suricata-6.0.0-rc1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=454950541851e388c14c9c7564fc5a238e47dc57;p=thirdparty%2Fsuricata.git doc/userguide: fix outdated xdp info --- diff --git a/doc/userguide/capture-hardware/ebpf-xdp.rst b/doc/userguide/capture-hardware/ebpf-xdp.rst index 97354df6c2..baf12b2fc9 100644 --- a/doc/userguide/capture-hardware/ebpf-xdp.rst +++ b/doc/userguide/capture-hardware/ebpf-xdp.rst @@ -526,11 +526,11 @@ To achieve this, edit the beginning of `ebpf/xdp_filter.c` and do :: Then build the bpf file with `make` and install it in the expected place. On Suricata configuration side, this is rather simple as you need to activate -hardware mode and the `no-percpu-hash` option in the `af-packet` configuration +hardware mode and the `use-percpu-hash` option in the `af-packet` configuration of the interface :: xdp-mode: hw - no-percpu-hash: true + use-percpu-hash: no The load balancing will be done on IP pairs inside the eBPF code, so using `cluster_qm` as cluster type is a good idea ::