aboutsummaryrefslogtreecommitdiff
path: root/lib/objagg.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15lib: introduce initial implementation of object aggregation managerJiri Pirko1-0/+501
This lib tracks objects which could be of two types: 1) root object 2) nested object - with a "delta" which differentiates it from the associated root object The objects are tracked by a hashtable and reference-counted. User is responsible of implementing callbacks to create/destroy root entity related to each root object and callback to create/destroy nested object delta. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>