projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dpif-linux: Replace 'minor' by 'dp_idx'.
[openvswitch]
/
utilities
/
ovs-dpctl.c
diff --git
a/utilities/ovs-dpctl.c
b/utilities/ovs-dpctl.c
index 3167864ae27e0c97453e61f0863bf7e183547542..f79909a1f30c532ee5fbf3f5ddadb9248b9bf8e6 100644
(file)
--- a/
utilities/ovs-dpctl.c
+++ b/
utilities/ovs-dpctl.c
@@
-480,7
+480,7
@@
do_dump_dps(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
static void
do_dump_flows(int argc OVS_UNUSED, char *argv[])
{
static void
do_dump_flows(int argc OVS_UNUSED, char *argv[])
{
- const struct
odp
_flow_stats *stats;
+ const struct
dpif
_flow_stats *stats;
const struct nlattr *actions;
struct dpif_flow_dump dump;
const struct nlattr *key;
const struct nlattr *actions;
struct dpif_flow_dump dump;
const struct nlattr *key;
@@
-498,7
+498,7
@@
do_dump_flows(int argc OVS_UNUSED, char *argv[])
ds_clear(&ds);
odp_flow_key_format(key, key_len, &ds);
ds_put_cstr(&ds, ", ");
ds_clear(&ds);
odp_flow_key_format(key, key_len, &ds);
ds_put_cstr(&ds, ", ");
-
format_odp_flow_stats(&ds, stat
s);
+
dpif_flow_stats_format(stats, &d
s);
ds_put_cstr(&ds, ", actions:");
format_odp_actions(&ds, actions, actions_len);
printf("%s\n", ds_cstr(&ds));
ds_put_cstr(&ds, ", actions:");
format_odp_actions(&ds, actions, actions_len);
printf("%s\n", ds_cstr(&ds));