guarded-list: New data structure for thread-safe queue.
[sliver-openvswitch.git] / ofproto / ofproto-dpif-upcall.h
index f742060..57d462d 100644 (file)
@@ -36,7 +36,6 @@ struct udpif *udpif_create(struct dpif_backer *, struct dpif *);
 void udpif_recv_set(struct udpif *, size_t n_workers, bool enable);
 void udpif_destroy(struct udpif *);
 
-void udpif_run(struct udpif *);
 void udpif_wait(struct udpif *);
 
 void udpif_revalidate(struct udpif *);
@@ -66,7 +65,7 @@ struct upcall {
     /* Raw upcall plus data for keeping track of the memory backing it. */
     struct dpif_upcall dpif_upcall; /* As returned by dpif_recv() */
     struct ofpbuf upcall_buf;       /* Owns some data in 'dpif_upcall'. */
-    uint64_t upcall_stub[256 / 8];  /* Buffer to reduce need for malloc(). */
+    uint64_t upcall_stub[512 / 8];  /* Buffer to reduce need for malloc(). */
 };
 
 struct upcall *upcall_next(struct udpif *);
@@ -105,6 +104,8 @@ struct flow_miss_batch {
 
     struct flow_miss miss_buf[FLOW_MISS_MAX_BATCH];
     struct hmap misses;
+
+    unsigned int reval_seq;
 };
 
 struct flow_miss_batch *flow_miss_batch_next(struct udpif *);