1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019-2020 Broadcom
6 #include <rte_common.h>
8 #include "tf_tbl_type.h"
15 /* static void *tbl_db[TF_DIR_MAX]; */
18 * Table Type Shadow DBs
20 /* static void *shadow_tbl_db[TF_DIR_MAX]; */
23 * Init flag, set on bind and cleared on unbind
25 /* static uint8_t init; */
28 * Shadow init flag, set on bind and cleared on unbind
30 /* static uint8_t shadow_init; */
33 tf_tbl_type_bind(struct tf *tfp __rte_unused,
34 struct tf_tbl_type_cfg_parms *parms __rte_unused)
40 tf_tbl_type_unbind(struct tf *tfp __rte_unused)
46 tf_tbl_type_alloc(struct tf *tfp __rte_unused,
47 struct tf_tbl_type_alloc_parms *parms __rte_unused)
53 tf_tbl_type_free(struct tf *tfp __rte_unused,
54 struct tf_tbl_type_free_parms *parms __rte_unused)
60 tf_tbl_type_alloc_search(struct tf *tfp __rte_unused,
61 struct tf_tbl_type_alloc_search_parms *parms __rte_unused)
67 tf_tbl_type_set(struct tf *tfp __rte_unused,
68 struct tf_tbl_type_set_parms *parms __rte_unused)
74 tf_tbl_type_get(struct tf *tfp __rte_unused,
75 struct tf_tbl_type_get_parms *parms __rte_unused)