net/bnxt: support multi device
[dpdk.git] / drivers / net / bnxt / tf_core / tf_identifier.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_identifier.h"
9
10 struct tf;
11
12 /**
13  * Identifier DBs.
14  */
15 /* static void *ident_db[TF_DIR_MAX]; */
16
17 /**
18  * Init flag, set on bind and cleared on unbind
19  */
20 /* static uint8_t init; */
21
22 int
23 tf_ident_bind(struct tf *tfp __rte_unused,
24               struct tf_ident_cfg *parms __rte_unused)
25 {
26         return 0;
27 }
28
29 int
30 tf_ident_unbind(struct tf *tfp __rte_unused)
31 {
32         return 0;
33 }
34
35 int
36 tf_ident_alloc(struct tf *tfp __rte_unused,
37                struct tf_ident_alloc_parms *parms __rte_unused)
38 {
39         return 0;
40 }
41
42 int
43 tf_ident_free(struct tf *tfp __rte_unused,
44               struct tf_ident_free_parms *parms __rte_unused)
45 {
46         return 0;
47 }