Re: [ovs-dev] [PATCH] ofproto: Update rule's priority in eviction group.

2014-03-11 Thread Kmindg G
On Wed, Mar 12, 2014 at 1:36 PM, Ben Pfaff wrote: > On Sun, Mar 09, 2014 at 05:48:04PM +0800, kmindg wrote: >> We do call heap_rebuild in ofproto_run, but we do not update rule's >> priority with latest hard_timeout and idle_timeout before heap_rebuild. >> >> This patch ensures that rule's priorit

Re: [ovs-dev] [PATCH] ofproto: Update rule's priority in eviction group.

2014-03-11 Thread Ben Pfaff
On Sun, Mar 09, 2014 at 05:48:04PM +0800, kmindg wrote: > We do call heap_rebuild in ofproto_run, but we do not update rule's > priority with latest hard_timeout and idle_timeout before heap_rebuild. > > This patch ensures that rule's priority has been updated before > heap_rebuild, and adds two t

[ovs-dev] [PATCH] ofproto: Update rule's priority in eviction group.

2014-03-09 Thread kmindg
We do call heap_rebuild in ofproto_run, but we do not update rule's priority with latest hard_timeout and idle_timeout before heap_rebuild. This patch ensures that rule's priority has been updated before heap_rebuild, and adds two test cases to check eviction with modified hard_timeout and idle_ti