[PATCH iproute2 1/1] tc: updated tc-bpf man page

Subsystems: the rest

STALE3147d

2 messages, 2 authors, 2018-03-07 · open the first message on its own page

[PATCH iproute2 1/1] tc: updated tc-bpf man page

From: Roman Mashak <hidden>
Date: 2018-03-07 14:35:47

Added description of direct-action parameter.

Signed-off-by: Roman Mashak <redacted>
---
 man/man8/tc-bpf.8 | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/man/man8/tc-bpf.8 b/man/man8/tc-bpf.8
index 2e9812ede028..d311f295615b 100644
--- a/man/man8/tc-bpf.8
+++ b/man/man8/tc-bpf.8
@@ -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.
-- 
2.7.4

Re: [PATCH iproute2 1/1] tc: updated tc-bpf man page

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2018-03-07 14:38:38

On 03/07/2018 03:35 PM, Roman Mashak wrote:
Added description of direct-action parameter.

Signed-off-by: Roman Mashak <redacted>
Yeah, man page is pretty outdated by now. Thanks!

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help