From b80c9af8a464496d646ee1b17b15f3a6755569a2 Mon Sep 17 00:00:00 2001 From: Roman Mashak Date: Wed, 7 Mar 2018 09:35:39 -0500 Subject: [PATCH] tc: updated tc-bpf man page Added description of direct-action parameter. Signed-off-by: Roman Mashak Acked-by: Daniel Borkmann --- 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 2e9812ed..d311f295 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.