Re: [ovs-dev] [PATCH v2] datapath: Implement flow table re-hashing.

2011-12-13 Thread Jesse Gross
On Thu, Dec 8, 2011 at 10:48 AM, Pravin B Shelar wrote: > diff --git a/datapath/datapath.c b/datapath/datapath.c > index c86c20b..50fd00e 100644 > --- a/datapath/datapath.c > +++ b/datapath/datapath.c > +static void __rehash_flow_table(void) > +{ > +       struct datapath *dp; > + > +       list_f

Re: [ovs-dev] [PATCH v2] datapath: Implement flow table re-hashing.

2011-12-08 Thread Pravin Shelar
There is a typo in function workqueue_barrier() where it inserts wrong 'work' to workq. Thanks, Pravin. On Thu, Dec 8, 2011 at 10:48 AM, Pravin B Shelar wrote: > Fixed according to comments from Jesse. > v1-v2: >        - uses genl_mutex to protect flow-hash-table. >        - adds REHASH cmd to

[ovs-dev] [PATCH v2] datapath: Implement flow table re-hashing.

2011-12-08 Thread Pravin B Shelar
Fixed according to comments from Jesse. v1-v2: - uses genl_mutex to protect flow-hash-table. - adds REHASH cmd to dp_datapath_genl_ops so that we can rehash flow-table holding genl_mutex. --8<--cut here-->8-- Following patc