net/bnxt: support bulk table get and mirror
[dpdk.git] / drivers / net / bnxt / tf_core / tf_tcam.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_tcam.h"
9
10 struct tf;
11
12 /**
13  * TCAM DBs.
14  */
15 /* static void *tcam_db[TF_DIR_MAX]; */
16
17 /**
18  * TCAM Shadow DBs
19  */
20 /* static void *shadow_tcam_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_tcam_bind(struct tf *tfp __rte_unused,
34              struct tf_tcam_cfg_parms *parms __rte_unused)
35 {
36         return 0;
37 }
38
39 int
40 tf_tcam_unbind(struct tf *tfp __rte_unused)
41 {
42         return 0;
43 }
44
45 int
46 tf_tcam_alloc(struct tf *tfp __rte_unused,
47               struct tf_tcam_alloc_parms *parms __rte_unused)
48 {
49         return 0;
50 }
51
52 int
53 tf_tcam_free(struct tf *tfp __rte_unused,
54              struct tf_tcam_free_parms *parms __rte_unused)
55 {
56         return 0;
57 }
58
59 int
60 tf_tcam_alloc_search(struct tf *tfp __rte_unused,
61                      struct tf_tcam_alloc_search_parms *parms __rte_unused)
62 {
63         return 0;
64 }
65
66 int
67 tf_tcam_set(struct tf *tfp __rte_unused,
68             struct tf_tcam_set_parms *parms __rte_unused)
69 {
70         return 0;
71 }
72
73 int
74 tf_tcam_get(struct tf *tfp __rte_unused,
75             struct tf_tcam_get_parms *parms __rte_unused)
76 {
77         return 0;
78 }