net/bnxt: update multi device design
[dpdk.git] / drivers / net / bnxt / tf_core / tf_tbl_type.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2019-2020 Broadcom
3  * All rights reserved.
4  */
5
6 #include <rte_common.h>
7
8 #include "tf_tbl_type.h"
9
10 struct tf;
11
12 /**
13  * Table DBs.
14  */
15 /* static void *tbl_db[TF_DIR_MAX]; */
16
17 /**
18  * Table Shadow DBs
19  */
20 /* static void *shadow_tbl_db[TF_DIR_MAX]; */
21
22 /**
23  * Init flag, set on bind and cleared on unbind
24  */
25 /* static uint8_t init; */
26
27 /**
28  * Shadow init flag, set on bind and cleared on unbind
29  */
30 /* static uint8_t shadow_init; */
31
32 int
33 tf_tbl_bind(struct tf *tfp __rte_unused,
34             struct tf_tbl_cfg_parms *parms __rte_unused)
35 {
36         return 0;
37 }
38
39 int
40 tf_tbl_unbind(struct tf *tfp __rte_unused)
41 {
42         return 0;
43 }
44
45 int
46 tf_tbl_alloc(struct tf *tfp __rte_unused,
47              struct tf_tbl_alloc_parms *parms __rte_unused)
48 {
49         return 0;
50 }
51
52 int
53 tf_tbl_free(struct tf *tfp __rte_unused,
54             struct tf_tbl_free_parms *parms __rte_unused)
55 {
56         return 0;
57 }
58
59 int
60 tf_tbl_alloc_search(struct tf *tfp __rte_unused,
61                     struct tf_tbl_alloc_search_parms *parms __rte_unused)
62 {
63         return 0;
64 }
65
66 int
67 tf_tbl_set(struct tf *tfp __rte_unused,
68            struct tf_tbl_set_parms *parms __rte_unused)
69 {
70         return 0;
71 }
72
73 int
74 tf_tbl_get(struct tf *tfp __rte_unused,
75            struct tf_tbl_get_parms *parms __rte_unused)
76 {
77         return 0;
78 }