diff mbox series

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

Message ID 1520433339-10622-1-git-send-email-mrv@mojatatu.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show
Series [iproute2,1/1] tc: updated tc-bpf man page | expand

Commit Message

Roman Mashak March 7, 2018, 2:35 p.m. UTC
Added description of direct-action parameter.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 man/man8/tc-bpf.8 | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Daniel Borkmann March 7, 2018, 2:38 p.m. UTC | #1
On 03/07/2018 03:35 PM, Roman Mashak wrote:
> Added description of direct-action parameter.
> 
> Signed-off-by: Roman Mashak <mrv@mojatatu.com>

Yeah, man page is pretty outdated by now. Thanks!

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
diff mbox series

Patch

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.