diff options
author | Gavi Teitz <gavi@mellanox.com> | 2018-08-10 11:30:08 +0300 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2018-09-13 16:56:25 +0200 |
commit | a692410af0f71f89ef3b4c4b89b039d23cdfedb3 (patch) | |
tree | 7a6a7a41109be039d8a9b8f19332aee0c8977a16 /lib/dpctl.man | |
parent | 0d6b401cf60d10809e4644105cf47c44b4bdc4ab (diff) | |
download | openvswitch-a692410af0f71f89ef3b4c4b89b039d23cdfedb3.tar.gz |
dpctl: Expand the flow dump type filter
Added new types to the flow dump filter, and allowed multiple filter
types to be passed at once, as a comma separated list. The new types
added are:
* tc - specifies flows handled by the tc dp
* non-offloaded - specifies flows not offloaded to the HW
* all - specifies flows of all types
The type list is now fully parsed by the dpctl, and a new struct was
added to dpif which enables dpctl to define which types of dumps to
provide, rather than passing the type string and having dpif parse it.
Signed-off-by: Gavi Teitz <gavi@mellanox.com>
Acked-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'lib/dpctl.man')
-rw-r--r-- | lib/dpctl.man | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/dpctl.man b/lib/dpctl.man index 68274d808..9b13e0d6f 100644 --- a/lib/dpctl.man +++ b/lib/dpctl.man @@ -118,10 +118,16 @@ The \fIfilter\fR is also useful to match wildcarded fields in the datapath flow. As an example, \fBfilter='tcp,tp_src=100'\fR will match the datapath flow containing '\fBtcp(src=80/0xff00,dst=8080/0xff)\fR'. .IP -If \fBtype=\fItype\fR is specified, only displays flows of a specific type. -\fItype\fR can be \fBoffloaded\fR to display only rules offloaded to the HW -or \fBovs\fR to display only rules from the OVS tables. -By default all rules are displayed. +If \fBtype=\fItype\fR is specified, only displays flows of the specified types. +\fItype\fR is a comma separated list, which can contain any of the following: +. + \fBovs\fR - displays flows handled in the ovs dp + \fBtc\fR - displays flows handled in the tc dp + \fBoffloaded\fR - displays flows offloaded to the HW + \fBnon-offloaded\fR - displays flows not offloaded to the HW + \fBall\fR - displays all the types of flows +.IP +By default all the types of flows are displayed. . .IP "\*(DX\fBadd\-flow\fR [\fIdp\fR] \fIflow actions\fR" .TP |