Commit 878c2d60 authored by Yizhen Fan's avatar Yizhen Fan Committed by fanyizhen1995
Browse files

ub: ubcore add tp table ops api



driver inclusion
category: feature
bugzilla: NA
CVE: NA

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

Ubcore add tp table ops api, including:
- ubcore_add_tp_node: Add tp as a node in tp hash table. Return old tp
node if key already exists.
- ubcore_find_remove_tp: Find and remove the tp from table only if
it is unreferenced.
- ubcore_get_tptable: Get tp hash table.
- ubcore_put_tptable: Release the tp hash table.
- ubcore_add_tp_with_tpn: Create tp node with specific tp.
- ubcore_remove_tp_with_tpn: Destroy tp node with specific tp.

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