Commit 1395d9fc authored by Yizhen Fan's avatar Yizhen Fan Committed by fanyizhen1995
Browse files

ub: add hash table basic function in ubcore



driver inclusion
category: feature
bugzilla: NA
CVE: NA

--------------------------------

Add hash table basic function in ubcore, which will be used to store info
in ubcore device.

Use hlist_head and hlist_node as the implementation of hash table.

Provided ops:
- hashtable alloc/free
- add/remove/lookup node

Signed-off-by: default avatarGuoxin Qian <qianguoxin@huawei.com>
Signed-off-by: default avatarYizhen Fan <fanyizhen@huawei.com>
parent 95daa9db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment