From: Ethan Jackson Date: Tue, 12 Nov 2013 02:06:13 +0000 (-0800) Subject: ofproto: Remove arbitrary handler thread limit. X-Git-Tag: sliver-openvswitch-2.1.90-1~10^2~208 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=2ffe6042ad994ec5428922370052b0ed13923c9a ofproto: Remove arbitrary handler thread limit. 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 Acked-by: Ben Pfaff --- diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index db57d298e..a7bf38d02 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -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) {