1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2014-2021 Broadcom 3 * All rights reserved. 4 */ 5 6 /* date: Mon Sep 21 14:21:33 2020 */ 7 8 #ifndef ULP_TEMPLATE_DB_TBL_H_ 9 #define ULP_TEMPLATE_DB_TBL_H_ 10 11 #include "ulp_template_struct.h" 12 13 /* WH_PLUS template table declarations */ 14 extern struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_class_tmpl_list[]; 15 16 extern struct bnxt_ulp_mapper_tbl_info ulp_wh_plus_class_tbl_list[]; 17 18 extern struct 19 bnxt_ulp_mapper_key_info ulp_wh_plus_class_key_info_list[]; 20 21 extern struct 22 bnxt_ulp_mapper_field_info ulp_wh_plus_class_result_field_list[]; 23 24 extern struct bnxt_ulp_mapper_ident_info ulp_wh_plus_class_ident_list[]; 25 26 extern struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_act_tmpl_list[]; 27 28 extern struct bnxt_ulp_mapper_tbl_info ulp_wh_plus_act_tbl_list[]; 29 30 extern struct 31 bnxt_ulp_mapper_field_info ulp_wh_plus_act_result_field_list[]; 32 33 extern struct 34 bnxt_ulp_mapper_cond_info ulp_wh_plus_class_cond_list[]; 35 36 extern struct 37 bnxt_ulp_mapper_cond_info ulp_wh_plus_act_cond_list[]; 38 39 extern struct bnxt_ulp_mapper_key_info ulp_wh_plus_act_key_info_list[]; 40 41 extern struct bnxt_ulp_mapper_ident_info ulp_wh_plus_act_ident_list[]; 42 43 /* STINGRAY template table declarations */ 44 extern struct bnxt_ulp_mapper_tmpl_info ulp_stingray_class_tmpl_list[]; 45 46 extern struct bnxt_ulp_mapper_tbl_info ulp_stingray_class_tbl_list[]; 47 48 extern struct 49 bnxt_ulp_mapper_key_info ulp_stingray_class_key_info_list[]; 50 51 extern struct 52 bnxt_ulp_mapper_field_info ulp_stingray_class_result_field_list[]; 53 54 extern struct bnxt_ulp_mapper_ident_info ulp_stingray_class_ident_list[]; 55 56 extern struct bnxt_ulp_mapper_tmpl_info ulp_stingray_act_tmpl_list[]; 57 58 extern struct bnxt_ulp_mapper_tbl_info ulp_stingray_act_tbl_list[]; 59 60 extern struct bnxt_ulp_mapper_key_info ulp_stingray_act_key_info_list[]; 61 62 extern struct bnxt_ulp_mapper_ident_info ulp_stingray_act_ident_list[]; 63 64 extern struct 65 bnxt_ulp_mapper_field_info ulp_stingray_act_result_field_list[]; 66 67 extern struct 68 bnxt_ulp_mapper_cond_info ulp_stingray_class_cond_list[]; 69 70 extern struct 71 bnxt_ulp_mapper_cond_info ulp_stingray_act_cond_list[]; 72 73 /* Thor template table declarations */ 74 extern struct bnxt_ulp_mapper_tmpl_info ulp_thor_class_tmpl_list[]; 75 76 extern struct bnxt_ulp_mapper_tbl_info ulp_thor_class_tbl_list[]; 77 78 extern struct 79 bnxt_ulp_mapper_key_info ulp_thor_class_key_info_list[]; 80 81 extern struct 82 bnxt_ulp_mapper_field_info ulp_thor_class_result_field_list[]; 83 84 extern struct bnxt_ulp_mapper_ident_info ulp_thor_class_ident_list[]; 85 86 extern struct bnxt_ulp_mapper_tmpl_info ulp_thor_act_tmpl_list[]; 87 88 extern struct bnxt_ulp_mapper_tbl_info ulp_thor_act_tbl_list[]; 89 90 extern struct bnxt_ulp_mapper_key_info ulp_thor_act_key_info_list[]; 91 92 extern struct bnxt_ulp_mapper_ident_info ulp_thor_act_ident_list[]; 93 94 extern struct 95 bnxt_ulp_mapper_field_info ulp_thor_act_result_field_list[]; 96 97 extern struct 98 bnxt_ulp_mapper_cond_info ulp_thor_class_cond_list[]; 99 100 extern struct 101 bnxt_ulp_mapper_cond_info ulp_thor_act_cond_list[]; 102 103 extern struct bnxt_ulp_mapper_key_info ulp_wh_plus_act_key_info_list[]; 104 105 extern struct bnxt_ulp_mapper_ident_info ulp_wh_plus_act_ident_list[]; 106 107 /* Global declarations */ 108 extern uint8_t ulp_glb_field_tbl[]; 109 110 extern struct 111 bnxt_ulp_shared_act_info ulp_shared_act_info[]; 112 #endif 113