tc: updated tc-bpf man page

Added description of direct-action parameter.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
Roman Mashak 2018-03-07 09:35:39 -05:00 committed by Stephen Hemminger
parent d9d8c8393e
commit b80c9af8a4
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,10 @@ CLS_NAME ] [
UDS_FILE ] [ UDS_FILE ] [
.B verbose .B verbose
] [ ] [
.B direct-action
|
.B da
] [
.B skip_hw .B skip_hw
| |
.B skip_sw .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 program was successful. By default, only on error, the verifier log is
being emitted to the user. 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 .SS skip_hw | skip_sw
hardware offload control flags. By default TC will try to offload hardware offload control flags. By default TC will try to offload
filters to hardware if possible. filters to hardware if possible.