Re: [ovs-dev] [threaded-put v2 3/3] ofproto: Simplify thread creation API.

2013-12-13 Thread Ethan Jackson
Yep, you didn't give me an acked on the last round so I resent it. Thanks for the reviews. Ethan On Thu, Dec 12, 2013 at 11:07 PM, Ben Pfaff wrote: > On Thu, Dec 12, 2013 at 08:24:56PM -0800, Ethan Jackson wrote: >> There's no particular reason for the function controlling the number >> of thre

Re: [ovs-dev] [threaded-put v2 3/3] ofproto: Simplify thread creation API.

2013-12-12 Thread Ben Pfaff
On Thu, Dec 12, 2013 at 08:24:56PM -0800, Ethan Jackson wrote: > There's no particular reason for the function controlling the number > of threads to be bound up with dpif_recv_set(). This patch breaks > them up, but as a side effect means threads will run doing nothing > when datapath upcall rece

[ovs-dev] [threaded-put v2 3/3] ofproto: Simplify thread creation API.

2013-12-12 Thread Ethan Jackson
There's no particular reason for the function controlling the number of threads to be bound up with dpif_recv_set(). This patch breaks them up, but as a side effect means threads will run doing nothing when datapath upcall receiving is disabled. By doing this, the udpif thread creation API become