c3c4d1e0546e46fc452645063c0545ccbe39bcad
[dpdk.git] / drivers / net / bnxt / tf_core / tf_device_p4.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2019-2020 Broadcom
3  * All rights reserved.
4  */
5
6 #include "tf_device.h"
7 #include "tf_identifier.h"
8 #include "tf_tbl_type.h"
9 #include "tf_tcam.h"
10
11 const struct tf_dev_ops tf_dev_ops_p4 = {
12         .tf_dev_alloc_ident = tf_ident_alloc,
13         .tf_dev_free_ident = tf_ident_free,
14         .tf_dev_alloc_tbl_type = tf_tbl_type_alloc,
15         .tf_dev_free_tbl_type = tf_tbl_type_free,
16         .tf_dev_alloc_search_tbl_type = tf_tbl_type_alloc_search,
17         .tf_dev_set_tbl_type = tf_tbl_type_set,
18         .tf_dev_get_tbl_type = tf_tbl_type_get,
19         .tf_dev_alloc_tcam = tf_tcam_alloc,
20         .tf_dev_free_tcam = tf_tcam_free,
21         .tf_dev_alloc_search_tcam = tf_tcam_alloc_search,
22         .tf_dev_set_tcam = tf_tcam_set,
23         .tf_dev_get_tcam = tf_tcam_get,
24 };