[PATCH v2 0/6] Add hash support to libnl caches

Thomas Graf tgraf at suug.ch
Fri Nov 9 18:15:00 EST 2012


On 11/09/12 at 02:41pm, roopa at cumulusnetworks.com wrote:
> From: roopa <roopa at cumulusnetworks.com>
> 
> This patch series adds hash lookup functionality for libnl caches.
> In our tests we have found that the current linear search for libnl
> cache objects does not scale well.
> 
> The current list representation continues to exist.
> Hash support requires each object type to define a keygen operation
> to generate the hash key. The hash is allocated at cache creation time.
> If the cache object type does not support the keygen op, hash table is
> not created for that cache.
> 
> This series adds keygen functions to link, neigh and route objects.
> 
> Note: Could not really verify if the documentation built correctly.
> Can fix if there are problems.

All applied. Thanks much.



More information about the libnl mailing list