1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2014-2021 Broadcom
6 /* date: Mon Sep 21 14:21:33 2020 */
8 #ifndef ULP_TEMPLATE_DB_TBL_H_
9 #define ULP_TEMPLATE_DB_TBL_H_
11 #include "ulp_template_struct.h"
13 /* WH_PLUS template table declarations */
14 extern struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_class_tmpl_list[];
16 extern struct bnxt_ulp_mapper_tbl_info ulp_wh_plus_class_tbl_list[];
19 bnxt_ulp_mapper_key_info ulp_wh_plus_class_key_info_list[];
22 bnxt_ulp_mapper_field_info ulp_wh_plus_class_result_field_list[];
24 extern struct bnxt_ulp_mapper_ident_info ulp_wh_plus_class_ident_list[];
26 extern struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_act_tmpl_list[];
28 extern struct bnxt_ulp_mapper_tbl_info ulp_wh_plus_act_tbl_list[];
31 bnxt_ulp_mapper_field_info ulp_wh_plus_act_result_field_list[];
34 bnxt_ulp_mapper_cond_info ulp_wh_plus_class_cond_list[];
37 bnxt_ulp_mapper_cond_info ulp_wh_plus_act_cond_list[];
39 extern struct bnxt_ulp_mapper_key_info ulp_wh_plus_act_key_info_list[];
41 extern struct bnxt_ulp_mapper_ident_info ulp_wh_plus_act_ident_list[];
43 /* STINGRAY template table declarations */
44 extern struct bnxt_ulp_mapper_tmpl_info ulp_stingray_class_tmpl_list[];
46 extern struct bnxt_ulp_mapper_tbl_info ulp_stingray_class_tbl_list[];
49 bnxt_ulp_mapper_key_info ulp_stingray_class_key_info_list[];
52 bnxt_ulp_mapper_field_info ulp_stingray_class_result_field_list[];
54 extern struct bnxt_ulp_mapper_ident_info ulp_stingray_class_ident_list[];
56 extern struct bnxt_ulp_mapper_tmpl_info ulp_stingray_act_tmpl_list[];
58 extern struct bnxt_ulp_mapper_tbl_info ulp_stingray_act_tbl_list[];
60 extern struct bnxt_ulp_mapper_key_info ulp_stingray_act_key_info_list[];
62 extern struct bnxt_ulp_mapper_ident_info ulp_stingray_act_ident_list[];
65 bnxt_ulp_mapper_field_info ulp_stingray_act_result_field_list[];
68 bnxt_ulp_mapper_cond_info ulp_stingray_class_cond_list[];
71 bnxt_ulp_mapper_cond_info ulp_stingray_act_cond_list[];
73 /* Thor template table declarations */
74 extern struct bnxt_ulp_mapper_tmpl_info ulp_thor_class_tmpl_list[];
76 extern struct bnxt_ulp_mapper_tbl_info ulp_thor_class_tbl_list[];
79 bnxt_ulp_mapper_key_info ulp_thor_class_key_info_list[];
82 bnxt_ulp_mapper_field_info ulp_thor_class_result_field_list[];
84 extern struct bnxt_ulp_mapper_ident_info ulp_thor_class_ident_list[];
86 extern struct bnxt_ulp_mapper_tmpl_info ulp_thor_act_tmpl_list[];
88 extern struct bnxt_ulp_mapper_tbl_info ulp_thor_act_tbl_list[];
90 extern struct bnxt_ulp_mapper_key_info ulp_thor_act_key_info_list[];
92 extern struct bnxt_ulp_mapper_ident_info ulp_thor_act_ident_list[];
95 bnxt_ulp_mapper_field_info ulp_thor_act_result_field_list[];
98 bnxt_ulp_mapper_cond_info ulp_thor_class_cond_list[];
101 bnxt_ulp_mapper_cond_info ulp_thor_act_cond_list[];
103 extern struct bnxt_ulp_mapper_key_info ulp_wh_plus_act_key_info_list[];
105 extern struct bnxt_ulp_mapper_ident_info ulp_wh_plus_act_ident_list[];
107 /* Global declarations */
108 extern uint8_t ulp_glb_field_tbl[];
111 bnxt_ulp_shared_act_info ulp_shared_act_info[];