commit | b090ef068645d6a9e69f04e571a3dcb32eb37d81 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Tue Jul 05 11:27:47 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 05 09:06:30 2016 -0700 |
tree | c7441d12a48e3ae83c19f0af199d305f13e08a44 | |
parent | c602242761dff9f698e16f3ab474e48da1b83f8f [diff] |
mlxsw: Introduce simplistic KVD linear area manager This is a very simple manager for KVD linear area. Currently, the allocator will either allocate a single entry from pre-defined sub-area, or in case more than one entry is needed, it will allocate 32-entry chunk in other pre-defined sub-area. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>