]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: updated tc-bpf man page
authorRoman Mashak <mrv@mojatatu.com>
Wed, 7 Mar 2018 14:35:39 +0000 (09:35 -0500)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 7 Mar 2018 22:55:08 +0000 (14:55 -0800)
Added description of direct-action parameter.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
man/man8/tc-bpf.8

index 2e9812ede0285f1906aa6f04c7904bdb5adef3cc..d311f295615b83b25755368e136827ce03d49690 100644 (file)
@@ -14,6 +14,10 @@ CLS_NAME ] [
 UDS_FILE ] [
 .B verbose
 ] [
+.B direct-action
+|
+.B da
+] [
 .B skip_hw
 |
 .B skip_sw
@@ -141,6 +145,11 @@ if set, it will dump the eBPF verifier output, even if loading the eBPF
 program was successful. By default, only on error, the verifier log is
 being emitted to the user.
 
+.SS direct-action | da
+instructs eBPF classifier to not invoke external TC actions, instead use the
+TC actions return codes (\fBTC_ACT_OK\fR, \fBTC_ACT_SHOT\fR etc.) for
+classifiers.
+
 .SS skip_hw | skip_sw
 hardware offload control flags. By default TC will try to offload
 filters to hardware if possible.