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: Move flow table rehashing to flow install.
[sliver-openvswitch.git]
/
datapath
/
datapath.h
diff --git
a/datapath/datapath.h
b/datapath/datapath.h
index
5d50dd4
..
4a49a7d
100644
(file)
--- a/
datapath/datapath.h
+++ b/
datapath/datapath.h
@@
-64,6
+64,7
@@
struct dp_stats_percpu {
* ovs_mutex and RCU.
* @stats_percpu: Per-CPU datapath statistics.
* @net: Reference to net namespace.
* ovs_mutex and RCU.
* @stats_percpu: Per-CPU datapath statistics.
* @net: Reference to net namespace.
+ * @last_rehash: Timestamp of last rehash.
*
* Context: See the comment on locking at the top of datapath.c for additional
* locking information.
*
* Context: See the comment on locking at the top of datapath.c for additional
* locking information.
@@
-85,6
+86,7
@@
struct datapath {
/* Network namespace ref. */
struct net *net;
#endif
/* Network namespace ref. */
struct net *net;
#endif
+ unsigned long last_rehash;
};
/**
};
/**