ofproto: Remove arbitrary handler thread limit.
authorEthan Jackson <ethan@nicira.com>
Tue, 12 Nov 2013 02:06:13 +0000 (18:06 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 12 Dec 2013 21:39:18 +0000 (13:39 -0800)
There's no particular reason to limit the number of handler threads to
64.  If someone wants to try more, let them.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-upcall.c

index db57d29..a7bf38d 100644 (file)
@@ -170,7 +170,6 @@ void
 udpif_recv_set(struct udpif *udpif, size_t n_handlers, bool enable)
 {
     n_handlers = enable ? n_handlers : 0;
-    n_handlers = MIN(n_handlers, 64);
 
     /* Stop the old threads (if any). */
     if (udpif->handlers && udpif->n_handlers != n_handlers) {