Re: [ovs-dev] [v8 2/2] datapath: Implement recirc action without recursion

2014-09-05 Thread Andy Zhou
Thanks. Pushed to master with suggested changes. On Fri, Sep 5, 2014 at 4:23 PM, Pravin Shelar wrote: > On Fri, Sep 5, 2014 at 2:52 PM, Andy Zhou wrote: >> Since kernel stack is limited in size, it is not wise to using >> recursive function with large stack frames. >> >> This patch provides an a

Re: [ovs-dev] [v8 2/2] datapath: Implement recirc action without recursion

2014-09-05 Thread Pravin Shelar
On Fri, Sep 5, 2014 at 2:52 PM, Andy Zhou wrote: > Since kernel stack is limited in size, it is not wise to using > recursive function with large stack frames. > > This patch provides an alternative implementation of recirc action > without using recursion. > > A per CPU fixed sized, 'deferred act

[ovs-dev] [v8 2/2] datapath: Implement recirc action without recursion

2014-09-05 Thread Andy Zhou
Since kernel stack is limited in size, it is not wise to using recursive function with large stack frames. This patch provides an alternative implementation of recirc action without using recursion. A per CPU fixed sized, 'deferred action FIFO', is used to store either recirc or sample actions en