2 * Copyright(c) 2001-2020, Broadcom. All rights reserved. The
3 * term Broadcom refers to Broadcom Inc. and/or its subsidiaries.
4 * Proprietary and Confidential Information.
6 * This source file is the property of Broadcom Corporation, and
7 * may not be copied or distributed in any isomorphic form without
8 * the prior written consent of Broadcom Corporation.
10 * DO NOT MODIFY!!! This file is automatically generated.
13 #ifndef _CFA_RESOURCE_TYPES_H_
14 #define _CFA_RESOURCE_TYPES_H_
17 #define CFA_RESOURCE_TYPE_P59_L2_CTXT_TCAM 0x0UL
19 #define CFA_RESOURCE_TYPE_P59_PROF_FUNC 0x1UL
21 #define CFA_RESOURCE_TYPE_P59_PROF_TCAM 0x2UL
22 /* Exact Match Profile Id */
23 #define CFA_RESOURCE_TYPE_P59_EM_PROF_ID 0x3UL
24 /* Wildcard TCAM Profile Id */
25 #define CFA_RESOURCE_TYPE_P59_WC_TCAM_PROF_ID 0x4UL
27 #define CFA_RESOURCE_TYPE_P59_WC_TCAM 0x5UL
29 #define CFA_RESOURCE_TYPE_P59_METER_PROF 0x6UL
31 #define CFA_RESOURCE_TYPE_P59_METER 0x7UL
33 #define CFA_RESOURCE_TYPE_P59_MIRROR 0x8UL
34 /* Source Properties TCAM */
35 #define CFA_RESOURCE_TYPE_P59_SP_TCAM 0x9UL
36 /* Exact Match Flexible Key Builder */
37 #define CFA_RESOURCE_TYPE_P59_EM_FKB 0xaUL
38 /* Wildcard Flexible Key Builder */
39 #define CFA_RESOURCE_TYPE_P59_WC_FKB 0xbUL
41 #define CFA_RESOURCE_TYPE_P59_TBL_SCOPE 0xcUL
43 #define CFA_RESOURCE_TYPE_P59_L2_FUNC 0xdUL
45 #define CFA_RESOURCE_TYPE_P59_EPOCH 0xeUL
47 #define CFA_RESOURCE_TYPE_P59_METADATA 0xfUL
48 /* Connection Tracking Rule TCAM */
49 #define CFA_RESOURCE_TYPE_P59_CT_RULE_TCAM 0x10UL
51 #define CFA_RESOURCE_TYPE_P59_RANGE_PROF 0x11UL
53 #define CFA_RESOURCE_TYPE_P59_RANGE 0x12UL
54 /* Link Aggrigation */
55 #define CFA_RESOURCE_TYPE_P59_LAG 0x13UL
57 #define CFA_RESOURCE_TYPE_P59_VEB_TCAM 0x14UL
58 #define CFA_RESOURCE_TYPE_P59_LAST CFA_RESOURCE_TYPE_P59_VEB_TCAM
61 /* SRAM Multicast Group */
62 #define CFA_RESOURCE_TYPE_P58_SRAM_MCG 0x0UL
63 /* SRAM Encap 8 byte record */
64 #define CFA_RESOURCE_TYPE_P58_SRAM_ENCAP_8B 0x1UL
65 /* SRAM Encap 16 byte record */
66 #define CFA_RESOURCE_TYPE_P58_SRAM_ENCAP_16B 0x2UL
67 /* SRAM Encap 64 byte record */
68 #define CFA_RESOURCE_TYPE_P58_SRAM_ENCAP_64B 0x3UL
69 /* SRAM Source Property MAC */
70 #define CFA_RESOURCE_TYPE_P58_SRAM_SP_MAC 0x4UL
71 /* SRAM Source Property MAC and IPv4 */
72 #define CFA_RESOURCE_TYPE_P58_SRAM_SP_MAC_IPV4 0x5UL
73 /* SRAM Source Property MAC and IPv6 */
74 #define CFA_RESOURCE_TYPE_P58_SRAM_SP_MAC_IPV6 0x6UL
75 /* SRAM Network Address Translation Source Port */
76 #define CFA_RESOURCE_TYPE_P58_SRAM_NAT_SPORT 0x7UL
77 /* SRAM Network Address Translation Destination Port */
78 #define CFA_RESOURCE_TYPE_P58_SRAM_NAT_DPORT 0x8UL
79 /* SRAM Network Address Translation Source IPv4 address */
80 #define CFA_RESOURCE_TYPE_P58_SRAM_NAT_S_IPV4 0x9UL
81 /* SRAM Network Address Translation Destination IPv4 address */
82 #define CFA_RESOURCE_TYPE_P58_SRAM_NAT_D_IPV4 0xaUL
83 /* SRAM Network Address Translation Source IPv4 address */
84 #define CFA_RESOURCE_TYPE_P58_SRAM_NAT_S_IPV6 0xbUL
85 /* SRAM Network Address Translation Destination IPv4 address */
86 #define CFA_RESOURCE_TYPE_P58_SRAM_NAT_D_IPV6 0xcUL
88 #define CFA_RESOURCE_TYPE_P58_SRAM_METER 0xdUL
90 #define CFA_RESOURCE_TYPE_P58_SRAM_FLOW_STATE 0xeUL
91 /* Full Action Records */
92 #define CFA_RESOURCE_TYPE_P58_SRAM_FULL_ACTION 0xfUL
93 /* Action Record Format 0 */
94 #define CFA_RESOURCE_TYPE_P58_SRAM_FORMAT_0_ACTION 0x10UL
95 /* Action Record Format 2 */
96 #define CFA_RESOURCE_TYPE_P58_SRAM_FORMAT_2_ACTION 0x11UL
97 /* Action Record Format 3 */
98 #define CFA_RESOURCE_TYPE_P58_SRAM_FORMAT_3_ACTION 0x12UL
99 /* Action Record Format 4 */
100 #define CFA_RESOURCE_TYPE_P58_SRAM_FORMAT_4_ACTION 0x13UL
101 /* L2 Context TCAM */
102 #define CFA_RESOURCE_TYPE_P58_L2_CTXT_TCAM 0x14UL
104 #define CFA_RESOURCE_TYPE_P58_PROF_FUNC 0x15UL
106 #define CFA_RESOURCE_TYPE_P58_PROF_TCAM 0x16UL
107 /* Exact Match Profile Id */
108 #define CFA_RESOURCE_TYPE_P58_EM_PROF_ID 0x17UL
109 /* Wildcard Profile Id */
110 #define CFA_RESOURCE_TYPE_P58_WC_TCAM_PROF_ID 0x18UL
112 #define CFA_RESOURCE_TYPE_P58_WC_TCAM 0x19UL
114 #define CFA_RESOURCE_TYPE_P58_METER_PROF 0x1aUL
116 #define CFA_RESOURCE_TYPE_P58_METER 0x1bUL
118 #define CFA_RESOURCE_TYPE_P58_MIRROR 0x1cUL
119 /* Source Property TCAM */
120 #define CFA_RESOURCE_TYPE_P58_SP_TCAM 0x1dUL
121 /* Exact Match Flexible Key Builder */
122 #define CFA_RESOURCE_TYPE_P58_EM_FKB 0x1eUL
123 /* Wildcard Flexible Key Builder */
124 #define CFA_RESOURCE_TYPE_P58_WC_FKB 0x1fUL
126 #define CFA_RESOURCE_TYPE_P58_VEB_TCAM 0x20UL
127 #define CFA_RESOURCE_TYPE_P58_LAST CFA_RESOURCE_TYPE_P58_VEB_TCAM
130 /* SRAM Multicast Group */
131 #define CFA_RESOURCE_TYPE_P45_SRAM_MCG 0x0UL
132 /* SRAM Encap 8 byte record */
133 #define CFA_RESOURCE_TYPE_P45_SRAM_ENCAP_8B 0x1UL
134 /* SRAM Encap 16 byte record */
135 #define CFA_RESOURCE_TYPE_P45_SRAM_ENCAP_16B 0x2UL
136 /* SRAM Encap 64 byte record */
137 #define CFA_RESOURCE_TYPE_P45_SRAM_ENCAP_64B 0x3UL
138 /* SRAM Source Property MAC */
139 #define CFA_RESOURCE_TYPE_P45_SRAM_SP_MAC 0x4UL
140 /* SRAM Source Property MAC and IPv4 */
141 #define CFA_RESOURCE_TYPE_P45_SRAM_SP_MAC_IPV4 0x5UL
142 /* SRAM Source Property MAC and IPv6 */
143 #define CFA_RESOURCE_TYPE_P45_SRAM_SP_MAC_IPV6 0x6UL
144 /* SRAM 64B Counters */
145 #define CFA_RESOURCE_TYPE_P45_SRAM_COUNTER_64B 0x7UL
146 /* SRAM Network Address Translation Source Port */
147 #define CFA_RESOURCE_TYPE_P45_SRAM_NAT_SPORT 0x8UL
148 /* SRAM Network Address Translation Destination Port */
149 #define CFA_RESOURCE_TYPE_P45_SRAM_NAT_DPORT 0x9UL
150 /* SRAM Network Address Translation Source IPv4 address */
151 #define CFA_RESOURCE_TYPE_P45_SRAM_NAT_S_IPV4 0xaUL
152 /* SRAM Network Address Translation Destination IPv4 address */
153 #define CFA_RESOURCE_TYPE_P45_SRAM_NAT_D_IPV4 0xbUL
154 /* SRAM Network Address Translation Source IPv6 address */
155 #define CFA_RESOURCE_TYPE_P45_SRAM_NAT_S_IPV6 0xcUL
156 /* SRAM Network Address Translation Destination IPv6 address */
157 #define CFA_RESOURCE_TYPE_P45_SRAM_NAT_D_IPV6 0xdUL
159 #define CFA_RESOURCE_TYPE_P45_SRAM_METER 0xeUL
161 #define CFA_RESOURCE_TYPE_P45_SRAM_FLOW_STATE 0xfUL
162 /* Full Action Records */
163 #define CFA_RESOURCE_TYPE_P45_SRAM_FULL_ACTION 0x10UL
164 /* Action Record Format 0 */
165 #define CFA_RESOURCE_TYPE_P45_SRAM_FORMAT_0_ACTION 0x11UL
166 /* Action Record Format 2 */
167 #define CFA_RESOURCE_TYPE_P45_SRAM_FORMAT_2_ACTION 0x12UL
168 /* Action Record Format 3 */
169 #define CFA_RESOURCE_TYPE_P45_SRAM_FORMAT_3_ACTION 0x13UL
170 /* Action Record Format 4 */
171 #define CFA_RESOURCE_TYPE_P45_SRAM_FORMAT_4_ACTION 0x14UL
172 /* L2 Context TCAM */
173 #define CFA_RESOURCE_TYPE_P45_L2_CTXT_TCAM 0x15UL
175 #define CFA_RESOURCE_TYPE_P45_PROF_FUNC 0x16UL
177 #define CFA_RESOURCE_TYPE_P45_PROF_TCAM 0x17UL
178 /* Exact Match Profile Id */
179 #define CFA_RESOURCE_TYPE_P45_EM_PROF_ID 0x18UL
180 /* Exact Match Record */
181 #define CFA_RESOURCE_TYPE_P45_EM_REC 0x19UL
182 /* Wildcard Profile Id */
183 #define CFA_RESOURCE_TYPE_P45_WC_TCAM_PROF_ID 0x1aUL
185 #define CFA_RESOURCE_TYPE_P45_WC_TCAM 0x1bUL
187 #define CFA_RESOURCE_TYPE_P45_METER_PROF 0x1cUL
189 #define CFA_RESOURCE_TYPE_P45_METER 0x1dUL
191 #define CFA_RESOURCE_TYPE_P45_MIRROR 0x1eUL
192 /* Source Property TCAM */
193 #define CFA_RESOURCE_TYPE_P45_SP_TCAM 0x1fUL
195 #define CFA_RESOURCE_TYPE_P45_VEB_TCAM 0x20UL
196 #define CFA_RESOURCE_TYPE_P45_LAST CFA_RESOURCE_TYPE_P45_VEB_TCAM
199 /* SRAM Multicast Group */
200 #define CFA_RESOURCE_TYPE_P4_SRAM_MCG 0x0UL
201 /* SRAM Encap 8 byte record */
202 #define CFA_RESOURCE_TYPE_P4_SRAM_ENCAP_8B 0x1UL
203 /* SRAM Encap 16 byte record */
204 #define CFA_RESOURCE_TYPE_P4_SRAM_ENCAP_16B 0x2UL
205 /* SRAM Encap 64 byte record */
206 #define CFA_RESOURCE_TYPE_P4_SRAM_ENCAP_64B 0x3UL
207 /* SRAM Source Property MAC */
208 #define CFA_RESOURCE_TYPE_P4_SRAM_SP_MAC 0x4UL
209 /* SRAM Source Property MAC and IPv4 */
210 #define CFA_RESOURCE_TYPE_P4_SRAM_SP_MAC_IPV4 0x5UL
211 /* SRAM Source Property MAC and IPv6 */
212 #define CFA_RESOURCE_TYPE_P4_SRAM_SP_MAC_IPV6 0x6UL
213 /* SRAM 64B Counters */
214 #define CFA_RESOURCE_TYPE_P4_SRAM_COUNTER_64B 0x7UL
215 /* SRAM Network Address Translation Source Port */
216 #define CFA_RESOURCE_TYPE_P4_SRAM_NAT_SPORT 0x8UL
217 /* SRAM Network Address Translation Destination Port */
218 #define CFA_RESOURCE_TYPE_P4_SRAM_NAT_DPORT 0x9UL
219 /* SRAM Network Address Translation Source IPv4 address */
220 #define CFA_RESOURCE_TYPE_P4_SRAM_NAT_S_IPV4 0xaUL
221 /* SRAM Network Address Translation Destination IPv4 address */
222 #define CFA_RESOURCE_TYPE_P4_SRAM_NAT_D_IPV4 0xbUL
223 /* SRAM Network Address Translation Source IPv6 address */
224 #define CFA_RESOURCE_TYPE_P4_SRAM_NAT_S_IPV6 0xcUL
225 /* SRAM Network Address Translation Destination IPv6 address */
226 #define CFA_RESOURCE_TYPE_P4_SRAM_NAT_D_IPV6 0xdUL
228 #define CFA_RESOURCE_TYPE_P4_SRAM_METER 0xeUL
230 #define CFA_RESOURCE_TYPE_P4_SRAM_FLOW_STATE 0xfUL
231 /* Full Action Records */
232 #define CFA_RESOURCE_TYPE_P4_SRAM_FULL_ACTION 0x10UL
233 /* Action Record Format 0 */
234 #define CFA_RESOURCE_TYPE_P4_SRAM_FORMAT_0_ACTION 0x11UL
235 /* Action Record Format 2 */
236 #define CFA_RESOURCE_TYPE_P4_SRAM_FORMAT_2_ACTION 0x12UL
237 /* Action Record Format 3 */
238 #define CFA_RESOURCE_TYPE_P4_SRAM_FORMAT_3_ACTION 0x13UL
239 /* Action Record Format 4 */
240 #define CFA_RESOURCE_TYPE_P4_SRAM_FORMAT_4_ACTION 0x14UL
241 /* L2 Context TCAM */
242 #define CFA_RESOURCE_TYPE_P4_L2_CTXT_TCAM 0x15UL
244 #define CFA_RESOURCE_TYPE_P4_PROF_FUNC 0x16UL
246 #define CFA_RESOURCE_TYPE_P4_PROF_TCAM 0x17UL
247 /* Exact Match Profile Id */
248 #define CFA_RESOURCE_TYPE_P4_EM_PROF_ID 0x18UL
249 /* Exact Match Record */
250 #define CFA_RESOURCE_TYPE_P4_EM_REC 0x19UL
251 /* Wildcard Profile Id */
252 #define CFA_RESOURCE_TYPE_P4_WC_TCAM_PROF_ID 0x1aUL
254 #define CFA_RESOURCE_TYPE_P4_WC_TCAM 0x1bUL
256 #define CFA_RESOURCE_TYPE_P4_METER_PROF 0x1cUL
258 #define CFA_RESOURCE_TYPE_P4_METER 0x1dUL
260 #define CFA_RESOURCE_TYPE_P4_MIRROR 0x1eUL
261 /* Source Property TCAM */
262 #define CFA_RESOURCE_TYPE_P4_SP_TCAM 0x1fUL
263 #define CFA_RESOURCE_TYPE_P4_LAST CFA_RESOURCE_TYPE_P4_SP_TCAM
266 #endif /* _CFA_RESOURCE_TYPES_H_ */