Re: [ovs-dev] [PATCH] datapath: keep mask array compact when deleting mask

2014-05-15 Thread Andy Zhou
On Thu, May 15, 2014 at 1:50 PM, Pravin Shelar wrote: > On Thu, May 8, 2014 at 11:19 PM, Andy Zhou wrote: >> When deleting a mask from the mask array, we always move the last entry >> into its current location. Another approach can be NULL in its current >> place, and periodically compact it. >>

Re: [ovs-dev] [PATCH] datapath: keep mask array compact when deleting mask

2014-05-15 Thread Pravin Shelar
On Thu, May 8, 2014 at 11:19 PM, Andy Zhou wrote: > When deleting a mask from the mask array, we always move the last entry > into its current location. Another approach can be NULL in its current > place, and periodically compact it. > > The approach taken by this patch is more efficient during r

[ovs-dev] [PATCH] datapath: keep mask array compact when deleting mask

2014-05-08 Thread Andy Zhou
When deleting a mask from the mask array, we always move the last entry into its current location. Another approach can be NULL in its current place, and periodically compact it. The approach taken by this patch is more efficient during run time. During look up, fast path packet don't have to skip