From: Roman Mashak Date: Wed, 7 Mar 2018 14:35:39 +0000 (-0500) Subject: tc: updated tc-bpf man page X-Git-Tag: v4.16.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b80c9af8a464496d646ee1b17b15f3a6755569a2;p=thirdparty%2Fiproute2.git tc: updated tc-bpf man page Added description of direct-action parameter. Signed-off-by: Roman Mashak Acked-by: Daniel Borkmann --- diff --git a/man/man8/tc-bpf.8 b/man/man8/tc-bpf.8 index 2e9812ede..d311f2956 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.