git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Always use generic stats for devices (vports)
[sliver-openvswitch.git]
/
lib
/
dpif-linux.h
diff --git
a/lib/dpif-linux.h
b/lib/dpif-linux.h
index
3a2c816
..
727a9e5
100644
(file)
--- a/
lib/dpif-linux.h
+++ b/
lib/dpif-linux.h
@@
-34,9
+34,8
@@
struct dpif_linux_vport {
/* Attributes. */
const char *name; /* OVS_VPORT_ATTR_NAME. */
/* Attributes. */
const char *name; /* OVS_VPORT_ATTR_NAME. */
- const struct
rtnl_link_stats64 *stats;
/* OVS_VPORT_ATTR_STATS. */
+ const struct
ovs_vport_stats *stats;
/* OVS_VPORT_ATTR_STATS. */
const uint8_t *address; /* OVS_VPORT_ATTR_ADDRESS. */
const uint8_t *address; /* OVS_VPORT_ATTR_ADDRESS. */
- int mtu; /* OVS_VPORT_ATTR_MTU. */
const struct nlattr *options; /* OVS_VPORT_ATTR_OPTIONS. */
size_t options_len;
int ifindex; /* OVS_VPORT_ATTR_IFINDEX. */
const struct nlattr *options; /* OVS_VPORT_ATTR_OPTIONS. */
size_t options_len;
int ifindex; /* OVS_VPORT_ATTR_IFINDEX. */