datapath: Move flow table rehashing to flow install.
[sliver-openvswitch.git] / datapath / datapath.h
index 5d50dd4..4a49a7d 100644 (file)
@@ -64,6 +64,7 @@ struct dp_stats_percpu {
  * 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.
@@ -85,6 +86,7 @@ struct datapath {
        /* Network namespace ref. */
        struct net *net;
 #endif
+       unsigned long last_rehash;
 };
 
 /**