On Tue, Aug 23, 2011 at 3:34 PM, Pravin Shelar wrote:
> Currently OVS uses its own hashing implmentation for hash tables which
> has some problems, e.g. error case on deletion code. Following patch
> replaces that with hlist based hash table which is consistent with other
> kernel hash tables.
Jesse,
I forgot to commit `git rm table.c table.h` to this patch. I will do
it when I push final patch.
Thanks,
Pravin.
On Tue, Aug 23, 2011 at 3:34 PM, Pravin Shelar wrote:
> Currently OVS uses its own hashing implmentation for hash tables which
> has some problems, e.g. error case on del
Currently OVS uses its own hashing implmentation for hash tables which
has some problems, e.g. error case on deletion code. Following patch
replaces that with hlist based hash table which is consistent with other
kernel hash tables. As Jesse suggested, flex-array is used for allocating
hash bu
On Mon, Aug 22, 2011 at 7:02 AM, Pravin Shelar wrote:
> On Sat, Aug 20, 2011 at 4:31 AM, Jesse Gross wrote:
>> On Sat, Aug 20, 2011 at 4:49 AM, Pravin Shelar wrote:
>>> +int tnl_init()
>>> +{
>>> + port_table = alloc_buckets(port_table_size);
>>> + if (!port_table)
>>> +
On Sat, Aug 20, 2011 at 4:31 AM, Jesse Gross wrote:
> On Sat, Aug 20, 2011 at 4:49 AM, Pravin Shelar wrote:
>> Currently OVS used its own hashing implmentation for hash tables which
>> has some problems, e.g. error case on deletion code. Following patch
>> replaces that with hlist based hash tabl
On Fri, Aug 19, 2011 at 01:49:36PM -0700, Pravin Shelar wrote:
> Currently OVS used its own hashing implmentation for hash tables which
> has some problems, e.g. error case on deletion code. Following patch
> replaces that with hlist based hash table which is consistent with other
> kernel hash tab
On Sat, Aug 20, 2011 at 4:49 AM, Pravin Shelar wrote:
> Currently OVS used its own hashing implmentation for hash tables which
> has some problems, e.g. error case on deletion code. Following patch
> replaces that with hlist based hash table which is consistent with other
> kernel hash tables.
>
>
Currently OVS used its own hashing implmentation for hash tables which
has some problems, e.g. error case on deletion code. Following patch
replaces that with hlist based hash table which is consistent with other
kernel hash tables.
Signed-off-by: Pravin Shelar
---
datapath/Modules.mk |2 -