summaryrefslogtreecommitdiff
path: root/lib/dpif.h
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@ovn.org>2018-07-25 13:52:42 -0700
committerJustin Pettit <jpettit@ovn.org>2018-07-25 14:17:36 -0700
commit494a74557a7d8eb8aafcc8a6e96ac3493356e033 (patch)
tree55f717a0118cf07f9b5a71315723a78b58350c62 /lib/dpif.h
parentf603d7d262fdfa2dc977f3f3ec516b54e6a7deae (diff)
downloadopenvswitch-494a74557a7d8eb8aafcc8a6e96ac3493356e033.tar.gz
Revert "dpctl: Expand the flow dump type filter"
Commit ab15e70eb587 ("dpctl: Expand the flow dump type filter") had a number of issues with style, build breakage, and failing unit tests. The patch is being reverted so that they can addressed. This reverts commit ab15e70eb5878b46f8f84da940ffc915b6d74cad. CC: Gavi Teitz <gavi@mellanox.com> CC: Simon Horman <simon.horman@netronome.com> CC: Roi Dayan <roid@mellanox.com> CC: Aaron Conole <aconole@redhat.com> Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/dpif.h')
-rw-r--r--lib/dpif.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/dpif.h b/lib/dpif.h
index 457cddc11..33d2d0bec 100644
--- a/lib/dpif.h
+++ b/lib/dpif.h
@@ -512,11 +512,6 @@ struct dpif_flow_attrs {
const char *dp_layer; /* DP layer the flow is handled in. */
};
-struct dpif_flow_dump_types {
- bool ovs_flows;
- bool netdev_flows;
-};
-
void dpif_flow_stats_extract(const struct flow *, const struct dp_packet *packet,
long long int used, struct dpif_flow_stats *);
void dpif_flow_stats_format(const struct dpif_flow_stats *, struct ds *);
@@ -578,7 +573,7 @@ int dpif_flow_get(struct dpif *,
* All error reporting is deferred to the call to dpif_flow_dump_destroy().
*/
struct dpif_flow_dump *dpif_flow_dump_create(const struct dpif *, bool terse,
- struct dpif_flow_dump_types *);
+ char *type);
int dpif_flow_dump_destroy(struct dpif_flow_dump *);
struct dpif_flow_dump_thread *dpif_flow_dump_thread_create(