diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-11-14 08:22:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-15 14:43:43 -0800 |
commit | 0a020d416d0af0b0c782e2a8363896e756e9121e (patch) | |
tree | 2bd2d93bf7fdddceb76f0450c1063db9ea3776a3 /lib/Kconfig | |
parent | 7dc5a0eeea185e5f3af3f97a86e76419791cdd60 (diff) | |
download | linux-stable-0a020d416d0af0b0c782e2a8363896e756e9121e.tar.gz linux-stable-0a020d416d0af0b0c782e2a8363896e756e9121e.tar.bz2 linux-stable-0a020d416d0af0b0c782e2a8363896e756e9121e.zip |
lib: introduce initial implementation of object aggregation manager
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 <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index a9965f4af4dd..7dbbcfe9cd90 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -624,3 +624,6 @@ config GENERIC_LIB_CMPDI2 config GENERIC_LIB_UCMPDI2 bool + +config OBJAGG + tristate "objagg" if COMPILE_TEST |