]> git.proxmox.com Git - mirror_ovs.git/commit - lib/dpctl.man
dpctl: Expand the flow dump type filter
authorGavi Teitz <gavi@mellanox.com>
Fri, 10 Aug 2018 08:30:08 +0000 (11:30 +0300)
committerSimon Horman <simon.horman@netronome.com>
Thu, 13 Sep 2018 14:56:25 +0000 (16:56 +0200)
commita692410af0f71f89ef3b4c4b89b039d23cdfedb3
tree7a6a7a41109be039d8a9b8f19332aee0c8977a16
parent0d6b401cf60d10809e4644105cf47c44b4bdc4ab
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>
lib/dpctl.c
lib/dpctl.man
lib/dpif-netdev.c
lib/dpif-netlink.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h