[PATCH v2 0/3] Add support to iter over all supported families during cache fill

roopa at cumulusnetworks.com roopa at cumulusnetworks.com
Mon Nov 12 15:38:30 EST 2012


From: roopa <roopa at cumulusnetworks.com>

This patch series adds support to iter over all supported families
during filling a cache.

This was previously submitted in the context of adding AF_BRIDGE support
to link and neigh cache at
http://lists.infradead.org/pipermail/libnl/2012-November/000734.html

This series incorporates feedback from Thomas:
	- Adds per cache flags
	- Makes the filling of cache on all families conditional
	  on a per cache flag NL_CACHE_AF_ITER
	- Adds a new cache api nl_cache_mngr_add_cache

v2 changelog:
	feedback from thomas:
	- Added per cache type and per cache flags
	- And added two new apis to set flags
		nl_cache_set_flags
		nl_cache_ops_set_flags


roopa (3):
  Add support for per cache flags
  New cache manager add cache api
  Add NL_CACHE_AF_ITER support during refill and resync

 include/netlink/cache-api.h |   18 +++++++++
 include/netlink/cache.h     |    4 ++
 lib/cache.c                 |   86 +++++++++++++++++++++++++++++++++---------
 lib/cache_mngr.c            |   86 ++++++++++++++++++++++++++++++++----------
 4 files changed, 154 insertions(+), 40 deletions(-)

-- 
1.7.2.5




More information about the libnl mailing list