mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
dpctl: Add an option to dump only certain kinds of flows
Usage: # to dump all datapath flows (default): ovs-dpctl dump-flows # to dump only flows that in kernel datapath: ovs-dpctl dump-flows type=ovs # to dump only flows that are offloaded: ovs-dpctl dump-flows type=offloaded Signed-off-by: Paul Blakey <paulb@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Acked-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Simon Horman <simon.horman@netronome.com>
This commit is contained in:
committed by
Simon Horman
parent
9e9d7651a7
commit
7e8b719938
@@ -2659,7 +2659,8 @@ dpif_netdev_flow_dump_cast(struct dpif_flow_dump *dump)
|
||||
}
|
||||
|
||||
static struct dpif_flow_dump *
|
||||
dpif_netdev_flow_dump_create(const struct dpif *dpif_, bool terse)
|
||||
dpif_netdev_flow_dump_create(const struct dpif *dpif_, bool terse,
|
||||
char *type OVS_UNUSED)
|
||||
{
|
||||
struct dpif_netdev_flow_dump *dump;
|
||||
|
||||
|
Reference in New Issue
Block a user