]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc/userguide: fix outdated xdp info
authorOdin Jenseg <odin@mnemonic.no>
Wed, 5 Aug 2020 12:09:08 +0000 (14:09 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 24 Aug 2020 14:01:07 +0000 (16:01 +0200)
doc/userguide/capture-hardware/ebpf-xdp.rst

index 97354df6c2153dba0b7d51de3a926148c809f51c..baf12b2fc93dcff7fad78e675f79ff2e3a78a778 100644 (file)
@@ -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 ::