ca019bbe93e00b0733f5427c8fa762aa26ef7259
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_template_db_enum.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2014-2021 Broadcom
3  * All rights reserved.
4  */
5
6 /* date: Fri Jan 29 09:44:41 2021 */
7
8 #ifndef ULP_TEMPLATE_DB_H_
9 #define ULP_TEMPLATE_DB_H_
10
11 #define BNXT_ULP_REGFILE_MAX_SZ 38
12 #define BNXT_ULP_MAX_NUM_DEVICES 4
13 #define BNXT_ULP_LOG2_MAX_NUM_DEV 2
14 #define BNXT_ULP_GEN_TBL_MAX_SZ 10
15 #define BNXT_ULP_CLASS_SIG_TBL_MAX_SZ 32768
16 #define BNXT_ULP_CLASS_MATCH_LIST_MAX_SZ 687
17 #define BNXT_ULP_CLASS_HID_LOW_PRIME 6701
18 #define BNXT_ULP_CLASS_HID_HIGH_PRIME 7907
19 #define BNXT_ULP_CLASS_HID_SHFTR 23
20 #define BNXT_ULP_CLASS_HID_SHFTL 23
21 #define BNXT_ULP_CLASS_HID_MASK 32767
22 #define BNXT_ULP_ACT_SIG_TBL_MAX_SZ 2048
23 #define BNXT_ULP_ACT_MATCH_LIST_MAX_SZ 86
24 #define BNXT_ULP_ACT_HID_LOW_PRIME 7919
25 #define BNXT_ULP_ACT_HID_HIGH_PRIME 3793
26 #define BNXT_ULP_ACT_HID_SHFTR 27
27 #define BNXT_ULP_ACT_HID_SHFTL 26
28 #define BNXT_ULP_ACT_HID_MASK 2047
29 #define BNXT_ULP_GLB_RESOURCE_TBL_MAX_SZ 11
30 #define BNXT_ULP_APP_GLB_RESOURCE_TBL_MAX_SZ 10
31 #define BNXT_ULP_COND_GOTO_REJECT 1023
32 #define BNXT_ULP_COND_GOTO_RF 0x10000
33 #define BNXT_ULP_GLB_FIELD_TBL_SHIFT 7
34 #define BNXT_ULP_HDR_SIG_ID_SHIFT 4
35 #define BNXT_ULP_GLB_FIELD_TBL_SIZE 5595
36 #define ULP_WH_PLUS_CLASS_TMPL_LIST_SIZE 5
37 #define ULP_WH_PLUS_CLASS_TBL_LIST_SIZE 74
38 #define ULP_WH_PLUS_CLASS_KEY_INFO_LIST_SIZE 484
39 #define ULP_WH_PLUS_CLASS_IDENT_LIST_SIZE 20
40 #define ULP_WH_PLUS_CLASS_RESULT_FIELD_LIST_SIZE 550
41 #define ULP_WH_PLUS_CLASS_COND_LIST_SIZE 41
42 #define ULP_THOR_CLASS_TMPL_LIST_SIZE 5
43 #define ULP_THOR_CLASS_TBL_LIST_SIZE 26
44 #define ULP_THOR_CLASS_KEY_INFO_LIST_SIZE 90
45 #define ULP_THOR_CLASS_IDENT_LIST_SIZE 3
46 #define ULP_THOR_CLASS_RESULT_FIELD_LIST_SIZE 138
47 #define ULP_THOR_CLASS_COND_LIST_SIZE 6
48 #define ULP_WH_PLUS_ACT_TMPL_LIST_SIZE 7
49 #define ULP_WH_PLUS_ACT_TBL_LIST_SIZE 35
50 #define ULP_WH_PLUS_ACT_KEY_INFO_LIST_SIZE 2
51 #define ULP_WH_PLUS_ACT_IDENT_LIST_SIZE 1
52 #define ULP_WH_PLUS_ACT_RESULT_FIELD_LIST_SIZE 512
53 #define ULP_WH_PLUS_ACT_COND_LIST_SIZE 39
54 #define ULP_THOR_ACT_TMPL_LIST_SIZE 7
55 #define ULP_THOR_ACT_TBL_LIST_SIZE 0
56 #define ULP_THOR_ACT_KEY_INFO_LIST_SIZE 0
57 #define ULP_THOR_ACT_IDENT_LIST_SIZE 0
58 #define ULP_THOR_ACT_RESULT_FIELD_LIST_SIZE 0
59 #define ULP_THOR_ACT_COND_LIST_SIZE 0
60
61 enum bnxt_ulp_act_bit {
62         BNXT_ULP_ACT_BIT_MARK                = 0x0000000000000001,
63         BNXT_ULP_ACT_BIT_DROP                = 0x0000000000000002,
64         BNXT_ULP_ACT_BIT_COUNT               = 0x0000000000000004,
65         BNXT_ULP_ACT_BIT_RSS                 = 0x0000000000000008,
66         BNXT_ULP_ACT_BIT_METER               = 0x0000000000000010,
67         BNXT_ULP_ACT_BIT_VXLAN_DECAP         = 0x0000000000000020,
68         BNXT_ULP_ACT_BIT_POP_MPLS            = 0x0000000000000040,
69         BNXT_ULP_ACT_BIT_PUSH_MPLS           = 0x0000000000000080,
70         BNXT_ULP_ACT_BIT_MAC_SWAP            = 0x0000000000000100,
71         BNXT_ULP_ACT_BIT_SET_MAC_SRC         = 0x0000000000000200,
72         BNXT_ULP_ACT_BIT_SET_MAC_DST         = 0x0000000000000400,
73         BNXT_ULP_ACT_BIT_POP_VLAN            = 0x0000000000000800,
74         BNXT_ULP_ACT_BIT_PUSH_VLAN           = 0x0000000000001000,
75         BNXT_ULP_ACT_BIT_SET_VLAN_PCP        = 0x0000000000002000,
76         BNXT_ULP_ACT_BIT_SET_VLAN_VID        = 0x0000000000004000,
77         BNXT_ULP_ACT_BIT_SET_IPV4_SRC        = 0x0000000000008000,
78         BNXT_ULP_ACT_BIT_SET_IPV4_DST        = 0x0000000000010000,
79         BNXT_ULP_ACT_BIT_SET_IPV6_SRC        = 0x0000000000020000,
80         BNXT_ULP_ACT_BIT_SET_IPV6_DST        = 0x0000000000040000,
81         BNXT_ULP_ACT_BIT_DEC_TTL             = 0x0000000000080000,
82         BNXT_ULP_ACT_BIT_SET_TP_SRC          = 0x0000000000100000,
83         BNXT_ULP_ACT_BIT_SET_TP_DST          = 0x0000000000200000,
84         BNXT_ULP_ACT_BIT_VXLAN_ENCAP         = 0x0000000000400000,
85         BNXT_ULP_ACT_BIT_JUMP                = 0x0000000000800000,
86         BNXT_ULP_ACT_BIT_SHARED              = 0x0000000001000000,
87         BNXT_ULP_ACT_BIT_SAMPLE              = 0x0000000002000000,
88         BNXT_ULP_ACT_BIT_SHARED_SAMPLE       = 0x0000000004000000,
89         BNXT_ULP_ACT_BIT_LAST                = 0x0000000008000000
90 };
91
92 enum bnxt_ulp_hdr_bit {
93         BNXT_ULP_HDR_BIT_O_ETH               = 0x0000000000000001,
94         BNXT_ULP_HDR_BIT_OO_VLAN             = 0x0000000000000002,
95         BNXT_ULP_HDR_BIT_OI_VLAN             = 0x0000000000000004,
96         BNXT_ULP_HDR_BIT_O_IPV4              = 0x0000000000000008,
97         BNXT_ULP_HDR_BIT_O_IPV6              = 0x0000000000000010,
98         BNXT_ULP_HDR_BIT_O_TCP               = 0x0000000000000020,
99         BNXT_ULP_HDR_BIT_O_UDP               = 0x0000000000000040,
100         BNXT_ULP_HDR_BIT_O_ICMP              = 0x0000000000000080,
101         BNXT_ULP_HDR_BIT_T_VXLAN             = 0x0000000000000100,
102         BNXT_ULP_HDR_BIT_T_GRE               = 0x0000000000000200,
103         BNXT_ULP_HDR_BIT_I_ETH               = 0x0000000000000400,
104         BNXT_ULP_HDR_BIT_IO_VLAN             = 0x0000000000000800,
105         BNXT_ULP_HDR_BIT_II_VLAN             = 0x0000000000001000,
106         BNXT_ULP_HDR_BIT_I_IPV4              = 0x0000000000002000,
107         BNXT_ULP_HDR_BIT_I_IPV6              = 0x0000000000004000,
108         BNXT_ULP_HDR_BIT_I_TCP               = 0x0000000000008000,
109         BNXT_ULP_HDR_BIT_I_UDP               = 0x0000000000010000,
110         BNXT_ULP_HDR_BIT_I_ICMP              = 0x0000000000020000,
111         BNXT_ULP_HDR_BIT_F1                  = 0x0000000000040000,
112         BNXT_ULP_HDR_BIT_LAST                = 0x0000000000080000
113 };
114
115 enum bnxt_ulp_accept_opc {
116         BNXT_ULP_ACCEPT_OPC_ALWAYS = 0,
117         BNXT_ULP_ACCEPT_OPC_FLOW_SIG_ID_MATCH = 1,
118         BNXT_ULP_ACCEPT_OPC_LAST = 2
119 };
120
121 enum bnxt_ulp_act_type {
122         BNXT_ULP_ACT_TYPE_NOT_SUPPORTED = 0,
123         BNXT_ULP_ACT_TYPE_SUPPORTED = 1,
124         BNXT_ULP_ACT_TYPE_END = 2,
125         BNXT_ULP_ACT_TYPE_LAST = 3
126 };
127
128 enum bnxt_ulp_byte_order {
129         BNXT_ULP_BYTE_ORDER_BE = 0,
130         BNXT_ULP_BYTE_ORDER_LE = 1,
131         BNXT_ULP_BYTE_ORDER_LAST = 2
132 };
133
134 enum bnxt_ulp_cc_upd_opc {
135         BNXT_ULP_CC_UPD_OPC_NOP = 0,
136         BNXT_ULP_CC_UPD_OPC_EQ = 1,
137         BNXT_ULP_CC_UPD_OPC_NE = 2,
138         BNXT_ULP_CC_UPD_OPC_GT = 3,
139         BNXT_ULP_CC_UPD_OPC_GE = 4,
140         BNXT_ULP_CC_UPD_OPC_LT = 5,
141         BNXT_ULP_CC_UPD_OPC_LE = 6,
142         BNXT_ULP_CC_UPD_OPC_LAST = 7
143 };
144
145 enum bnxt_ulp_cc_upd_src {
146         BNXT_ULP_CC_UPD_SRC_REGFILE = 0,
147         BNXT_ULP_CC_UPD_SRC_GLB_REGFILE = 1,
148         BNXT_ULP_CC_UPD_SRC_COMP_FIELD = 2,
149         BNXT_ULP_CC_UPD_SRC_LAST = 3
150 };
151
152 enum bnxt_ulp_cf_idx {
153         BNXT_ULP_CF_IDX_NOT_USED = 0,
154         BNXT_ULP_CF_IDX_MPLS_TAG_NUM = 1,
155         BNXT_ULP_CF_IDX_O_VTAG_NUM = 2,
156         BNXT_ULP_CF_IDX_O_NO_VTAG = 3,
157         BNXT_ULP_CF_IDX_O_ONE_VTAG = 4,
158         BNXT_ULP_CF_IDX_O_TWO_VTAGS = 5,
159         BNXT_ULP_CF_IDX_I_VTAG_NUM = 6,
160         BNXT_ULP_CF_IDX_I_NO_VTAG = 7,
161         BNXT_ULP_CF_IDX_I_ONE_VTAG = 8,
162         BNXT_ULP_CF_IDX_I_TWO_VTAGS = 9,
163         BNXT_ULP_CF_IDX_INCOMING_IF = 10,
164         BNXT_ULP_CF_IDX_DIRECTION = 11,
165         BNXT_ULP_CF_IDX_SVIF_FLAG = 12,
166         BNXT_ULP_CF_IDX_O_L3 = 13,
167         BNXT_ULP_CF_IDX_I_L3 = 14,
168         BNXT_ULP_CF_IDX_O_L4 = 15,
169         BNXT_ULP_CF_IDX_I_L4 = 16,
170         BNXT_ULP_CF_IDX_O_L4_SRC_PORT = 17,
171         BNXT_ULP_CF_IDX_O_L4_DST_PORT = 18,
172         BNXT_ULP_CF_IDX_I_L4_SRC_PORT = 19,
173         BNXT_ULP_CF_IDX_I_L4_DST_PORT = 20,
174         BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT = 21,
175         BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT = 22,
176         BNXT_ULP_CF_IDX_I_L4_FB_SRC_PORT = 23,
177         BNXT_ULP_CF_IDX_I_L4_FB_DST_PORT = 24,
178         BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID = 25,
179         BNXT_ULP_CF_IDX_I_L3_FB_PROTO_ID = 26,
180         BNXT_ULP_CF_IDX_O_L3_PROTO_ID = 27,
181         BNXT_ULP_CF_IDX_I_L3_PROTO_ID = 28,
182         BNXT_ULP_CF_IDX_DEV_PORT_ID = 29,
183         BNXT_ULP_CF_IDX_DRV_FUNC_SVIF = 30,
184         BNXT_ULP_CF_IDX_DRV_FUNC_SPIF = 31,
185         BNXT_ULP_CF_IDX_DRV_FUNC_PARIF = 32,
186         BNXT_ULP_CF_IDX_DRV_FUNC_VNIC = 33,
187         BNXT_ULP_CF_IDX_DRV_FUNC_PHY_PORT = 34,
188         BNXT_ULP_CF_IDX_VF_FUNC_SVIF = 35,
189         BNXT_ULP_CF_IDX_VF_FUNC_SPIF = 36,
190         BNXT_ULP_CF_IDX_VF_FUNC_PARIF = 37,
191         BNXT_ULP_CF_IDX_VF_FUNC_VNIC = 38,
192         BNXT_ULP_CF_IDX_PHY_PORT_SVIF = 39,
193         BNXT_ULP_CF_IDX_PHY_PORT_SPIF = 40,
194         BNXT_ULP_CF_IDX_PHY_PORT_PARIF = 41,
195         BNXT_ULP_CF_IDX_PHY_PORT_VPORT = 42,
196         BNXT_ULP_CF_IDX_ACT_ENCAP_IPV4_FLAG = 43,
197         BNXT_ULP_CF_IDX_ACT_ENCAP_IPV6_FLAG = 44,
198         BNXT_ULP_CF_IDX_ACT_DEC_TTL = 45,
199         BNXT_ULP_CF_IDX_ACT_T_DEC_TTL = 46,
200         BNXT_ULP_CF_IDX_ACT_PORT_IS_SET = 47,
201         BNXT_ULP_CF_IDX_ACT_PORT_TYPE = 48,
202         BNXT_ULP_CF_IDX_MATCH_PORT_TYPE = 49,
203         BNXT_ULP_CF_IDX_MATCH_PORT_IS_VFREP = 50,
204         BNXT_ULP_CF_IDX_MATCH_PORT_IS_PF = 51,
205         BNXT_ULP_CF_IDX_VF_TO_VF = 52,
206         BNXT_ULP_CF_IDX_L3_HDR_CNT = 53,
207         BNXT_ULP_CF_IDX_L4_HDR_CNT = 54,
208         BNXT_ULP_CF_IDX_VFR_MODE = 55,
209         BNXT_ULP_CF_IDX_L3_TUN = 56,
210         BNXT_ULP_CF_IDX_L3_TUN_DECAP = 57,
211         BNXT_ULP_CF_IDX_FID = 58,
212         BNXT_ULP_CF_IDX_HDR_SIG_ID = 59,
213         BNXT_ULP_CF_IDX_FLOW_SIG_ID = 60,
214         BNXT_ULP_CF_IDX_WC_MATCH = 61,
215         BNXT_ULP_CF_IDX_LAST = 62
216 };
217
218 enum bnxt_ulp_cond_list_opc {
219         BNXT_ULP_COND_LIST_OPC_TRUE = 0,
220         BNXT_ULP_COND_LIST_OPC_FALSE = 1,
221         BNXT_ULP_COND_LIST_OPC_OR = 2,
222         BNXT_ULP_COND_LIST_OPC_AND = 3,
223         BNXT_ULP_COND_LIST_OPC_LAST = 4
224 };
225
226 enum bnxt_ulp_cond_opc {
227         BNXT_ULP_COND_OPC_CF_IS_SET = 0,
228         BNXT_ULP_COND_OPC_CF_NOT_SET = 1,
229         BNXT_ULP_COND_OPC_ACT_BIT_IS_SET = 2,
230         BNXT_ULP_COND_OPC_ACT_BIT_NOT_SET = 3,
231         BNXT_ULP_COND_OPC_HDR_BIT_IS_SET = 4,
232         BNXT_ULP_COND_OPC_HDR_BIT_NOT_SET = 5,
233         BNXT_ULP_COND_OPC_FIELD_BIT_IS_SET = 6,
234         BNXT_ULP_COND_OPC_FIELD_BIT_NOT_SET = 7,
235         BNXT_ULP_COND_OPC_RF_IS_SET = 8,
236         BNXT_ULP_COND_OPC_RF_NOT_SET = 9,
237         BNXT_ULP_COND_OPC_FLOW_PAT_MATCH = 10,
238         BNXT_ULP_COND_OPC_ACT_PAT_MATCH = 11,
239         BNXT_ULP_COND_OPC_EXT_MEM_IS_SET = 12,
240         BNXT_ULP_COND_OPC_EXT_MEM_NOT_SET = 13,
241         BNXT_ULP_COND_OPC_LAST = 14
242 };
243
244 enum bnxt_ulp_critical_resource {
245         BNXT_ULP_CRITICAL_RESOURCE_NO = 0,
246         BNXT_ULP_CRITICAL_RESOURCE_YES = 1,
247         BNXT_ULP_CRITICAL_RESOURCE_LAST = 2
248 };
249
250 enum bnxt_ulp_device_id {
251         BNXT_ULP_DEVICE_ID_WH_PLUS = 0,
252         BNXT_ULP_DEVICE_ID_THOR = 1,
253         BNXT_ULP_DEVICE_ID_STINGRAY = 2,
254         BNXT_ULP_DEVICE_ID_STINGRAY2 = 3,
255         BNXT_ULP_DEVICE_ID_LAST = 4
256 };
257
258 enum bnxt_ulp_df_param_type {
259         BNXT_ULP_DF_PARAM_TYPE_DEV_PORT_ID = 0,
260         BNXT_ULP_DF_PARAM_TYPE_LAST = 1
261 };
262
263 enum bnxt_ulp_direction {
264         BNXT_ULP_DIRECTION_INGRESS = 0,
265         BNXT_ULP_DIRECTION_EGRESS = 1,
266         BNXT_ULP_DIRECTION_LAST = 2
267 };
268
269 enum bnxt_ulp_fdb_opc {
270         BNXT_ULP_FDB_OPC_PUSH_FID = 0,
271         BNXT_ULP_FDB_OPC_PUSH_RID_REGFILE = 1,
272         BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE = 2,
273         BNXT_ULP_FDB_OPC_NOP = 3,
274         BNXT_ULP_FDB_OPC_LAST = 4
275 };
276
277 enum bnxt_ulp_fdb_type {
278         BNXT_ULP_FDB_TYPE_REGULAR = 0,
279         BNXT_ULP_FDB_TYPE_DEFAULT = 1,
280         BNXT_ULP_FDB_TYPE_RID = 2,
281         BNXT_ULP_FDB_TYPE_LAST = 3
282 };
283
284 enum bnxt_ulp_field_cond_src {
285         BNXT_ULP_FIELD_COND_SRC_TRUE = 0,
286         BNXT_ULP_FIELD_COND_SRC_CF = 1,
287         BNXT_ULP_FIELD_COND_SRC_RF = 2,
288         BNXT_ULP_FIELD_COND_SRC_ACT_BIT = 3,
289         BNXT_ULP_FIELD_COND_SRC_HDR_BIT = 4,
290         BNXT_ULP_FIELD_COND_SRC_FIELD_BIT = 5,
291         BNXT_ULP_FIELD_COND_SRC_FLOW_PAT_MATCH = 6,
292         BNXT_ULP_FIELD_COND_SRC_ACT_PAT_MATCH = 7,
293         BNXT_ULP_FIELD_COND_SRC_LAST = 8
294 };
295
296 enum bnxt_ulp_field_opc {
297         BNXT_ULP_FIELD_OPC_COND_OP = 0,
298         BNXT_ULP_FIELD_OPC_SRC1_PLUS_CONST = 1,
299         BNXT_ULP_FIELD_OPC_SRC1_MINUS_CONST = 2,
300         BNXT_ULP_FIELD_OPC_SRC1_PLUS_CONST_POST = 3,
301         BNXT_ULP_FIELD_OPC_SRC1_MINUS_CONST_POST = 4,
302         BNXT_ULP_FIELD_OPC_PORT_TABLE = 5,
303         BNXT_ULP_FIELD_OPC_LAST = 6
304 };
305
306 enum bnxt_ulp_field_src {
307         BNXT_ULP_FIELD_SRC_ZERO = 0,
308         BNXT_ULP_FIELD_SRC_ONES = 1,
309         BNXT_ULP_FIELD_SRC_CONST = 2,
310         BNXT_ULP_FIELD_SRC_CF = 3,
311         BNXT_ULP_FIELD_SRC_RF = 4,
312         BNXT_ULP_FIELD_SRC_ACT_PROP = 5,
313         BNXT_ULP_FIELD_SRC_ACT_PROP_SZ = 6,
314         BNXT_ULP_FIELD_SRC_GLB_RF = 7,
315         BNXT_ULP_FIELD_SRC_HF = 8,
316         BNXT_ULP_FIELD_SRC_SUB_HF = 9,
317         BNXT_ULP_FIELD_SRC_HDR_BIT = 10,
318         BNXT_ULP_FIELD_SRC_ACT_BIT = 11,
319         BNXT_ULP_FIELD_SRC_FIELD_BIT = 12,
320         BNXT_ULP_FIELD_SRC_SKIP = 13,
321         BNXT_ULP_FIELD_SRC_REJECT = 14,
322         BNXT_ULP_FIELD_SRC_LAST = 15
323 };
324
325 enum bnxt_ulp_generic_tbl_lkup_type {
326         BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX = 0,
327         BNXT_ULP_GENERIC_TBL_LKUP_TYPE_HASH = 1,
328         BNXT_ULP_GENERIC_TBL_LKUP_TYPE_LAST = 2
329 };
330
331 enum bnxt_ulp_generic_tbl_opc {
332         BNXT_ULP_GENERIC_TBL_OPC_NOT_USED = 0,
333         BNXT_ULP_GENERIC_TBL_OPC_READ = 1,
334         BNXT_ULP_GENERIC_TBL_OPC_WRITE = 2,
335         BNXT_ULP_GENERIC_TBL_OPC_LAST = 3
336 };
337
338 enum bnxt_ulp_glb_rf_idx {
339         BNXT_ULP_GLB_RF_IDX_NOT_USED = 0,
340         BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID = 1,
341         BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR = 2,
342         BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID = 3,
343         BNXT_ULP_GLB_RF_IDX_VXLAN_PROF_FUNC_ID = 4,
344         BNXT_ULP_GLB_RF_IDX_ENCAP_MAC_PTR = 5,
345         BNXT_ULP_GLB_RF_IDX_APP_GLB_PROF_FUNC_ID_0 = 6,
346         BNXT_ULP_GLB_RF_IDX_APP_GLB_L2_CNTXT_ID_0 = 7,
347         BNXT_ULP_GLB_RF_IDX_APP_GLB_EM_PROFILE_ID_0 = 8,
348         BNXT_ULP_GLB_RF_IDX_APP_GLB_WC_PROFILE_ID_0 = 9,
349         BNXT_ULP_GLB_RF_IDX_APP_GLB_EM_KEY_ID_0 = 10,
350         BNXT_ULP_GLB_RF_IDX_APP_GLB_WC_KEY_ID_0 = 11,
351         BNXT_ULP_GLB_RF_IDX_LAST = 12
352 };
353
354 enum bnxt_ulp_hdr_type {
355         BNXT_ULP_HDR_TYPE_NOT_SUPPORTED = 0,
356         BNXT_ULP_HDR_TYPE_SUPPORTED = 1,
357         BNXT_ULP_HDR_TYPE_END = 2,
358         BNXT_ULP_HDR_TYPE_LAST = 3
359 };
360
361 enum bnxt_ulp_if_tbl_opc {
362         BNXT_ULP_IF_TBL_OPC_NOT_USED = 0,
363         BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD = 1,
364         BNXT_ULP_IF_TBL_OPC_WR_REGFILE = 2,
365         BNXT_ULP_IF_TBL_OPC_WR_CONST = 3,
366         BNXT_ULP_IF_TBL_OPC_RD_COMP_FIELD = 4,
367         BNXT_ULP_IF_TBL_OPC_LAST = 5
368 };
369
370 enum bnxt_ulp_index_tbl_opc {
371         BNXT_ULP_INDEX_TBL_OPC_NOT_USED = 0,
372         BNXT_ULP_INDEX_TBL_OPC_ALLOC_REGFILE = 1,
373         BNXT_ULP_INDEX_TBL_OPC_WR_REGFILE = 2,
374         BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE = 3,
375         BNXT_ULP_INDEX_TBL_OPC_RD_REGFILE = 4,
376         BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_GLB_REGFILE = 5,
377         BNXT_ULP_INDEX_TBL_OPC_WR_GLB_REGFILE = 6,
378         BNXT_ULP_INDEX_TBL_OPC_LAST = 7
379 };
380
381 enum bnxt_ulp_mark_db_opc {
382         BNXT_ULP_MARK_DB_OPC_NOP = 0,
383         BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION = 1,
384         BNXT_ULP_MARK_DB_OPC_PUSH_AND_SET_VFR_FLAG = 2,
385         BNXT_ULP_MARK_DB_OPC_LAST = 3
386 };
387
388 enum bnxt_ulp_match_type {
389         BNXT_ULP_MATCH_TYPE_EM = 0,
390         BNXT_ULP_MATCH_TYPE_WM = 1,
391         BNXT_ULP_MATCH_TYPE_LAST = 2
392 };
393
394 enum bnxt_ulp_port_table {
395         BNXT_ULP_PORT_TABLE_DRV_FUNC_PARENT_MAC = 0,
396         BNXT_ULP_PORT_TABLE_DRV_FUNC_PARENT_VNIC = 1,
397         BNXT_ULP_PORT_TABLE_DRV_FUNC_SVIF = 2,
398         BNXT_ULP_PORT_TABLE_DRV_FUNC_SPIF = 3,
399         BNXT_ULP_PORT_TABLE_DRV_FUNC_PARIF = 4,
400         BNXT_ULP_PORT_TABLE_DRV_FUNC_VNIC = 5,
401         BNXT_ULP_PORT_TABLE_DRV_FUNC_PHY_PORT = 6,
402         BNXT_ULP_PORT_TABLE_DRV_FUNC_MAC = 7,
403         BNXT_ULP_PORT_TABLE_VF_FUNC_SVIF = 8,
404         BNXT_ULP_PORT_TABLE_VF_FUNC_SPIF = 9,
405         BNXT_ULP_PORT_TABLE_VF_FUNC_PARIF = 10,
406         BNXT_ULP_PORT_TABLE_VF_FUNC_VNIC = 11,
407         BNXT_ULP_PORT_TABLE_VF_FUNC_MAC = 12,
408         BNXT_ULP_PORT_TABLE_PHY_PORT_SVIF = 13,
409         BNXT_ULP_PORT_TABLE_PHY_PORT_SPIF = 14,
410         BNXT_ULP_PORT_TABLE_PHY_PORT_PARIF = 15,
411         BNXT_ULP_PORT_TABLE_PHY_PORT_VPORT = 16,
412         BNXT_ULP_PORT_TABLE_LAST = 17
413 };
414
415 enum bnxt_ulp_pri_opc {
416         BNXT_ULP_PRI_OPC_NOT_USED = 0,
417         BNXT_ULP_PRI_OPC_CONST = 1,
418         BNXT_ULP_PRI_OPC_APP_PRI = 2,
419         BNXT_ULP_PRI_OPC_LAST = 3
420 };
421
422 enum bnxt_ulp_rf_idx {
423         BNXT_ULP_RF_IDX_NOT_USED = 0,
424         BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 = 1,
425         BNXT_ULP_RF_IDX_L2_CNTXT_ID_1 = 2,
426         BNXT_ULP_RF_IDX_PROF_FUNC_ID_0 = 3,
427         BNXT_ULP_RF_IDX_PROF_FUNC_ID_1 = 4,
428         BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 = 5,
429         BNXT_ULP_RF_IDX_EM_PROFILE_ID_1 = 6,
430         BNXT_ULP_RF_IDX_WC_PROFILE_ID_0 = 7,
431         BNXT_ULP_RF_IDX_WC_PROFILE_ID_1 = 8,
432         BNXT_ULP_RF_IDX_MAIN_ACTION_PTR = 9,
433         BNXT_ULP_RF_IDX_ACTION_PTR_0 = 10,
434         BNXT_ULP_RF_IDX_ENCAP_PTR_0 = 11,
435         BNXT_ULP_RF_IDX_ENCAP_PTR_1 = 12,
436         BNXT_ULP_RF_IDX_CRITICAL_RESOURCE = 13,
437         BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 = 14,
438         BNXT_ULP_RF_IDX_MAIN_SP_PTR = 15,
439         BNXT_ULP_RF_IDX_MODIFY_IPV4_SRC_PTR_0 = 16,
440         BNXT_ULP_RF_IDX_MODIFY_IPV4_DST_PTR_0 = 17,
441         BNXT_ULP_RF_IDX_ACTION_REC_SIZE = 18,
442         BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 = 19,
443         BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_1 = 20,
444         BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0 = 21,
445         BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_1 = 22,
446         BNXT_ULP_RF_IDX_WC_TCAM_INDEX_0 = 23,
447         BNXT_ULP_RF_IDX_WC_TCAM_INDEX_1 = 24,
448         BNXT_ULP_RF_IDX_SRC_PROPERTY_PTR = 25,
449         BNXT_ULP_RF_IDX_GENERIC_TBL_MISS = 26,
450         BNXT_ULP_RF_IDX_MIRROR_PTR_0 = 27,
451         BNXT_ULP_RF_IDX_MIRROR_ID_0 = 28,
452         BNXT_ULP_RF_IDX_HDR_SIG_ID = 29,
453         BNXT_ULP_RF_IDX_FLOW_SIG_ID = 30,
454         BNXT_ULP_RF_IDX_RID = 31,
455         BNXT_ULP_RF_IDX_WC_KEY_ID_0 = 32,
456         BNXT_ULP_RF_IDX_EM_KEY_ID_0 = 33,
457         BNXT_ULP_RF_IDX_DRV_FUNC_MAC = 34,
458         BNXT_ULP_RF_IDX_DRV_FUNC_PARENT_MAC = 35,
459         BNXT_ULP_RF_IDX_DEFAULT_AREC_PTR = 36,
460         BNXT_ULP_RF_IDX_CC = 37,
461         BNXT_ULP_RF_IDX_LAST = 38
462 };
463
464 enum bnxt_ulp_tcam_tbl_opc {
465         BNXT_ULP_TCAM_TBL_OPC_NOT_USED = 0,
466         BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE = 1,
467         BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE = 2,
468         BNXT_ULP_TCAM_TBL_OPC_ALLOC_REGFILE = 3,
469         BNXT_ULP_TCAM_TBL_OPC_WR_REGFILE = 4,
470         BNXT_ULP_TCAM_TBL_OPC_LAST = 5
471 };
472
473 enum bnxt_ulp_template_type {
474         BNXT_ULP_TEMPLATE_TYPE_CLASS = 0,
475         BNXT_ULP_TEMPLATE_TYPE_ACTION = 1,
476         BNXT_ULP_TEMPLATE_TYPE_LAST = 2
477 };
478
479 enum bnxt_ulp_fdb_resource_flags {
480         BNXT_ULP_FDB_RESOURCE_FLAGS_DIR_INGR = 0x00,
481         BNXT_ULP_FDB_RESOURCE_FLAGS_DIR_EGR = 0x01
482 };
483
484 enum bnxt_ulp_flow_dir_bitmask {
485         BNXT_ULP_FLOW_DIR_BITMASK_ING = 0x0000000000000000,
486         BNXT_ULP_FLOW_DIR_BITMASK_EGR = 0x8000000000000000
487 };
488
489 enum bnxt_ulp_resource_func {
490         BNXT_ULP_RESOURCE_FUNC_INVALID = 0x00,
491         BNXT_ULP_RESOURCE_FUNC_EM_TABLE = 0x20,
492         BNXT_ULP_RESOURCE_FUNC_RSVD1 = 0x40,
493         BNXT_ULP_RESOURCE_FUNC_RSVD2 = 0x60,
494         BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE = 0x80,
495         BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE = 0x81,
496         BNXT_ULP_RESOURCE_FUNC_GENERIC_TABLE = 0x82,
497         BNXT_ULP_RESOURCE_FUNC_IDENTIFIER = 0x83,
498         BNXT_ULP_RESOURCE_FUNC_IF_TABLE = 0x84,
499         BNXT_ULP_RESOURCE_FUNC_HW_FID = 0x85,
500         BNXT_ULP_RESOURCE_FUNC_PARENT_FLOW = 0x86,
501         BNXT_ULP_RESOURCE_FUNC_CHILD_FLOW = 0x87,
502         BNXT_ULP_RESOURCE_FUNC_CTRL_TABLE = 0x88
503 };
504
505 enum bnxt_ulp_resource_sub_type {
506         BNXT_ULP_RESOURCE_SUB_TYPE_NOT_USED = 0,
507         BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL = 0,
508         BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION = 1,
509         BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT = 2,
510         BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT_ACC = 3,
511         BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_EXT_COUNT = 4,
512         BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM = 0,
513         BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM = 1,
514         BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_SHARED_MIRROR = 2,
515         BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_MAC_ADDR_CACHE = 3,
516         BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PORT_TABLE = 4
517 };
518
519 enum bnxt_ulp_act_prop_sz {
520         BNXT_ULP_ACT_PROP_SZ_ENCAP_TUN_SZ = 4,
521         BNXT_ULP_ACT_PROP_SZ_ENCAP_IP_SZ = 4,
522         BNXT_ULP_ACT_PROP_SZ_ENCAP_VTAG_SZ = 4,
523         BNXT_ULP_ACT_PROP_SZ_ENCAP_VTAG_TYPE = 4,
524         BNXT_ULP_ACT_PROP_SZ_ENCAP_VTAG_NUM = 4,
525         BNXT_ULP_ACT_PROP_SZ_ENCAP_L3_TYPE = 4,
526         BNXT_ULP_ACT_PROP_SZ_MPLS_POP_NUM = 4,
527         BNXT_ULP_ACT_PROP_SZ_MPLS_PUSH_NUM = 4,
528         BNXT_ULP_ACT_PROP_SZ_PORT_ID = 4,
529         BNXT_ULP_ACT_PROP_SZ_VNIC = 4,
530         BNXT_ULP_ACT_PROP_SZ_VPORT = 4,
531         BNXT_ULP_ACT_PROP_SZ_MARK = 4,
532         BNXT_ULP_ACT_PROP_SZ_COUNT = 4,
533         BNXT_ULP_ACT_PROP_SZ_METER = 4,
534         BNXT_ULP_ACT_PROP_SZ_SET_MAC_SRC = 8,
535         BNXT_ULP_ACT_PROP_SZ_SET_MAC_DST = 8,
536         BNXT_ULP_ACT_PROP_SZ_PUSH_VLAN = 2,
537         BNXT_ULP_ACT_PROP_SZ_SET_VLAN_PCP = 1,
538         BNXT_ULP_ACT_PROP_SZ_SET_VLAN_VID = 2,
539         BNXT_ULP_ACT_PROP_SZ_SET_IPV4_SRC = 4,
540         BNXT_ULP_ACT_PROP_SZ_SET_IPV4_DST = 4,
541         BNXT_ULP_ACT_PROP_SZ_SET_IPV6_SRC = 16,
542         BNXT_ULP_ACT_PROP_SZ_SET_IPV6_DST = 16,
543         BNXT_ULP_ACT_PROP_SZ_SET_TP_SRC = 2,
544         BNXT_ULP_ACT_PROP_SZ_SET_TP_DST = 2,
545         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_0 = 4,
546         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_1 = 4,
547         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_2 = 4,
548         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_3 = 4,
549         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_4 = 4,
550         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_5 = 4,
551         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_6 = 4,
552         BNXT_ULP_ACT_PROP_SZ_OF_PUSH_MPLS_7 = 4,
553         BNXT_ULP_ACT_PROP_SZ_ENCAP_L2_DMAC = 6,
554         BNXT_ULP_ACT_PROP_SZ_ENCAP_L2_SMAC = 6,
555         BNXT_ULP_ACT_PROP_SZ_ENCAP_VTAG = 8,
556         BNXT_ULP_ACT_PROP_SZ_ENCAP_IP = 32,
557         BNXT_ULP_ACT_PROP_SZ_ENCAP_IP_SRC = 16,
558         BNXT_ULP_ACT_PROP_SZ_ENCAP_UDP = 4,
559         BNXT_ULP_ACT_PROP_SZ_ENCAP_TUN = 32,
560         BNXT_ULP_ACT_PROP_SZ_JUMP = 4,
561         BNXT_ULP_ACT_PROP_SZ_SHARED_HANDLE = 8,
562         BNXT_ULP_ACT_PROP_SZ_LAST = 4
563 };
564
565 enum bnxt_ulp_act_prop_idx {
566         BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN_SZ = 0,
567         BNXT_ULP_ACT_PROP_IDX_ENCAP_IP_SZ = 4,
568         BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_SZ = 8,
569         BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_TYPE = 12,
570         BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_NUM = 16,
571         BNXT_ULP_ACT_PROP_IDX_ENCAP_L3_TYPE = 20,
572         BNXT_ULP_ACT_PROP_IDX_MPLS_POP_NUM = 24,
573         BNXT_ULP_ACT_PROP_IDX_MPLS_PUSH_NUM = 28,
574         BNXT_ULP_ACT_PROP_IDX_PORT_ID = 32,
575         BNXT_ULP_ACT_PROP_IDX_VNIC = 36,
576         BNXT_ULP_ACT_PROP_IDX_VPORT = 40,
577         BNXT_ULP_ACT_PROP_IDX_MARK = 44,
578         BNXT_ULP_ACT_PROP_IDX_COUNT = 48,
579         BNXT_ULP_ACT_PROP_IDX_METER = 52,
580         BNXT_ULP_ACT_PROP_IDX_SET_MAC_SRC = 56,
581         BNXT_ULP_ACT_PROP_IDX_SET_MAC_DST = 64,
582         BNXT_ULP_ACT_PROP_IDX_PUSH_VLAN = 72,
583         BNXT_ULP_ACT_PROP_IDX_SET_VLAN_PCP = 74,
584         BNXT_ULP_ACT_PROP_IDX_SET_VLAN_VID = 75,
585         BNXT_ULP_ACT_PROP_IDX_SET_IPV4_SRC = 77,
586         BNXT_ULP_ACT_PROP_IDX_SET_IPV4_DST = 81,
587         BNXT_ULP_ACT_PROP_IDX_SET_IPV6_SRC = 85,
588         BNXT_ULP_ACT_PROP_IDX_SET_IPV6_DST = 101,
589         BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC = 117,
590         BNXT_ULP_ACT_PROP_IDX_SET_TP_DST = 119,
591         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_0 = 121,
592         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_1 = 125,
593         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_2 = 129,
594         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_3 = 133,
595         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_4 = 137,
596         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_5 = 141,
597         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_6 = 145,
598         BNXT_ULP_ACT_PROP_IDX_OF_PUSH_MPLS_7 = 149,
599         BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_DMAC = 153,
600         BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_SMAC = 159,
601         BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG = 165,
602         BNXT_ULP_ACT_PROP_IDX_ENCAP_IP = 173,
603         BNXT_ULP_ACT_PROP_IDX_ENCAP_IP_SRC = 205,
604         BNXT_ULP_ACT_PROP_IDX_ENCAP_UDP = 221,
605         BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN = 225,
606         BNXT_ULP_ACT_PROP_IDX_JUMP = 257,
607         BNXT_ULP_ACT_PROP_IDX_SHARED_HANDLE = 261,
608         BNXT_ULP_ACT_PROP_IDX_LAST = 269
609 };
610
611 enum ulp_wp_sym {
612         ULP_WP_SYM_CTXT_OPCODE_BYPASS_CFA = 0,
613         ULP_WP_SYM_CTXT_OPCODE_BYPASS_LKUP = 0,
614         ULP_WP_SYM_CTXT_OPCODE_META_UPDATE = 0,
615         ULP_WP_SYM_CTXT_OPCODE_NORMAL_FLOW = 0,
616         ULP_WP_SYM_CTXT_OPCODE_DROP = 0,
617         ULP_WP_SYM_PKT_TYPE_IGNORE = 0,
618         ULP_WP_SYM_PKT_TYPE_L2 = 0,
619         ULP_WP_SYM_PKT_TYPE_0_IGNORE = 0,
620         ULP_WP_SYM_PKT_TYPE_0_L2 = 0,
621         ULP_WP_SYM_PKT_TYPE_1_IGNORE = 0,
622         ULP_WP_SYM_PKT_TYPE_1_L2 = 0,
623         ULP_WP_SYM_RECYCLE_CNT_IGNORE = 0,
624         ULP_WP_SYM_RECYCLE_CNT_ZERO = 0,
625         ULP_WP_SYM_RECYCLE_CNT_ONE = 1,
626         ULP_WP_SYM_RECYCLE_CNT_TWO = 2,
627         ULP_WP_SYM_RECYCLE_CNT_THREE = 3,
628         ULP_WP_SYM_AGG_ERROR_IGNORE = 0,
629         ULP_WP_SYM_AGG_ERROR_NO = 0,
630         ULP_WP_SYM_AGG_ERROR_YES = 1,
631         ULP_WP_SYM_RESERVED_IGNORE = 0,
632         ULP_WP_SYM_HREC_NEXT_IGNORE = 0,
633         ULP_WP_SYM_HREC_NEXT_NO = 0,
634         ULP_WP_SYM_HREC_NEXT_YES = 1,
635         ULP_WP_SYM_TL2_HDR_VALID_IGNORE = 0,
636         ULP_WP_SYM_TL2_HDR_VALID_NO = 0,
637         ULP_WP_SYM_TL2_HDR_VALID_YES = 1,
638         ULP_WP_SYM_TL2_HDR_TYPE_IGNORE = 0,
639         ULP_WP_SYM_TL2_HDR_TYPE_DIX = 0,
640         ULP_WP_SYM_TL2_UC_MC_BC_IGNORE = 0,
641         ULP_WP_SYM_TL2_UC_MC_BC_UC = 0,
642         ULP_WP_SYM_TL2_UC_MC_BC_MC = 2,
643         ULP_WP_SYM_TL2_UC_MC_BC_BC = 3,
644         ULP_WP_SYM_TL2_VTAG_PRESENT_IGNORE = 0,
645         ULP_WP_SYM_TL2_VTAG_PRESENT_NO = 0,
646         ULP_WP_SYM_TL2_VTAG_PRESENT_YES = 1,
647         ULP_WP_SYM_TL2_TWO_VTAGS_IGNORE = 0,
648         ULP_WP_SYM_TL2_TWO_VTAGS_NO = 0,
649         ULP_WP_SYM_TL2_TWO_VTAGS_YES = 1,
650         ULP_WP_SYM_TL3_HDR_VALID_IGNORE = 0,
651         ULP_WP_SYM_TL3_HDR_VALID_NO = 0,
652         ULP_WP_SYM_TL3_HDR_VALID_YES = 1,
653         ULP_WP_SYM_TL3_HDR_ERROR_IGNORE = 0,
654         ULP_WP_SYM_TL3_HDR_ERROR_NO = 0,
655         ULP_WP_SYM_TL3_HDR_ERROR_YES = 1,
656         ULP_WP_SYM_TL3_HDR_TYPE_IGNORE = 0,
657         ULP_WP_SYM_TL3_HDR_TYPE_IPV4 = 0,
658         ULP_WP_SYM_TL3_HDR_TYPE_IPV6 = 1,
659         ULP_WP_SYM_TL3_HDR_ISIP_IGNORE = 0,
660         ULP_WP_SYM_TL3_HDR_ISIP_NO = 0,
661         ULP_WP_SYM_TL3_HDR_ISIP_YES = 1,
662         ULP_WP_SYM_TL3_IPV6_CMP_SRC_IGNORE = 0,
663         ULP_WP_SYM_TL3_IPV6_CMP_SRC_NO = 0,
664         ULP_WP_SYM_TL3_IPV6_CMP_SRC_YES = 1,
665         ULP_WP_SYM_TL3_IPV6_CMP_DST_IGNORE = 0,
666         ULP_WP_SYM_TL3_IPV6_CMP_DST_NO = 0,
667         ULP_WP_SYM_TL3_IPV6_CMP_DST_YES = 1,
668         ULP_WP_SYM_TL4_HDR_VALID_IGNORE = 0,
669         ULP_WP_SYM_TL4_HDR_VALID_NO = 0,
670         ULP_WP_SYM_TL4_HDR_VALID_YES = 1,
671         ULP_WP_SYM_TL4_HDR_ERROR_IGNORE = 0,
672         ULP_WP_SYM_TL4_HDR_ERROR_NO = 0,
673         ULP_WP_SYM_TL4_HDR_ERROR_YES = 1,
674         ULP_WP_SYM_TL4_HDR_IS_UDP_TCP_IGNORE = 0,
675         ULP_WP_SYM_TL4_HDR_IS_UDP_TCP_NO = 0,
676         ULP_WP_SYM_TL4_HDR_IS_UDP_TCP_YES = 1,
677         ULP_WP_SYM_TL4_HDR_TYPE_IGNORE = 0,
678         ULP_WP_SYM_TL4_HDR_TYPE_TCP = 0,
679         ULP_WP_SYM_TL4_HDR_TYPE_UDP = 1,
680         ULP_WP_SYM_TUN_HDR_VALID_IGNORE = 0,
681         ULP_WP_SYM_TUN_HDR_VALID_NO = 0,
682         ULP_WP_SYM_TUN_HDR_VALID_YES = 1,
683         ULP_WP_SYM_TUN_HDR_ERROR_IGNORE = 0,
684         ULP_WP_SYM_TUN_HDR_ERROR_NO = 0,
685         ULP_WP_SYM_TUN_HDR_ERROR_YES = 1,
686         ULP_WP_SYM_TUN_HDR_TYPE_IGNORE = 0,
687         ULP_WP_SYM_TUN_HDR_TYPE_VXLAN = 0,
688         ULP_WP_SYM_TUN_HDR_TYPE_GENEVE = 1,
689         ULP_WP_SYM_TUN_HDR_TYPE_NVGRE = 2,
690         ULP_WP_SYM_TUN_HDR_TYPE_GRE = 3,
691         ULP_WP_SYM_TUN_HDR_TYPE_IPV4 = 4,
692         ULP_WP_SYM_TUN_HDR_TYPE_IPV6 = 5,
693         ULP_WP_SYM_TUN_HDR_TYPE_PPPOE = 6,
694         ULP_WP_SYM_TUN_HDR_TYPE_MPLS = 7,
695         ULP_WP_SYM_TUN_HDR_TYPE_UPAR1 = 8,
696         ULP_WP_SYM_TUN_HDR_TYPE_UPAR2 = 9,
697         ULP_WP_SYM_TUN_HDR_TYPE_NONE = 15,
698         ULP_WP_SYM_TUN_HDR_FLAGS_IGNORE = 0,
699         ULP_WP_SYM_L2_HDR_VALID_IGNORE = 0,
700         ULP_WP_SYM_L2_HDR_VALID_NO = 0,
701         ULP_WP_SYM_L2_HDR_VALID_YES = 1,
702         ULP_WP_SYM_L2_HDR_ERROR_IGNORE = 0,
703         ULP_WP_SYM_L2_HDR_ERROR_NO = 0,
704         ULP_WP_SYM_L2_HDR_ERROR_YES = 1,
705         ULP_WP_SYM_L2_HDR_TYPE_IGNORE = 0,
706         ULP_WP_SYM_L2_HDR_TYPE_DIX = 0,
707         ULP_WP_SYM_L2_HDR_TYPE_LLC_SNAP = 1,
708         ULP_WP_SYM_L2_HDR_TYPE_LLC = 2,
709         ULP_WP_SYM_L2_UC_MC_BC_IGNORE = 0,
710         ULP_WP_SYM_L2_UC_MC_BC_UC = 0,
711         ULP_WP_SYM_L2_UC_MC_BC_MC = 2,
712         ULP_WP_SYM_L2_UC_MC_BC_BC = 3,
713         ULP_WP_SYM_L2_VTAG_PRESENT_IGNORE = 0,
714         ULP_WP_SYM_L2_VTAG_PRESENT_NO = 0,
715         ULP_WP_SYM_L2_VTAG_PRESENT_YES = 1,
716         ULP_WP_SYM_L2_TWO_VTAGS_IGNORE = 0,
717         ULP_WP_SYM_L2_TWO_VTAGS_NO = 0,
718         ULP_WP_SYM_L2_TWO_VTAGS_YES = 1,
719         ULP_WP_SYM_L3_HDR_VALID_IGNORE = 0,
720         ULP_WP_SYM_L3_HDR_VALID_NO = 0,
721         ULP_WP_SYM_L3_HDR_VALID_YES = 1,
722         ULP_WP_SYM_L3_HDR_ERROR_IGNORE = 0,
723         ULP_WP_SYM_L3_HDR_ERROR_NO = 0,
724         ULP_WP_SYM_L3_HDR_ERROR_YES = 1,
725         ULP_WP_SYM_L3_HDR_TYPE_IGNORE = 0,
726         ULP_WP_SYM_L3_HDR_TYPE_IPV4 = 0,
727         ULP_WP_SYM_L3_HDR_TYPE_IPV6 = 1,
728         ULP_WP_SYM_L3_HDR_TYPE_ARP = 2,
729         ULP_WP_SYM_L3_HDR_TYPE_PTP = 3,
730         ULP_WP_SYM_L3_HDR_TYPE_EAPOL = 4,
731         ULP_WP_SYM_L3_HDR_TYPE_ROCE = 5,
732         ULP_WP_SYM_L3_HDR_TYPE_FCOE = 6,
733         ULP_WP_SYM_L3_HDR_TYPE_UPAR1 = 7,
734         ULP_WP_SYM_L3_HDR_TYPE_UPAR2 = 8,
735         ULP_WP_SYM_L3_HDR_ISIP_IGNORE = 0,
736         ULP_WP_SYM_L3_HDR_ISIP_NO = 0,
737         ULP_WP_SYM_L3_HDR_ISIP_YES = 1,
738         ULP_WP_SYM_L3_IPV6_CMP_SRC_IGNORE = 0,
739         ULP_WP_SYM_L3_IPV6_CMP_SRC_NO = 0,
740         ULP_WP_SYM_L3_IPV6_CMP_SRC_YES = 1,
741         ULP_WP_SYM_L3_IPV6_CMP_DST_IGNORE = 0,
742         ULP_WP_SYM_L3_IPV6_CMP_DST_NO = 0,
743         ULP_WP_SYM_L3_IPV6_CMP_DST_YES = 1,
744         ULP_WP_SYM_L4_HDR_VALID_IGNORE = 0,
745         ULP_WP_SYM_L4_HDR_VALID_NO = 0,
746         ULP_WP_SYM_L4_HDR_VALID_YES = 1,
747         ULP_WP_SYM_L4_HDR_ERROR_IGNORE = 0,
748         ULP_WP_SYM_L4_HDR_ERROR_NO = 0,
749         ULP_WP_SYM_L4_HDR_ERROR_YES = 1,
750         ULP_WP_SYM_L4_HDR_TYPE_IGNORE = 0,
751         ULP_WP_SYM_L4_HDR_TYPE_TCP = 0,
752         ULP_WP_SYM_L4_HDR_TYPE_UDP = 1,
753         ULP_WP_SYM_L4_HDR_TYPE_ICMP = 2,
754         ULP_WP_SYM_L4_HDR_TYPE_UPAR1 = 3,
755         ULP_WP_SYM_L4_HDR_TYPE_UPAR2 = 4,
756         ULP_WP_SYM_L4_HDR_TYPE_BTH_V1 = 5,
757         ULP_WP_SYM_L4_HDR_IS_UDP_TCP_IGNORE = 0,
758         ULP_WP_SYM_L4_HDR_IS_UDP_TCP_NO = 0,
759         ULP_WP_SYM_L4_HDR_IS_UDP_TCP_YES = 1,
760         ULP_WP_SYM_POP_VLAN_NO = 0,
761         ULP_WP_SYM_POP_VLAN_YES = 1,
762         ULP_WP_SYM_DECAP_FUNC_NONE = 0,
763         ULP_WP_SYM_DECAP_FUNC_THRU_TL2 = 3,
764         ULP_WP_SYM_DECAP_FUNC_THRU_TL3 = 8,
765         ULP_WP_SYM_DECAP_FUNC_THRU_TL4 = 9,
766         ULP_WP_SYM_DECAP_FUNC_THRU_TUN = 10,
767         ULP_WP_SYM_DECAP_FUNC_THRU_L2 = 11,
768         ULP_WP_SYM_DECAP_FUNC_THRU_L3 = 12,
769         ULP_WP_SYM_DECAP_FUNC_THRU_L4 = 13,
770         ULP_WP_SYM_ECV_VALID_NO = 0,
771         ULP_WP_SYM_ECV_VALID_YES = 1,
772         ULP_WP_SYM_ECV_CUSTOM_EN_NO = 0,
773         ULP_WP_SYM_ECV_CUSTOM_EN_YES = 1,
774         ULP_WP_SYM_ECV_L2_EN_NO = 0,
775         ULP_WP_SYM_ECV_L2_EN_YES = 1,
776         ULP_WP_SYM_ECV_VTAG_TYPE_NOP = 0,
777         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_1_ENCAP_PRI = 1,
778         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_1_IVLAN_PRI = 2,
779         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_1_REMAP_DIFFSERV = 3,
780         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_2_ENCAP_PRI = 4,
781         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_2_REMAP_DIFFSERV = 5,
782         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_ENCAP_PRI = 6,
783         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_REMAP_DIFFSERV = 7,
784         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_0 = 8,
785         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_1 = 8,
786         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_2 = 8,
787         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_3 = 8,
788         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_4 = 8,
789         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_5 = 8,
790         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_6 = 8,
791         ULP_WP_SYM_ECV_VTAG_TYPE_ADD_0_PRI_7 = 8,
792         ULP_WP_SYM_ECV_L3_TYPE_NONE = 0,
793         ULP_WP_SYM_ECV_L3_TYPE_IPV4 = 4,
794         ULP_WP_SYM_ECV_L3_TYPE_IPV6 = 5,
795         ULP_WP_SYM_ECV_L3_TYPE_MPLS_8847 = 6,
796         ULP_WP_SYM_ECV_L3_TYPE_MPLS_8848 = 7,
797         ULP_WP_SYM_ECV_L4_TYPE_NONE = 0,
798         ULP_WP_SYM_ECV_L4_TYPE_UDP = 4,
799         ULP_WP_SYM_ECV_L4_TYPE_UDP_CSUM = 5,
800         ULP_WP_SYM_ECV_L4_TYPE_UDP_ENTROPY = 6,
801         ULP_WP_SYM_ECV_L4_TYPE_UDP_ENTROPY_CSUM = 7,
802         ULP_WP_SYM_ECV_TUN_TYPE_NONE = 0,
803         ULP_WP_SYM_ECV_TUN_TYPE_GENERIC = 1,
804         ULP_WP_SYM_ECV_TUN_TYPE_VXLAN = 2,
805         ULP_WP_SYM_ECV_TUN_TYPE_NGE = 3,
806         ULP_WP_SYM_ECV_TUN_TYPE_NVGRE = 4,
807         ULP_WP_SYM_ECV_TUN_TYPE_GRE = 5,
808         ULP_WP_SYM_EEM_ACT_REC_INT = 1,
809         ULP_WP_SYM_EEM_EXT_FLOW_CNTR = 0,
810         ULP_WP_SYM_UC_ACT_REC = 0,
811         ULP_WP_SYM_MC_ACT_REC = 1,
812         ULP_WP_SYM_ACT_REC_DROP_YES = 1,
813         ULP_WP_SYM_ACT_REC_DROP_NO = 0,
814         ULP_WP_SYM_ACT_REC_POP_VLAN_YES = 1,
815         ULP_WP_SYM_ACT_REC_POP_VLAN_NO = 0,
816         ULP_WP_SYM_ACT_REC_METER_EN_YES = 1,
817         ULP_WP_SYM_ACT_REC_METER_EN_NO = 0,
818         ULP_WP_SYM_LOOPBACK_PORT = 4,
819         ULP_WP_SYM_LOOPBACK_PARIF = 15,
820         ULP_WP_SYM_EXT_EM_MAX_KEY_SIZE = 448,
821         ULP_WP_SYM_MATCH_TYPE_EM = 0,
822         ULP_WP_SYM_MATCH_TYPE_WM = 1,
823         ULP_WP_SYM_IP_PROTO_ICMP = 1,
824         ULP_WP_SYM_IP_PROTO_IGMP = 2,
825         ULP_WP_SYM_IP_PROTO_IP_IN_IP = 4,
826         ULP_WP_SYM_IP_PROTO_TCP = 6,
827         ULP_WP_SYM_IP_PROTO_UDP = 17,
828         ULP_WP_SYM_VF_FUNC_PARIF = 15,
829         ULP_WP_SYM_NO = 0,
830         ULP_WP_SYM_YES = 1,
831         ULP_WP_SYM_RECYCLE_DST = 0x800
832 };
833
834 enum ulp_thor_sym {
835         ULP_THOR_SYM_CTXT_OPCODE_BYPASS_CFA = 0,
836         ULP_THOR_SYM_CTXT_OPCODE_BYPASS_LKUP = 1,
837         ULP_THOR_SYM_CTXT_OPCODE_META_UPDATE = 2,
838         ULP_THOR_SYM_CTXT_OPCODE_NORMAL_FLOW = 3,
839         ULP_THOR_SYM_CTXT_OPCODE_DROP = 4,
840         ULP_THOR_SYM_PKT_TYPE_IGNORE = 0,
841         ULP_THOR_SYM_PKT_TYPE_L2 = 0,
842         ULP_THOR_SYM_PKT_TYPE_0_IGNORE = 0,
843         ULP_THOR_SYM_PKT_TYPE_0_L2 = 0,
844         ULP_THOR_SYM_PKT_TYPE_1_IGNORE = 0,
845         ULP_THOR_SYM_PKT_TYPE_1_L2 = 0,
846         ULP_THOR_SYM_RECYCLE_CNT_IGNORE = 0,
847         ULP_THOR_SYM_RECYCLE_CNT_ZERO = 0,
848         ULP_THOR_SYM_RECYCLE_CNT_ONE = 1,
849         ULP_THOR_SYM_RECYCLE_CNT_TWO = 2,
850         ULP_THOR_SYM_RECYCLE_CNT_THREE = 3,
851         ULP_THOR_SYM_AGG_ERROR_IGNORE = 0,
852         ULP_THOR_SYM_AGG_ERROR_NO = 0,
853         ULP_THOR_SYM_AGG_ERROR_YES = 1,
854         ULP_THOR_SYM_RESERVED_IGNORE = 0,
855         ULP_THOR_SYM_HREC_NEXT_IGNORE = 0,
856         ULP_THOR_SYM_HREC_NEXT_NO = 0,
857         ULP_THOR_SYM_HREC_NEXT_YES = 1,
858         ULP_THOR_SYM_TL2_HDR_VALID_IGNORE = 0,
859         ULP_THOR_SYM_TL2_HDR_VALID_NO = 0,
860         ULP_THOR_SYM_TL2_HDR_VALID_YES = 1,
861         ULP_THOR_SYM_TL2_HDR_TYPE_IGNORE = 0,
862         ULP_THOR_SYM_TL2_HDR_TYPE_DIX = 0,
863         ULP_THOR_SYM_TL2_UC_MC_BC_IGNORE = 0,
864         ULP_THOR_SYM_TL2_UC_MC_BC_UC = 0,
865         ULP_THOR_SYM_TL2_UC_MC_BC_MC = 2,
866         ULP_THOR_SYM_TL2_UC_MC_BC_BC = 3,
867         ULP_THOR_SYM_TL2_VTAG_PRESENT_IGNORE = 0,
868         ULP_THOR_SYM_TL2_VTAG_PRESENT_NO = 0,
869         ULP_THOR_SYM_TL2_VTAG_PRESENT_YES = 1,
870         ULP_THOR_SYM_TL2_TWO_VTAGS_IGNORE = 0,
871         ULP_THOR_SYM_TL2_TWO_VTAGS_NO = 0,
872         ULP_THOR_SYM_TL2_TWO_VTAGS_YES = 1,
873         ULP_THOR_SYM_TL3_HDR_VALID_IGNORE = 0,
874         ULP_THOR_SYM_TL3_HDR_VALID_NO = 0,
875         ULP_THOR_SYM_TL3_HDR_VALID_YES = 1,
876         ULP_THOR_SYM_TL3_HDR_ERROR_IGNORE = 0,
877         ULP_THOR_SYM_TL3_HDR_ERROR_NO = 0,
878         ULP_THOR_SYM_TL3_HDR_ERROR_YES = 1,
879         ULP_THOR_SYM_TL3_HDR_TYPE_IGNORE = 0,
880         ULP_THOR_SYM_TL3_HDR_TYPE_IPV4 = 0,
881         ULP_THOR_SYM_TL3_HDR_TYPE_IPV6 = 1,
882         ULP_THOR_SYM_TL3_HDR_ISIP_IGNORE = 0,
883         ULP_THOR_SYM_TL3_HDR_ISIP_NO = 0,
884         ULP_THOR_SYM_TL3_HDR_ISIP_YES = 1,
885         ULP_THOR_SYM_TL3_IPV6_CMP_SRC_IGNORE = 0,
886         ULP_THOR_SYM_TL3_IPV6_CMP_SRC_NO = 0,
887         ULP_THOR_SYM_TL3_IPV6_CMP_SRC_YES = 1,
888         ULP_THOR_SYM_TL3_IPV6_CMP_DST_IGNORE = 0,
889         ULP_THOR_SYM_TL3_IPV6_CMP_DST_NO = 0,
890         ULP_THOR_SYM_TL3_IPV6_CMP_DST_YES = 1,
891         ULP_THOR_SYM_TL4_HDR_VALID_IGNORE = 0,
892         ULP_THOR_SYM_TL4_HDR_VALID_NO = 0,
893         ULP_THOR_SYM_TL4_HDR_VALID_YES = 1,
894         ULP_THOR_SYM_TL4_HDR_ERROR_IGNORE = 0,
895         ULP_THOR_SYM_TL4_HDR_ERROR_NO = 0,
896         ULP_THOR_SYM_TL4_HDR_ERROR_YES = 1,
897         ULP_THOR_SYM_TL4_HDR_IS_UDP_TCP_IGNORE = 0,
898         ULP_THOR_SYM_TL4_HDR_IS_UDP_TCP_NO = 0,
899         ULP_THOR_SYM_TL4_HDR_IS_UDP_TCP_YES = 1,
900         ULP_THOR_SYM_TL4_HDR_TYPE_IGNORE = 0,
901         ULP_THOR_SYM_TL4_HDR_TYPE_TCP = 0,
902         ULP_THOR_SYM_TL4_HDR_TYPE_UDP = 1,
903         ULP_THOR_SYM_TUN_HDR_VALID_IGNORE = 0,
904         ULP_THOR_SYM_TUN_HDR_VALID_NO = 0,
905         ULP_THOR_SYM_TUN_HDR_VALID_YES = 1,
906         ULP_THOR_SYM_TUN_HDR_ERROR_IGNORE = 0,
907         ULP_THOR_SYM_TUN_HDR_ERROR_NO = 0,
908         ULP_THOR_SYM_TUN_HDR_ERROR_YES = 1,
909         ULP_THOR_SYM_TUN_HDR_TYPE_IGNORE = 0,
910         ULP_THOR_SYM_TUN_HDR_TYPE_VXLAN = 0,
911         ULP_THOR_SYM_TUN_HDR_TYPE_GENEVE = 1,
912         ULP_THOR_SYM_TUN_HDR_TYPE_NVGRE = 2,
913         ULP_THOR_SYM_TUN_HDR_TYPE_GRE = 3,
914         ULP_THOR_SYM_TUN_HDR_TYPE_IPV4 = 4,
915         ULP_THOR_SYM_TUN_HDR_TYPE_IPV6 = 5,
916         ULP_THOR_SYM_TUN_HDR_TYPE_PPPOE = 6,
917         ULP_THOR_SYM_TUN_HDR_TYPE_MPLS = 7,
918         ULP_THOR_SYM_TUN_HDR_TYPE_UPAR1 = 8,
919         ULP_THOR_SYM_TUN_HDR_TYPE_UPAR2 = 9,
920         ULP_THOR_SYM_TUN_HDR_TYPE_NONE = 15,
921         ULP_THOR_SYM_TUN_HDR_FLAGS_IGNORE = 0,
922         ULP_THOR_SYM_L2_HDR_VALID_IGNORE = 0,
923         ULP_THOR_SYM_L2_HDR_VALID_NO = 0,
924         ULP_THOR_SYM_L2_HDR_VALID_YES = 1,
925         ULP_THOR_SYM_L2_HDR_ERROR_IGNORE = 0,
926         ULP_THOR_SYM_L2_HDR_ERROR_NO = 0,
927         ULP_THOR_SYM_L2_HDR_ERROR_YES = 1,
928         ULP_THOR_SYM_L2_HDR_TYPE_IGNORE = 0,
929         ULP_THOR_SYM_L2_HDR_TYPE_DIX = 0,
930         ULP_THOR_SYM_L2_HDR_TYPE_LLC_SNAP = 1,
931         ULP_THOR_SYM_L2_HDR_TYPE_LLC = 2,
932         ULP_THOR_SYM_L2_UC_MC_BC_IGNORE = 0,
933         ULP_THOR_SYM_L2_UC_MC_BC_UC = 0,
934         ULP_THOR_SYM_L2_UC_MC_BC_MC = 2,
935         ULP_THOR_SYM_L2_UC_MC_BC_BC = 3,
936         ULP_THOR_SYM_L2_VTAG_PRESENT_IGNORE = 0,
937         ULP_THOR_SYM_L2_VTAG_PRESENT_NO = 0,
938         ULP_THOR_SYM_L2_VTAG_PRESENT_YES = 1,
939         ULP_THOR_SYM_L2_TWO_VTAGS_IGNORE = 0,
940         ULP_THOR_SYM_L2_TWO_VTAGS_NO = 0,
941         ULP_THOR_SYM_L2_TWO_VTAGS_YES = 1,
942         ULP_THOR_SYM_L3_HDR_VALID_IGNORE = 0,
943         ULP_THOR_SYM_L3_HDR_VALID_NO = 0,
944         ULP_THOR_SYM_L3_HDR_VALID_YES = 1,
945         ULP_THOR_SYM_L3_HDR_ERROR_IGNORE = 0,
946         ULP_THOR_SYM_L3_HDR_ERROR_NO = 0,
947         ULP_THOR_SYM_L3_HDR_ERROR_YES = 1,
948         ULP_THOR_SYM_L3_HDR_TYPE_IGNORE = 0,
949         ULP_THOR_SYM_L3_HDR_TYPE_IPV4 = 0,
950         ULP_THOR_SYM_L3_HDR_TYPE_IPV6 = 1,
951         ULP_THOR_SYM_L3_HDR_TYPE_ARP = 2,
952         ULP_THOR_SYM_L3_HDR_TYPE_PTP = 3,
953         ULP_THOR_SYM_L3_HDR_TYPE_EAPOL = 4,
954         ULP_THOR_SYM_L3_HDR_TYPE_ROCE = 5,
955         ULP_THOR_SYM_L3_HDR_TYPE_FCOE = 6,
956         ULP_THOR_SYM_L3_HDR_TYPE_UPAR1 = 7,
957         ULP_THOR_SYM_L3_HDR_TYPE_UPAR2 = 8,
958         ULP_THOR_SYM_L3_HDR_ISIP_IGNORE = 0,
959         ULP_THOR_SYM_L3_HDR_ISIP_NO = 0,
960         ULP_THOR_SYM_L3_HDR_ISIP_YES = 1,
961         ULP_THOR_SYM_L3_IPV6_CMP_SRC_IGNORE = 0,
962         ULP_THOR_SYM_L3_IPV6_CMP_SRC_NO = 0,
963         ULP_THOR_SYM_L3_IPV6_CMP_SRC_YES = 1,
964         ULP_THOR_SYM_L3_IPV6_CMP_DST_IGNORE = 0,
965         ULP_THOR_SYM_L3_IPV6_CMP_DST_NO = 0,
966         ULP_THOR_SYM_L3_IPV6_CMP_DST_YES = 1,
967         ULP_THOR_SYM_L4_HDR_VALID_IGNORE = 0,
968         ULP_THOR_SYM_L4_HDR_VALID_NO = 0,
969         ULP_THOR_SYM_L4_HDR_VALID_YES = 1,
970         ULP_THOR_SYM_L4_HDR_ERROR_IGNORE = 0,
971         ULP_THOR_SYM_L4_HDR_ERROR_NO = 0,
972         ULP_THOR_SYM_L4_HDR_ERROR_YES = 1,
973         ULP_THOR_SYM_L4_HDR_TYPE_IGNORE = 0,
974         ULP_THOR_SYM_L4_HDR_TYPE_TCP = 0,
975         ULP_THOR_SYM_L4_HDR_TYPE_UDP = 1,
976         ULP_THOR_SYM_L4_HDR_TYPE_ICMP = 2,
977         ULP_THOR_SYM_L4_HDR_TYPE_UPAR1 = 3,
978         ULP_THOR_SYM_L4_HDR_TYPE_UPAR2 = 4,
979         ULP_THOR_SYM_L4_HDR_TYPE_BTH_V1 = 5,
980         ULP_THOR_SYM_L4_HDR_IS_UDP_TCP_IGNORE = 0,
981         ULP_THOR_SYM_L4_HDR_IS_UDP_TCP_NO = 0,
982         ULP_THOR_SYM_L4_HDR_IS_UDP_TCP_YES = 1,
983         ULP_THOR_SYM_POP_VLAN_NO = 0,
984         ULP_THOR_SYM_POP_VLAN_YES = 1,
985         ULP_THOR_SYM_DECAP_FUNC_NONE = 0,
986         ULP_THOR_SYM_DECAP_FUNC_THRU_TL2 = 3,
987         ULP_THOR_SYM_DECAP_FUNC_THRU_TL3 = 8,
988         ULP_THOR_SYM_DECAP_FUNC_THRU_TL4 = 9,
989         ULP_THOR_SYM_DECAP_FUNC_THRU_TUN = 10,
990         ULP_THOR_SYM_DECAP_FUNC_THRU_L2 = 11,
991         ULP_THOR_SYM_DECAP_FUNC_THRU_L3 = 12,
992         ULP_THOR_SYM_DECAP_FUNC_THRU_L4 = 13,
993         ULP_THOR_SYM_ECV_VALID_NO = 0,
994         ULP_THOR_SYM_ECV_VALID_YES = 1,
995         ULP_THOR_SYM_ECV_CUSTOM_EN_NO = 0,
996         ULP_THOR_SYM_ECV_CUSTOM_EN_YES = 1,
997         ULP_THOR_SYM_ECV_L2_EN_NO = 0,
998         ULP_THOR_SYM_ECV_L2_EN_YES = 1,
999         ULP_THOR_SYM_ECV_VTAG_TYPE_NOP = 0,
1000         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_1_ENCAP_PRI = 1,
1001         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_1_IVLAN_PRI = 2,
1002         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_1_REMAP_DIFFSERV = 3,
1003         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_2_ENCAP_PRI = 4,
1004         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_2_REMAP_DIFFSERV = 5,
1005         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_ENCAP_PRI = 6,
1006         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_REMAP_DIFFSERV = 7,
1007         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_0 = 8,
1008         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_1 = 8,
1009         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_2 = 8,
1010         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_3 = 8,
1011         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_4 = 8,
1012         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_5 = 8,
1013         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_6 = 8,
1014         ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_0_PRI_7 = 8,
1015         ULP_THOR_SYM_ECV_L3_TYPE_NONE = 0,
1016         ULP_THOR_SYM_ECV_L3_TYPE_IPV4 = 4,
1017         ULP_THOR_SYM_ECV_L3_TYPE_IPV6 = 5,
1018         ULP_THOR_SYM_ECV_L3_TYPE_MPLS_8847 = 6,
1019         ULP_THOR_SYM_ECV_L3_TYPE_MPLS_8848 = 7,
1020         ULP_THOR_SYM_ECV_L4_TYPE_NONE = 0,
1021         ULP_THOR_SYM_ECV_L4_TYPE_UDP = 4,
1022         ULP_THOR_SYM_ECV_L4_TYPE_UDP_CSUM = 5,
1023         ULP_THOR_SYM_ECV_L4_TYPE_UDP_ENTROPY = 6,
1024         ULP_THOR_SYM_ECV_L4_TYPE_UDP_ENTROPY_CSUM = 7,
1025         ULP_THOR_SYM_ECV_TUN_TYPE_NONE = 0,
1026         ULP_THOR_SYM_ECV_TUN_TYPE_GENERIC = 1,
1027         ULP_THOR_SYM_ECV_TUN_TYPE_VXLAN = 2,
1028         ULP_THOR_SYM_ECV_TUN_TYPE_NGE = 3,
1029         ULP_THOR_SYM_ECV_TUN_TYPE_NVGRE = 4,
1030         ULP_THOR_SYM_ECV_TUN_TYPE_GRE = 5,
1031         ULP_THOR_SYM_EEM_ACT_REC_INT = 0,
1032         ULP_THOR_SYM_EEM_EXT_FLOW_CNTR = 0,
1033         ULP_THOR_SYM_UC_ACT_REC = 0,
1034         ULP_THOR_SYM_MC_ACT_REC = 1,
1035         ULP_THOR_SYM_ACT_REC_DROP_YES = 1,
1036         ULP_THOR_SYM_ACT_REC_DROP_NO = 0,
1037         ULP_THOR_SYM_ACT_REC_POP_VLAN_YES = 1,
1038         ULP_THOR_SYM_ACT_REC_POP_VLAN_NO = 0,
1039         ULP_THOR_SYM_ACT_REC_METER_EN_YES = 1,
1040         ULP_THOR_SYM_ACT_REC_METER_EN_NO = 0,
1041         ULP_THOR_SYM_LOOPBACK_PORT = 3,
1042         ULP_THOR_SYM_LOOPBACK_PARIF = 15,
1043         ULP_THOR_SYM_EXT_EM_MAX_KEY_SIZE = 0,
1044         ULP_THOR_SYM_MATCH_TYPE_EM = 0,
1045         ULP_THOR_SYM_MATCH_TYPE_WM = 1,
1046         ULP_THOR_SYM_IP_PROTO_ICMP = 1,
1047         ULP_THOR_SYM_IP_PROTO_IGMP = 2,
1048         ULP_THOR_SYM_IP_PROTO_IP_IN_IP = 4,
1049         ULP_THOR_SYM_IP_PROTO_TCP = 6,
1050         ULP_THOR_SYM_IP_PROTO_UDP = 17,
1051         ULP_THOR_SYM_VF_FUNC_PARIF = 15,
1052         ULP_THOR_SYM_NO = 0,
1053         ULP_THOR_SYM_YES = 1,
1054         ULP_THOR_SYM_RECYCLE_DST = 0x800
1055 };
1056
1057 enum bnxt_ulp_class_hid {
1058         BNXT_ULP_CLASS_HID_55dd = 0x55dd,
1059         BNXT_ULP_CLASS_HID_1df1 = 0x1df1,
1060         BNXT_ULP_CLASS_HID_3e55 = 0x3e55,
1061         BNXT_ULP_CLASS_HID_0649 = 0x0649,
1062         BNXT_ULP_CLASS_HID_1011 = 0x1011,
1063         BNXT_ULP_CLASS_HID_40e9 = 0x40e9,
1064         BNXT_ULP_CLASS_HID_3e99 = 0x3e99,
1065         BNXT_ULP_CLASS_HID_06ad = 0x06ad,
1066         BNXT_ULP_CLASS_HID_38c7 = 0x38c7,
1067         BNXT_ULP_CLASS_HID_00fb = 0x00fb,
1068         BNXT_ULP_CLASS_HID_24d3 = 0x24d3,
1069         BNXT_ULP_CLASS_HID_559b = 0x559b,
1070         BNXT_ULP_CLASS_HID_5003 = 0x5003,
1071         BNXT_ULP_CLASS_HID_1837 = 0x1837,
1072         BNXT_ULP_CLASS_HID_3bef = 0x3bef,
1073         BNXT_ULP_CLASS_HID_0403 = 0x0403,
1074         BNXT_ULP_CLASS_HID_3d3f = 0x3d3f,
1075         BNXT_ULP_CLASS_HID_0543 = 0x0543,
1076         BNXT_ULP_CLASS_HID_292b = 0x292b,
1077         BNXT_ULP_CLASS_HID_59e3 = 0x59e3,
1078         BNXT_ULP_CLASS_HID_5d3b = 0x5d3b,
1079         BNXT_ULP_CLASS_HID_254f = 0x254f,
1080         BNXT_ULP_CLASS_HID_4917 = 0x4917,
1081         BNXT_ULP_CLASS_HID_113b = 0x113b,
1082         BNXT_ULP_CLASS_HID_55fd = 0x55fd,
1083         BNXT_ULP_CLASS_HID_1dd1 = 0x1dd1,
1084         BNXT_ULP_CLASS_HID_3e75 = 0x3e75,
1085         BNXT_ULP_CLASS_HID_0669 = 0x0669,
1086         BNXT_ULP_CLASS_HID_1ba1 = 0x1ba1,
1087         BNXT_ULP_CLASS_HID_4c69 = 0x4c69,
1088         BNXT_ULP_CLASS_HID_0439 = 0x0439,
1089         BNXT_ULP_CLASS_HID_34e1 = 0x34e1,
1090         BNXT_ULP_CLASS_HID_0465 = 0x0465,
1091         BNXT_ULP_CLASS_HID_352d = 0x352d,
1092         BNXT_ULP_CLASS_HID_55b1 = 0x55b1,
1093         BNXT_ULP_CLASS_HID_1da5 = 0x1da5,
1094         BNXT_ULP_CLASS_HID_32fd = 0x32fd,
1095         BNXT_ULP_CLASS_HID_63a5 = 0x63a5,
1096         BNXT_ULP_CLASS_HID_1b75 = 0x1b75,
1097         BNXT_ULP_CLASS_HID_4c3d = 0x4c3d,
1098         BNXT_ULP_CLASS_HID_1031 = 0x1031,
1099         BNXT_ULP_CLASS_HID_40c9 = 0x40c9,
1100         BNXT_ULP_CLASS_HID_3eb9 = 0x3eb9,
1101         BNXT_ULP_CLASS_HID_068d = 0x068d,
1102         BNXT_ULP_CLASS_HID_5039 = 0x5039,
1103         BNXT_ULP_CLASS_HID_180d = 0x180d,
1104         BNXT_ULP_CLASS_HID_15fd = 0x15fd,
1105         BNXT_ULP_CLASS_HID_46b5 = 0x46b5,
1106         BNXT_ULP_CLASS_HID_303d = 0x303d,
1107         BNXT_ULP_CLASS_HID_60f5 = 0x60f5,
1108         BNXT_ULP_CLASS_HID_5ea5 = 0x5ea5,
1109         BNXT_ULP_CLASS_HID_2689 = 0x2689,
1110         BNXT_ULP_CLASS_HID_0771 = 0x0771,
1111         BNXT_ULP_CLASS_HID_3809 = 0x3809,
1112         BNXT_ULP_CLASS_HID_35f9 = 0x35f9,
1113         BNXT_ULP_CLASS_HID_66b1 = 0x66b1,
1114         BNXT_ULP_CLASS_HID_559d = 0x559d,
1115         BNXT_ULP_CLASS_HID_1db1 = 0x1db1,
1116         BNXT_ULP_CLASS_HID_3e15 = 0x3e15,
1117         BNXT_ULP_CLASS_HID_0609 = 0x0609,
1118         BNXT_ULP_CLASS_HID_1bc1 = 0x1bc1,
1119         BNXT_ULP_CLASS_HID_4c09 = 0x4c09,
1120         BNXT_ULP_CLASS_HID_0459 = 0x0459,
1121         BNXT_ULP_CLASS_HID_3481 = 0x3481,
1122         BNXT_ULP_CLASS_HID_0405 = 0x0405,
1123         BNXT_ULP_CLASS_HID_354d = 0x354d,
1124         BNXT_ULP_CLASS_HID_55d1 = 0x55d1,
1125         BNXT_ULP_CLASS_HID_1dc5 = 0x1dc5,
1126         BNXT_ULP_CLASS_HID_329d = 0x329d,
1127         BNXT_ULP_CLASS_HID_63c5 = 0x63c5,
1128         BNXT_ULP_CLASS_HID_1b15 = 0x1b15,
1129         BNXT_ULP_CLASS_HID_4c5d = 0x4c5d,
1130         BNXT_ULP_CLASS_HID_1051 = 0x1051,
1131         BNXT_ULP_CLASS_HID_40a9 = 0x40a9,
1132         BNXT_ULP_CLASS_HID_3ed9 = 0x3ed9,
1133         BNXT_ULP_CLASS_HID_06ed = 0x06ed,
1134         BNXT_ULP_CLASS_HID_5059 = 0x5059,
1135         BNXT_ULP_CLASS_HID_186d = 0x186d,
1136         BNXT_ULP_CLASS_HID_159d = 0x159d,
1137         BNXT_ULP_CLASS_HID_46d5 = 0x46d5,
1138         BNXT_ULP_CLASS_HID_305d = 0x305d,
1139         BNXT_ULP_CLASS_HID_6095 = 0x6095,
1140         BNXT_ULP_CLASS_HID_5ec5 = 0x5ec5,
1141         BNXT_ULP_CLASS_HID_26e9 = 0x26e9,
1142         BNXT_ULP_CLASS_HID_0711 = 0x0711,
1143         BNXT_ULP_CLASS_HID_3869 = 0x3869,
1144         BNXT_ULP_CLASS_HID_3599 = 0x3599,
1145         BNXT_ULP_CLASS_HID_66d1 = 0x66d1,
1146         BNXT_ULP_CLASS_HID_38e7 = 0x38e7,
1147         BNXT_ULP_CLASS_HID_00db = 0x00db,
1148         BNXT_ULP_CLASS_HID_24f3 = 0x24f3,
1149         BNXT_ULP_CLASS_HID_55bb = 0x55bb,
1150         BNXT_ULP_CLASS_HID_5023 = 0x5023,
1151         BNXT_ULP_CLASS_HID_1817 = 0x1817,
1152         BNXT_ULP_CLASS_HID_3bcf = 0x3bcf,
1153         BNXT_ULP_CLASS_HID_0423 = 0x0423,
1154         BNXT_ULP_CLASS_HID_58e3 = 0x58e3,
1155         BNXT_ULP_CLASS_HID_20d7 = 0x20d7,
1156         BNXT_ULP_CLASS_HID_448f = 0x448f,
1157         BNXT_ULP_CLASS_HID_0ce3 = 0x0ce3,
1158         BNXT_ULP_CLASS_HID_076b = 0x076b,
1159         BNXT_ULP_CLASS_HID_3813 = 0x3813,
1160         BNXT_ULP_CLASS_HID_5bcb = 0x5bcb,
1161         BNXT_ULP_CLASS_HID_243f = 0x243f,
1162         BNXT_ULP_CLASS_HID_144b = 0x144b,
1163         BNXT_ULP_CLASS_HID_4573 = 0x4573,
1164         BNXT_ULP_CLASS_HID_0057 = 0x0057,
1165         BNXT_ULP_CLASS_HID_311f = 0x311f,
1166         BNXT_ULP_CLASS_HID_2b87 = 0x2b87,
1167         BNXT_ULP_CLASS_HID_5c4f = 0x5c4f,
1168         BNXT_ULP_CLASS_HID_1793 = 0x1793,
1169         BNXT_ULP_CLASS_HID_485b = 0x485b,
1170         BNXT_ULP_CLASS_HID_3447 = 0x3447,
1171         BNXT_ULP_CLASS_HID_650f = 0x650f,
1172         BNXT_ULP_CLASS_HID_2053 = 0x2053,
1173         BNXT_ULP_CLASS_HID_511b = 0x511b,
1174         BNXT_ULP_CLASS_HID_4b83 = 0x4b83,
1175         BNXT_ULP_CLASS_HID_13f7 = 0x13f7,
1176         BNXT_ULP_CLASS_HID_37af = 0x37af,
1177         BNXT_ULP_CLASS_HID_6857 = 0x6857,
1178         BNXT_ULP_CLASS_HID_3d1f = 0x3d1f,
1179         BNXT_ULP_CLASS_HID_0563 = 0x0563,
1180         BNXT_ULP_CLASS_HID_290b = 0x290b,
1181         BNXT_ULP_CLASS_HID_59c3 = 0x59c3,
1182         BNXT_ULP_CLASS_HID_5d1b = 0x5d1b,
1183         BNXT_ULP_CLASS_HID_256f = 0x256f,
1184         BNXT_ULP_CLASS_HID_4937 = 0x4937,
1185         BNXT_ULP_CLASS_HID_111b = 0x111b,
1186         BNXT_ULP_CLASS_HID_5f4b = 0x5f4b,
1187         BNXT_ULP_CLASS_HID_275f = 0x275f,
1188         BNXT_ULP_CLASS_HID_4b67 = 0x4b67,
1189         BNXT_ULP_CLASS_HID_134b = 0x134b,
1190         BNXT_ULP_CLASS_HID_1683 = 0x1683,
1191         BNXT_ULP_CLASS_HID_475b = 0x475b,
1192         BNXT_ULP_CLASS_HID_02bf = 0x02bf,
1193         BNXT_ULP_CLASS_HID_3377 = 0x3377,
1194         BNXT_ULP_CLASS_HID_19db = 0x19db,
1195         BNXT_ULP_CLASS_HID_4a93 = 0x4a93,
1196         BNXT_ULP_CLASS_HID_05f7 = 0x05f7,
1197         BNXT_ULP_CLASS_HID_368f = 0x368f,
1198         BNXT_ULP_CLASS_HID_39c7 = 0x39c7,
1199         BNXT_ULP_CLASS_HID_022b = 0x022b,
1200         BNXT_ULP_CLASS_HID_25f3 = 0x25f3,
1201         BNXT_ULP_CLASS_HID_568b = 0x568b,
1202         BNXT_ULP_CLASS_HID_3c37 = 0x3c37,
1203         BNXT_ULP_CLASS_HID_041b = 0x041b,
1204         BNXT_ULP_CLASS_HID_2823 = 0x2823,
1205         BNXT_ULP_CLASS_HID_58fb = 0x58fb,
1206         BNXT_ULP_CLASS_HID_5c33 = 0x5c33,
1207         BNXT_ULP_CLASS_HID_2407 = 0x2407,
1208         BNXT_ULP_CLASS_HID_482f = 0x482f,
1209         BNXT_ULP_CLASS_HID_1033 = 0x1033,
1210         BNXT_ULP_CLASS_HID_3887 = 0x3887,
1211         BNXT_ULP_CLASS_HID_00bb = 0x00bb,
1212         BNXT_ULP_CLASS_HID_2493 = 0x2493,
1213         BNXT_ULP_CLASS_HID_55db = 0x55db,
1214         BNXT_ULP_CLASS_HID_5043 = 0x5043,
1215         BNXT_ULP_CLASS_HID_1877 = 0x1877,
1216         BNXT_ULP_CLASS_HID_3baf = 0x3baf,
1217         BNXT_ULP_CLASS_HID_0443 = 0x0443,
1218         BNXT_ULP_CLASS_HID_5883 = 0x5883,
1219         BNXT_ULP_CLASS_HID_20b7 = 0x20b7,
1220         BNXT_ULP_CLASS_HID_44ef = 0x44ef,
1221         BNXT_ULP_CLASS_HID_0c83 = 0x0c83,
1222         BNXT_ULP_CLASS_HID_070b = 0x070b,
1223         BNXT_ULP_CLASS_HID_3873 = 0x3873,
1224         BNXT_ULP_CLASS_HID_5bab = 0x5bab,
1225         BNXT_ULP_CLASS_HID_245f = 0x245f,
1226         BNXT_ULP_CLASS_HID_142b = 0x142b,
1227         BNXT_ULP_CLASS_HID_4513 = 0x4513,
1228         BNXT_ULP_CLASS_HID_0037 = 0x0037,
1229         BNXT_ULP_CLASS_HID_317f = 0x317f,
1230         BNXT_ULP_CLASS_HID_2be7 = 0x2be7,
1231         BNXT_ULP_CLASS_HID_5c2f = 0x5c2f,
1232         BNXT_ULP_CLASS_HID_17f3 = 0x17f3,
1233         BNXT_ULP_CLASS_HID_483b = 0x483b,
1234         BNXT_ULP_CLASS_HID_3427 = 0x3427,
1235         BNXT_ULP_CLASS_HID_656f = 0x656f,
1236         BNXT_ULP_CLASS_HID_2033 = 0x2033,
1237         BNXT_ULP_CLASS_HID_517b = 0x517b,
1238         BNXT_ULP_CLASS_HID_4be3 = 0x4be3,
1239         BNXT_ULP_CLASS_HID_1397 = 0x1397,
1240         BNXT_ULP_CLASS_HID_37cf = 0x37cf,
1241         BNXT_ULP_CLASS_HID_6837 = 0x6837,
1242         BNXT_ULP_CLASS_HID_3d7f = 0x3d7f,
1243         BNXT_ULP_CLASS_HID_0503 = 0x0503,
1244         BNXT_ULP_CLASS_HID_296b = 0x296b,
1245         BNXT_ULP_CLASS_HID_59a3 = 0x59a3,
1246         BNXT_ULP_CLASS_HID_5d7b = 0x5d7b,
1247         BNXT_ULP_CLASS_HID_250f = 0x250f,
1248         BNXT_ULP_CLASS_HID_4957 = 0x4957,
1249         BNXT_ULP_CLASS_HID_117b = 0x117b,
1250         BNXT_ULP_CLASS_HID_5f2b = 0x5f2b,
1251         BNXT_ULP_CLASS_HID_273f = 0x273f,
1252         BNXT_ULP_CLASS_HID_4b07 = 0x4b07,
1253         BNXT_ULP_CLASS_HID_132b = 0x132b,
1254         BNXT_ULP_CLASS_HID_16e3 = 0x16e3,
1255         BNXT_ULP_CLASS_HID_473b = 0x473b,
1256         BNXT_ULP_CLASS_HID_02df = 0x02df,
1257         BNXT_ULP_CLASS_HID_3317 = 0x3317,
1258         BNXT_ULP_CLASS_HID_19bb = 0x19bb,
1259         BNXT_ULP_CLASS_HID_4af3 = 0x4af3,
1260         BNXT_ULP_CLASS_HID_0597 = 0x0597,
1261         BNXT_ULP_CLASS_HID_36ef = 0x36ef,
1262         BNXT_ULP_CLASS_HID_39a7 = 0x39a7,
1263         BNXT_ULP_CLASS_HID_024b = 0x024b,
1264         BNXT_ULP_CLASS_HID_2593 = 0x2593,
1265         BNXT_ULP_CLASS_HID_56eb = 0x56eb,
1266         BNXT_ULP_CLASS_HID_3c57 = 0x3c57,
1267         BNXT_ULP_CLASS_HID_047b = 0x047b,
1268         BNXT_ULP_CLASS_HID_2843 = 0x2843,
1269         BNXT_ULP_CLASS_HID_589b = 0x589b,
1270         BNXT_ULP_CLASS_HID_5c53 = 0x5c53,
1271         BNXT_ULP_CLASS_HID_2467 = 0x2467,
1272         BNXT_ULP_CLASS_HID_484f = 0x484f,
1273         BNXT_ULP_CLASS_HID_1053 = 0x1053,
1274         BNXT_ULP_CLASS_HID_5ce1 = 0x5ce1,
1275         BNXT_ULP_CLASS_HID_4579 = 0x4579,
1276         BNXT_ULP_CLASS_HID_1735 = 0x1735,
1277         BNXT_ULP_CLASS_HID_45bd = 0x45bd,
1278         BNXT_ULP_CLASS_HID_3feb = 0x3feb,
1279         BNXT_ULP_CLASS_HID_2bf7 = 0x2bf7,
1280         BNXT_ULP_CLASS_HID_5727 = 0x5727,
1281         BNXT_ULP_CLASS_HID_4333 = 0x4333,
1282         BNXT_ULP_CLASS_HID_4453 = 0x4453,
1283         BNXT_ULP_CLASS_HID_304f = 0x304f,
1284         BNXT_ULP_CLASS_HID_645f = 0x645f,
1285         BNXT_ULP_CLASS_HID_504b = 0x504b,
1286         BNXT_ULP_CLASS_HID_5cc1 = 0x5cc1,
1287         BNXT_ULP_CLASS_HID_4559 = 0x4559,
1288         BNXT_ULP_CLASS_HID_2285 = 0x2285,
1289         BNXT_ULP_CLASS_HID_0b1d = 0x0b1d,
1290         BNXT_ULP_CLASS_HID_0b49 = 0x0b49,
1291         BNXT_ULP_CLASS_HID_5c95 = 0x5c95,
1292         BNXT_ULP_CLASS_HID_39c1 = 0x39c1,
1293         BNXT_ULP_CLASS_HID_2259 = 0x2259,
1294         BNXT_ULP_CLASS_HID_1715 = 0x1715,
1295         BNXT_ULP_CLASS_HID_459d = 0x459d,
1296         BNXT_ULP_CLASS_HID_571d = 0x571d,
1297         BNXT_ULP_CLASS_HID_1cd1 = 0x1cd1,
1298         BNXT_ULP_CLASS_HID_3711 = 0x3711,
1299         BNXT_ULP_CLASS_HID_6599 = 0x6599,
1300         BNXT_ULP_CLASS_HID_0e55 = 0x0e55,
1301         BNXT_ULP_CLASS_HID_3cdd = 0x3cdd,
1302         BNXT_ULP_CLASS_HID_5ca1 = 0x5ca1,
1303         BNXT_ULP_CLASS_HID_4539 = 0x4539,
1304         BNXT_ULP_CLASS_HID_22e5 = 0x22e5,
1305         BNXT_ULP_CLASS_HID_0b7d = 0x0b7d,
1306         BNXT_ULP_CLASS_HID_0b29 = 0x0b29,
1307         BNXT_ULP_CLASS_HID_5cf5 = 0x5cf5,
1308         BNXT_ULP_CLASS_HID_39a1 = 0x39a1,
1309         BNXT_ULP_CLASS_HID_2239 = 0x2239,
1310         BNXT_ULP_CLASS_HID_1775 = 0x1775,
1311         BNXT_ULP_CLASS_HID_45fd = 0x45fd,
1312         BNXT_ULP_CLASS_HID_577d = 0x577d,
1313         BNXT_ULP_CLASS_HID_1cb1 = 0x1cb1,
1314         BNXT_ULP_CLASS_HID_3771 = 0x3771,
1315         BNXT_ULP_CLASS_HID_65f9 = 0x65f9,
1316         BNXT_ULP_CLASS_HID_0e35 = 0x0e35,
1317         BNXT_ULP_CLASS_HID_3cbd = 0x3cbd,
1318         BNXT_ULP_CLASS_HID_3fcb = 0x3fcb,
1319         BNXT_ULP_CLASS_HID_2bd7 = 0x2bd7,
1320         BNXT_ULP_CLASS_HID_5707 = 0x5707,
1321         BNXT_ULP_CLASS_HID_4313 = 0x4313,
1322         BNXT_ULP_CLASS_HID_5fc7 = 0x5fc7,
1323         BNXT_ULP_CLASS_HID_4bd3 = 0x4bd3,
1324         BNXT_ULP_CLASS_HID_0e4f = 0x0e4f,
1325         BNXT_ULP_CLASS_HID_632f = 0x632f,
1326         BNXT_ULP_CLASS_HID_1baf = 0x1baf,
1327         BNXT_ULP_CLASS_HID_07bb = 0x07bb,
1328         BNXT_ULP_CLASS_HID_32eb = 0x32eb,
1329         BNXT_ULP_CLASS_HID_1ef7 = 0x1ef7,
1330         BNXT_ULP_CLASS_HID_3bab = 0x3bab,
1331         BNXT_ULP_CLASS_HID_27b7 = 0x27b7,
1332         BNXT_ULP_CLASS_HID_52e7 = 0x52e7,
1333         BNXT_ULP_CLASS_HID_3ef3 = 0x3ef3,
1334         BNXT_ULP_CLASS_HID_4473 = 0x4473,
1335         BNXT_ULP_CLASS_HID_306f = 0x306f,
1336         BNXT_ULP_CLASS_HID_647f = 0x647f,
1337         BNXT_ULP_CLASS_HID_506b = 0x506b,
1338         BNXT_ULP_CLASS_HID_66af = 0x66af,
1339         BNXT_ULP_CLASS_HID_525b = 0x525b,
1340         BNXT_ULP_CLASS_HID_1de7 = 0x1de7,
1341         BNXT_ULP_CLASS_HID_0993 = 0x0993,
1342         BNXT_ULP_CLASS_HID_213f = 0x213f,
1343         BNXT_ULP_CLASS_HID_0d2b = 0x0d2b,
1344         BNXT_ULP_CLASS_HID_413b = 0x413b,
1345         BNXT_ULP_CLASS_HID_2cd7 = 0x2cd7,
1346         BNXT_ULP_CLASS_HID_436b = 0x436b,
1347         BNXT_ULP_CLASS_HID_2f07 = 0x2f07,
1348         BNXT_ULP_CLASS_HID_6317 = 0x6317,
1349         BNXT_ULP_CLASS_HID_4f03 = 0x4f03,
1350         BNXT_ULP_CLASS_HID_3fab = 0x3fab,
1351         BNXT_ULP_CLASS_HID_2bb7 = 0x2bb7,
1352         BNXT_ULP_CLASS_HID_5767 = 0x5767,
1353         BNXT_ULP_CLASS_HID_4373 = 0x4373,
1354         BNXT_ULP_CLASS_HID_5fa7 = 0x5fa7,
1355         BNXT_ULP_CLASS_HID_4bb3 = 0x4bb3,
1356         BNXT_ULP_CLASS_HID_0e2f = 0x0e2f,
1357         BNXT_ULP_CLASS_HID_634f = 0x634f,
1358         BNXT_ULP_CLASS_HID_1bcf = 0x1bcf,
1359         BNXT_ULP_CLASS_HID_07db = 0x07db,
1360         BNXT_ULP_CLASS_HID_328b = 0x328b,
1361         BNXT_ULP_CLASS_HID_1e97 = 0x1e97,
1362         BNXT_ULP_CLASS_HID_3bcb = 0x3bcb,
1363         BNXT_ULP_CLASS_HID_27d7 = 0x27d7,
1364         BNXT_ULP_CLASS_HID_5287 = 0x5287,
1365         BNXT_ULP_CLASS_HID_3e93 = 0x3e93,
1366         BNXT_ULP_CLASS_HID_4413 = 0x4413,
1367         BNXT_ULP_CLASS_HID_300f = 0x300f,
1368         BNXT_ULP_CLASS_HID_641f = 0x641f,
1369         BNXT_ULP_CLASS_HID_500b = 0x500b,
1370         BNXT_ULP_CLASS_HID_66cf = 0x66cf,
1371         BNXT_ULP_CLASS_HID_523b = 0x523b,
1372         BNXT_ULP_CLASS_HID_1d87 = 0x1d87,
1373         BNXT_ULP_CLASS_HID_09f3 = 0x09f3,
1374         BNXT_ULP_CLASS_HID_215f = 0x215f,
1375         BNXT_ULP_CLASS_HID_0d4b = 0x0d4b,
1376         BNXT_ULP_CLASS_HID_415b = 0x415b,
1377         BNXT_ULP_CLASS_HID_2cb7 = 0x2cb7,
1378         BNXT_ULP_CLASS_HID_430b = 0x430b,
1379         BNXT_ULP_CLASS_HID_2f67 = 0x2f67,
1380         BNXT_ULP_CLASS_HID_6377 = 0x6377,
1381         BNXT_ULP_CLASS_HID_4f63 = 0x4f63,
1382         BNXT_ULP_CLASS_HID_29b5 = 0x29b5,
1383         BNXT_ULP_CLASS_HID_29ad = 0x29ad,
1384         BNXT_ULP_CLASS_HID_29b7 = 0x29b7,
1385         BNXT_ULP_CLASS_HID_1583 = 0x1583,
1386         BNXT_ULP_CLASS_HID_29af = 0x29af,
1387         BNXT_ULP_CLASS_HID_159b = 0x159b,
1388         BNXT_ULP_CLASS_HID_2995 = 0x2995,
1389         BNXT_ULP_CLASS_HID_298d = 0x298d,
1390         BNXT_ULP_CLASS_HID_29f5 = 0x29f5,
1391         BNXT_ULP_CLASS_HID_29ed = 0x29ed,
1392         BNXT_ULP_CLASS_HID_2997 = 0x2997,
1393         BNXT_ULP_CLASS_HID_15a3 = 0x15a3,
1394         BNXT_ULP_CLASS_HID_298f = 0x298f,
1395         BNXT_ULP_CLASS_HID_15bb = 0x15bb,
1396         BNXT_ULP_CLASS_HID_29f7 = 0x29f7,
1397         BNXT_ULP_CLASS_HID_15c3 = 0x15c3,
1398         BNXT_ULP_CLASS_HID_29ef = 0x29ef,
1399         BNXT_ULP_CLASS_HID_15db = 0x15db,
1400         BNXT_ULP_CLASS_HID_1151 = 0x1151,
1401         BNXT_ULP_CLASS_HID_315d = 0x315d,
1402         BNXT_ULP_CLASS_HID_34c6 = 0x34c6,
1403         BNXT_ULP_CLASS_HID_0c22 = 0x0c22,
1404         BNXT_ULP_CLASS_HID_1cbe = 0x1cbe,
1405         BNXT_ULP_CLASS_HID_179a = 0x179a,
1406         BNXT_ULP_CLASS_HID_59be = 0x59be,
1407         BNXT_ULP_CLASS_HID_515a = 0x515a,
1408         BNXT_ULP_CLASS_HID_1c72 = 0x1c72,
1409         BNXT_ULP_CLASS_HID_171e = 0x171e,
1410         BNXT_ULP_CLASS_HID_19c8 = 0x19c8,
1411         BNXT_ULP_CLASS_HID_112c = 0x112c,
1412         BNXT_ULP_CLASS_HID_4d68 = 0x4d68,
1413         BNXT_ULP_CLASS_HID_444c = 0x444c,
1414         BNXT_ULP_CLASS_HID_0e8c = 0x0e8c,
1415         BNXT_ULP_CLASS_HID_09e0 = 0x09e0,
1416         BNXT_ULP_CLASS_HID_1af0 = 0x1af0,
1417         BNXT_ULP_CLASS_HID_15d4 = 0x15d4,
1418         BNXT_ULP_CLASS_HID_1dd0 = 0x1dd0,
1419         BNXT_ULP_CLASS_HID_14f4 = 0x14f4,
1420         BNXT_ULP_CLASS_HID_70b0 = 0x70b0,
1421         BNXT_ULP_CLASS_HID_4854 = 0x4854,
1422         BNXT_ULP_CLASS_HID_3dd4 = 0x3dd4,
1423         BNXT_ULP_CLASS_HID_34f8 = 0x34f8,
1424         BNXT_ULP_CLASS_HID_09e8 = 0x09e8,
1425         BNXT_ULP_CLASS_HID_008c = 0x008c,
1426         BNXT_ULP_CLASS_HID_34e6 = 0x34e6,
1427         BNXT_ULP_CLASS_HID_0c02 = 0x0c02,
1428         BNXT_ULP_CLASS_HID_1c9e = 0x1c9e,
1429         BNXT_ULP_CLASS_HID_17ba = 0x17ba,
1430         BNXT_ULP_CLASS_HID_429e = 0x429e,
1431         BNXT_ULP_CLASS_HID_5dba = 0x5dba,
1432         BNXT_ULP_CLASS_HID_2a16 = 0x2a16,
1433         BNXT_ULP_CLASS_HID_2532 = 0x2532,
1434         BNXT_ULP_CLASS_HID_2da2 = 0x2da2,
1435         BNXT_ULP_CLASS_HID_24fe = 0x24fe,
1436         BNXT_ULP_CLASS_HID_355a = 0x355a,
1437         BNXT_ULP_CLASS_HID_0c76 = 0x0c76,
1438         BNXT_ULP_CLASS_HID_13e6 = 0x13e6,
1439         BNXT_ULP_CLASS_HID_7276 = 0x7276,
1440         BNXT_ULP_CLASS_HID_42d2 = 0x42d2,
1441         BNXT_ULP_CLASS_HID_5dee = 0x5dee,
1442         BNXT_ULP_CLASS_HID_59de = 0x59de,
1443         BNXT_ULP_CLASS_HID_513a = 0x513a,
1444         BNXT_ULP_CLASS_HID_1c12 = 0x1c12,
1445         BNXT_ULP_CLASS_HID_177e = 0x177e,
1446         BNXT_ULP_CLASS_HID_0e92 = 0x0e92,
1447         BNXT_ULP_CLASS_HID_09fe = 0x09fe,
1448         BNXT_ULP_CLASS_HID_5c1a = 0x5c1a,
1449         BNXT_ULP_CLASS_HID_5746 = 0x5746,
1450         BNXT_ULP_CLASS_HID_79da = 0x79da,
1451         BNXT_ULP_CLASS_HID_7106 = 0x7106,
1452         BNXT_ULP_CLASS_HID_3c1e = 0x3c1e,
1453         BNXT_ULP_CLASS_HID_377a = 0x377a,
1454         BNXT_ULP_CLASS_HID_2e9e = 0x2e9e,
1455         BNXT_ULP_CLASS_HID_29fa = 0x29fa,
1456         BNXT_ULP_CLASS_HID_14d2 = 0x14d2,
1457         BNXT_ULP_CLASS_HID_7742 = 0x7742,
1458         BNXT_ULP_CLASS_HID_3706 = 0x3706,
1459         BNXT_ULP_CLASS_HID_0fe2 = 0x0fe2,
1460         BNXT_ULP_CLASS_HID_1f7e = 0x1f7e,
1461         BNXT_ULP_CLASS_HID_145a = 0x145a,
1462         BNXT_ULP_CLASS_HID_417e = 0x417e,
1463         BNXT_ULP_CLASS_HID_5e5a = 0x5e5a,
1464         BNXT_ULP_CLASS_HID_29f6 = 0x29f6,
1465         BNXT_ULP_CLASS_HID_26d2 = 0x26d2,
1466         BNXT_ULP_CLASS_HID_2e42 = 0x2e42,
1467         BNXT_ULP_CLASS_HID_271e = 0x271e,
1468         BNXT_ULP_CLASS_HID_36ba = 0x36ba,
1469         BNXT_ULP_CLASS_HID_0f96 = 0x0f96,
1470         BNXT_ULP_CLASS_HID_1006 = 0x1006,
1471         BNXT_ULP_CLASS_HID_7196 = 0x7196,
1472         BNXT_ULP_CLASS_HID_4132 = 0x4132,
1473         BNXT_ULP_CLASS_HID_5e0e = 0x5e0e,
1474         BNXT_ULP_CLASS_HID_59fe = 0x59fe,
1475         BNXT_ULP_CLASS_HID_511a = 0x511a,
1476         BNXT_ULP_CLASS_HID_1c32 = 0x1c32,
1477         BNXT_ULP_CLASS_HID_175e = 0x175e,
1478         BNXT_ULP_CLASS_HID_0eb2 = 0x0eb2,
1479         BNXT_ULP_CLASS_HID_09de = 0x09de,
1480         BNXT_ULP_CLASS_HID_5c3a = 0x5c3a,
1481         BNXT_ULP_CLASS_HID_5766 = 0x5766,
1482         BNXT_ULP_CLASS_HID_79fa = 0x79fa,
1483         BNXT_ULP_CLASS_HID_7126 = 0x7126,
1484         BNXT_ULP_CLASS_HID_3c3e = 0x3c3e,
1485         BNXT_ULP_CLASS_HID_375a = 0x375a,
1486         BNXT_ULP_CLASS_HID_2ebe = 0x2ebe,
1487         BNXT_ULP_CLASS_HID_29da = 0x29da,
1488         BNXT_ULP_CLASS_HID_14f2 = 0x14f2,
1489         BNXT_ULP_CLASS_HID_7762 = 0x7762,
1490         BNXT_ULP_CLASS_HID_19e8 = 0x19e8,
1491         BNXT_ULP_CLASS_HID_110c = 0x110c,
1492         BNXT_ULP_CLASS_HID_4d48 = 0x4d48,
1493         BNXT_ULP_CLASS_HID_446c = 0x446c,
1494         BNXT_ULP_CLASS_HID_0eac = 0x0eac,
1495         BNXT_ULP_CLASS_HID_09c0 = 0x09c0,
1496         BNXT_ULP_CLASS_HID_1ad0 = 0x1ad0,
1497         BNXT_ULP_CLASS_HID_15f4 = 0x15f4,
1498         BNXT_ULP_CLASS_HID_39ec = 0x39ec,
1499         BNXT_ULP_CLASS_HID_3100 = 0x3100,
1500         BNXT_ULP_CLASS_HID_0210 = 0x0210,
1501         BNXT_ULP_CLASS_HID_1d34 = 0x1d34,
1502         BNXT_ULP_CLASS_HID_2ea0 = 0x2ea0,
1503         BNXT_ULP_CLASS_HID_29c4 = 0x29c4,
1504         BNXT_ULP_CLASS_HID_3ad4 = 0x3ad4,
1505         BNXT_ULP_CLASS_HID_35e8 = 0x35e8,
1506         BNXT_ULP_CLASS_HID_5d80 = 0x5d80,
1507         BNXT_ULP_CLASS_HID_54a4 = 0x54a4,
1508         BNXT_ULP_CLASS_HID_29b4 = 0x29b4,
1509         BNXT_ULP_CLASS_HID_20c8 = 0x20c8,
1510         BNXT_ULP_CLASS_HID_7244 = 0x7244,
1511         BNXT_ULP_CLASS_HID_4d98 = 0x4d98,
1512         BNXT_ULP_CLASS_HID_5e68 = 0x5e68,
1513         BNXT_ULP_CLASS_HID_598c = 0x598c,
1514         BNXT_ULP_CLASS_HID_1248 = 0x1248,
1515         BNXT_ULP_CLASS_HID_74d8 = 0x74d8,
1516         BNXT_ULP_CLASS_HID_49a8 = 0x49a8,
1517         BNXT_ULP_CLASS_HID_40cc = 0x40cc,
1518         BNXT_ULP_CLASS_HID_0b0c = 0x0b0c,
1519         BNXT_ULP_CLASS_HID_0220 = 0x0220,
1520         BNXT_ULP_CLASS_HID_1730 = 0x1730,
1521         BNXT_ULP_CLASS_HID_7980 = 0x7980,
1522         BNXT_ULP_CLASS_HID_1db0 = 0x1db0,
1523         BNXT_ULP_CLASS_HID_1494 = 0x1494,
1524         BNXT_ULP_CLASS_HID_70d0 = 0x70d0,
1525         BNXT_ULP_CLASS_HID_4834 = 0x4834,
1526         BNXT_ULP_CLASS_HID_3db4 = 0x3db4,
1527         BNXT_ULP_CLASS_HID_3498 = 0x3498,
1528         BNXT_ULP_CLASS_HID_0988 = 0x0988,
1529         BNXT_ULP_CLASS_HID_00ec = 0x00ec,
1530         BNXT_ULP_CLASS_HID_3f44 = 0x3f44,
1531         BNXT_ULP_CLASS_HID_36a8 = 0x36a8,
1532         BNXT_ULP_CLASS_HID_0b58 = 0x0b58,
1533         BNXT_ULP_CLASS_HID_02bc = 0x02bc,
1534         BNXT_ULP_CLASS_HID_5f48 = 0x5f48,
1535         BNXT_ULP_CLASS_HID_56ac = 0x56ac,
1536         BNXT_ULP_CLASS_HID_2b5c = 0x2b5c,
1537         BNXT_ULP_CLASS_HID_2280 = 0x2280,
1538         BNXT_ULP_CLASS_HID_4000 = 0x4000,
1539         BNXT_ULP_CLASS_HID_5b64 = 0x5b64,
1540         BNXT_ULP_CLASS_HID_2c14 = 0x2c14,
1541         BNXT_ULP_CLASS_HID_2778 = 0x2778,
1542         BNXT_ULP_CLASS_HID_18f8 = 0x18f8,
1543         BNXT_ULP_CLASS_HID_13dc = 0x13dc,
1544         BNXT_ULP_CLASS_HID_4c18 = 0x4c18,
1545         BNXT_ULP_CLASS_HID_477c = 0x477c,
1546         BNXT_ULP_CLASS_HID_1a88 = 0x1a88,
1547         BNXT_ULP_CLASS_HID_15ec = 0x15ec,
1548         BNXT_ULP_CLASS_HID_4e28 = 0x4e28,
1549         BNXT_ULP_CLASS_HID_490c = 0x490c,
1550         BNXT_ULP_CLASS_HID_3a8c = 0x3a8c,
1551         BNXT_ULP_CLASS_HID_35f0 = 0x35f0,
1552         BNXT_ULP_CLASS_HID_06e0 = 0x06e0,
1553         BNXT_ULP_CLASS_HID_01c4 = 0x01c4,
1554         BNXT_ULP_CLASS_HID_1a08 = 0x1a08,
1555         BNXT_ULP_CLASS_HID_12ec = 0x12ec,
1556         BNXT_ULP_CLASS_HID_4ea8 = 0x4ea8,
1557         BNXT_ULP_CLASS_HID_478c = 0x478c,
1558         BNXT_ULP_CLASS_HID_0d4c = 0x0d4c,
1559         BNXT_ULP_CLASS_HID_0a20 = 0x0a20,
1560         BNXT_ULP_CLASS_HID_1930 = 0x1930,
1561         BNXT_ULP_CLASS_HID_1614 = 0x1614,
1562         BNXT_ULP_CLASS_HID_3a0c = 0x3a0c,
1563         BNXT_ULP_CLASS_HID_32e0 = 0x32e0,
1564         BNXT_ULP_CLASS_HID_01f0 = 0x01f0,
1565         BNXT_ULP_CLASS_HID_1ed4 = 0x1ed4,
1566         BNXT_ULP_CLASS_HID_2d40 = 0x2d40,
1567         BNXT_ULP_CLASS_HID_2a24 = 0x2a24,
1568         BNXT_ULP_CLASS_HID_3934 = 0x3934,
1569         BNXT_ULP_CLASS_HID_3608 = 0x3608,
1570         BNXT_ULP_CLASS_HID_5e60 = 0x5e60,
1571         BNXT_ULP_CLASS_HID_5744 = 0x5744,
1572         BNXT_ULP_CLASS_HID_2a54 = 0x2a54,
1573         BNXT_ULP_CLASS_HID_2328 = 0x2328,
1574         BNXT_ULP_CLASS_HID_71a4 = 0x71a4,
1575         BNXT_ULP_CLASS_HID_4e78 = 0x4e78,
1576         BNXT_ULP_CLASS_HID_5d88 = 0x5d88,
1577         BNXT_ULP_CLASS_HID_5a6c = 0x5a6c,
1578         BNXT_ULP_CLASS_HID_11a8 = 0x11a8,
1579         BNXT_ULP_CLASS_HID_7738 = 0x7738,
1580         BNXT_ULP_CLASS_HID_4a48 = 0x4a48,
1581         BNXT_ULP_CLASS_HID_432c = 0x432c,
1582         BNXT_ULP_CLASS_HID_08ec = 0x08ec,
1583         BNXT_ULP_CLASS_HID_01c0 = 0x01c0,
1584         BNXT_ULP_CLASS_HID_14d0 = 0x14d0,
1585         BNXT_ULP_CLASS_HID_7a60 = 0x7a60,
1586         BNXT_ULP_CLASS_HID_1d90 = 0x1d90,
1587         BNXT_ULP_CLASS_HID_14b4 = 0x14b4,
1588         BNXT_ULP_CLASS_HID_70f0 = 0x70f0,
1589         BNXT_ULP_CLASS_HID_4814 = 0x4814,
1590         BNXT_ULP_CLASS_HID_3d94 = 0x3d94,
1591         BNXT_ULP_CLASS_HID_34b8 = 0x34b8,
1592         BNXT_ULP_CLASS_HID_09a8 = 0x09a8,
1593         BNXT_ULP_CLASS_HID_00cc = 0x00cc,
1594         BNXT_ULP_CLASS_HID_3f64 = 0x3f64,
1595         BNXT_ULP_CLASS_HID_3688 = 0x3688,
1596         BNXT_ULP_CLASS_HID_0b78 = 0x0b78,
1597         BNXT_ULP_CLASS_HID_029c = 0x029c,
1598         BNXT_ULP_CLASS_HID_5f68 = 0x5f68,
1599         BNXT_ULP_CLASS_HID_568c = 0x568c,
1600         BNXT_ULP_CLASS_HID_2b7c = 0x2b7c,
1601         BNXT_ULP_CLASS_HID_22a0 = 0x22a0,
1602         BNXT_ULP_CLASS_HID_4020 = 0x4020,
1603         BNXT_ULP_CLASS_HID_5b44 = 0x5b44,
1604         BNXT_ULP_CLASS_HID_2c34 = 0x2c34,
1605         BNXT_ULP_CLASS_HID_2758 = 0x2758,
1606         BNXT_ULP_CLASS_HID_18d8 = 0x18d8,
1607         BNXT_ULP_CLASS_HID_13fc = 0x13fc,
1608         BNXT_ULP_CLASS_HID_4c38 = 0x4c38,
1609         BNXT_ULP_CLASS_HID_475c = 0x475c,
1610         BNXT_ULP_CLASS_HID_1aa8 = 0x1aa8,
1611         BNXT_ULP_CLASS_HID_15cc = 0x15cc,
1612         BNXT_ULP_CLASS_HID_4e08 = 0x4e08,
1613         BNXT_ULP_CLASS_HID_492c = 0x492c,
1614         BNXT_ULP_CLASS_HID_3aac = 0x3aac,
1615         BNXT_ULP_CLASS_HID_35d0 = 0x35d0,
1616         BNXT_ULP_CLASS_HID_06c0 = 0x06c0,
1617         BNXT_ULP_CLASS_HID_01e4 = 0x01e4,
1618         BNXT_ULP_CLASS_HID_4d32 = 0x4d32,
1619         BNXT_ULP_CLASS_HID_54aa = 0x54aa,
1620         BNXT_ULP_CLASS_HID_0686 = 0x0686,
1621         BNXT_ULP_CLASS_HID_540e = 0x540e,
1622         BNXT_ULP_CLASS_HID_2e3c = 0x2e3c,
1623         BNXT_ULP_CLASS_HID_3a20 = 0x3a20,
1624         BNXT_ULP_CLASS_HID_46f0 = 0x46f0,
1625         BNXT_ULP_CLASS_HID_52e4 = 0x52e4,
1626         BNXT_ULP_CLASS_HID_55e4 = 0x55e4,
1627         BNXT_ULP_CLASS_HID_21f8 = 0x21f8,
1628         BNXT_ULP_CLASS_HID_75e8 = 0x75e8,
1629         BNXT_ULP_CLASS_HID_41fc = 0x41fc,
1630         BNXT_ULP_CLASS_HID_4d12 = 0x4d12,
1631         BNXT_ULP_CLASS_HID_548a = 0x548a,
1632         BNXT_ULP_CLASS_HID_3356 = 0x3356,
1633         BNXT_ULP_CLASS_HID_1ace = 0x1ace,
1634         BNXT_ULP_CLASS_HID_1a9a = 0x1a9a,
1635         BNXT_ULP_CLASS_HID_4d46 = 0x4d46,
1636         BNXT_ULP_CLASS_HID_2812 = 0x2812,
1637         BNXT_ULP_CLASS_HID_338a = 0x338a,
1638         BNXT_ULP_CLASS_HID_06e6 = 0x06e6,
1639         BNXT_ULP_CLASS_HID_546e = 0x546e,
1640         BNXT_ULP_CLASS_HID_46ee = 0x46ee,
1641         BNXT_ULP_CLASS_HID_0d22 = 0x0d22,
1642         BNXT_ULP_CLASS_HID_26e2 = 0x26e2,
1643         BNXT_ULP_CLASS_HID_746a = 0x746a,
1644         BNXT_ULP_CLASS_HID_1fa6 = 0x1fa6,
1645         BNXT_ULP_CLASS_HID_2d2e = 0x2d2e,
1646         BNXT_ULP_CLASS_HID_4ef2 = 0x4ef2,
1647         BNXT_ULP_CLASS_HID_576a = 0x576a,
1648         BNXT_ULP_CLASS_HID_30b6 = 0x30b6,
1649         BNXT_ULP_CLASS_HID_192e = 0x192e,
1650         BNXT_ULP_CLASS_HID_197a = 0x197a,
1651         BNXT_ULP_CLASS_HID_4ea6 = 0x4ea6,
1652         BNXT_ULP_CLASS_HID_2bf2 = 0x2bf2,
1653         BNXT_ULP_CLASS_HID_306a = 0x306a,
1654         BNXT_ULP_CLASS_HID_06c6 = 0x06c6,
1655         BNXT_ULP_CLASS_HID_544e = 0x544e,
1656         BNXT_ULP_CLASS_HID_46ce = 0x46ce,
1657         BNXT_ULP_CLASS_HID_0d02 = 0x0d02,
1658         BNXT_ULP_CLASS_HID_26c2 = 0x26c2,
1659         BNXT_ULP_CLASS_HID_744a = 0x744a,
1660         BNXT_ULP_CLASS_HID_1f86 = 0x1f86,
1661         BNXT_ULP_CLASS_HID_2d0e = 0x2d0e,
1662         BNXT_ULP_CLASS_HID_2e1c = 0x2e1c,
1663         BNXT_ULP_CLASS_HID_3a00 = 0x3a00,
1664         BNXT_ULP_CLASS_HID_46d0 = 0x46d0,
1665         BNXT_ULP_CLASS_HID_52c4 = 0x52c4,
1666         BNXT_ULP_CLASS_HID_4e10 = 0x4e10,
1667         BNXT_ULP_CLASS_HID_5a04 = 0x5a04,
1668         BNXT_ULP_CLASS_HID_1f98 = 0x1f98,
1669         BNXT_ULP_CLASS_HID_72f8 = 0x72f8,
1670         BNXT_ULP_CLASS_HID_0a78 = 0x0a78,
1671         BNXT_ULP_CLASS_HID_166c = 0x166c,
1672         BNXT_ULP_CLASS_HID_233c = 0x233c,
1673         BNXT_ULP_CLASS_HID_0f20 = 0x0f20,
1674         BNXT_ULP_CLASS_HID_2a7c = 0x2a7c,
1675         BNXT_ULP_CLASS_HID_3660 = 0x3660,
1676         BNXT_ULP_CLASS_HID_4330 = 0x4330,
1677         BNXT_ULP_CLASS_HID_2f24 = 0x2f24,
1678         BNXT_ULP_CLASS_HID_5584 = 0x5584,
1679         BNXT_ULP_CLASS_HID_2198 = 0x2198,
1680         BNXT_ULP_CLASS_HID_7588 = 0x7588,
1681         BNXT_ULP_CLASS_HID_419c = 0x419c,
1682         BNXT_ULP_CLASS_HID_7758 = 0x7758,
1683         BNXT_ULP_CLASS_HID_43ac = 0x43ac,
1684         BNXT_ULP_CLASS_HID_0c10 = 0x0c10,
1685         BNXT_ULP_CLASS_HID_1864 = 0x1864,
1686         BNXT_ULP_CLASS_HID_30c8 = 0x30c8,
1687         BNXT_ULP_CLASS_HID_1cdc = 0x1cdc,
1688         BNXT_ULP_CLASS_HID_50cc = 0x50cc,
1689         BNXT_ULP_CLASS_HID_3d20 = 0x3d20,
1690         BNXT_ULP_CLASS_HID_529c = 0x529c,
1691         BNXT_ULP_CLASS_HID_3ef0 = 0x3ef0,
1692         BNXT_ULP_CLASS_HID_72e0 = 0x72e0,
1693         BNXT_ULP_CLASS_HID_5ef4 = 0x5ef4,
1694         BNXT_ULP_CLASS_HID_2dfc = 0x2dfc,
1695         BNXT_ULP_CLASS_HID_39e0 = 0x39e0,
1696         BNXT_ULP_CLASS_HID_4530 = 0x4530,
1697         BNXT_ULP_CLASS_HID_5124 = 0x5124,
1698         BNXT_ULP_CLASS_HID_4df0 = 0x4df0,
1699         BNXT_ULP_CLASS_HID_59e4 = 0x59e4,
1700         BNXT_ULP_CLASS_HID_1c78 = 0x1c78,
1701         BNXT_ULP_CLASS_HID_7118 = 0x7118,
1702         BNXT_ULP_CLASS_HID_0998 = 0x0998,
1703         BNXT_ULP_CLASS_HID_158c = 0x158c,
1704         BNXT_ULP_CLASS_HID_20dc = 0x20dc,
1705         BNXT_ULP_CLASS_HID_0cc0 = 0x0cc0,
1706         BNXT_ULP_CLASS_HID_299c = 0x299c,
1707         BNXT_ULP_CLASS_HID_3580 = 0x3580,
1708         BNXT_ULP_CLASS_HID_40d0 = 0x40d0,
1709         BNXT_ULP_CLASS_HID_2cc4 = 0x2cc4,
1710         BNXT_ULP_CLASS_HID_55a4 = 0x55a4,
1711         BNXT_ULP_CLASS_HID_21b8 = 0x21b8,
1712         BNXT_ULP_CLASS_HID_75a8 = 0x75a8,
1713         BNXT_ULP_CLASS_HID_41bc = 0x41bc,
1714         BNXT_ULP_CLASS_HID_7778 = 0x7778,
1715         BNXT_ULP_CLASS_HID_438c = 0x438c,
1716         BNXT_ULP_CLASS_HID_0c30 = 0x0c30,
1717         BNXT_ULP_CLASS_HID_1844 = 0x1844,
1718         BNXT_ULP_CLASS_HID_30e8 = 0x30e8,
1719         BNXT_ULP_CLASS_HID_1cfc = 0x1cfc,
1720         BNXT_ULP_CLASS_HID_50ec = 0x50ec,
1721         BNXT_ULP_CLASS_HID_3d00 = 0x3d00,
1722         BNXT_ULP_CLASS_HID_52bc = 0x52bc,
1723         BNXT_ULP_CLASS_HID_3ed0 = 0x3ed0,
1724         BNXT_ULP_CLASS_HID_72c0 = 0x72c0,
1725         BNXT_ULP_CLASS_HID_5ed4 = 0x5ed4,
1726         BNXT_ULP_CLASS_HID_3866 = 0x3866,
1727         BNXT_ULP_CLASS_HID_381e = 0x381e,
1728         BNXT_ULP_CLASS_HID_3860 = 0x3860,
1729         BNXT_ULP_CLASS_HID_0454 = 0x0454,
1730         BNXT_ULP_CLASS_HID_3818 = 0x3818,
1731         BNXT_ULP_CLASS_HID_042c = 0x042c,
1732         BNXT_ULP_CLASS_HID_3846 = 0x3846,
1733         BNXT_ULP_CLASS_HID_387e = 0x387e,
1734         BNXT_ULP_CLASS_HID_3ba6 = 0x3ba6,
1735         BNXT_ULP_CLASS_HID_385e = 0x385e,
1736         BNXT_ULP_CLASS_HID_3840 = 0x3840,
1737         BNXT_ULP_CLASS_HID_0474 = 0x0474,
1738         BNXT_ULP_CLASS_HID_3878 = 0x3878,
1739         BNXT_ULP_CLASS_HID_044c = 0x044c,
1740         BNXT_ULP_CLASS_HID_3ba0 = 0x3ba0,
1741         BNXT_ULP_CLASS_HID_0794 = 0x0794,
1742         BNXT_ULP_CLASS_HID_3858 = 0x3858,
1743         BNXT_ULP_CLASS_HID_046c = 0x046c
1744 };
1745
1746 enum bnxt_ulp_act_hid {
1747         BNXT_ULP_ACT_HID_0000 = 0x0000,
1748         BNXT_ULP_ACT_HID_0001 = 0x0001,
1749         BNXT_ULP_ACT_HID_0400 = 0x0400,
1750         BNXT_ULP_ACT_HID_01ab = 0x01ab,
1751         BNXT_ULP_ACT_HID_0010 = 0x0010,
1752         BNXT_ULP_ACT_HID_05ab = 0x05ab,
1753         BNXT_ULP_ACT_HID_01bb = 0x01bb,
1754         BNXT_ULP_ACT_HID_0002 = 0x0002,
1755         BNXT_ULP_ACT_HID_0003 = 0x0003,
1756         BNXT_ULP_ACT_HID_0402 = 0x0402,
1757         BNXT_ULP_ACT_HID_01ad = 0x01ad,
1758         BNXT_ULP_ACT_HID_0012 = 0x0012,
1759         BNXT_ULP_ACT_HID_05ad = 0x05ad,
1760         BNXT_ULP_ACT_HID_01bd = 0x01bd,
1761         BNXT_ULP_ACT_HID_0613 = 0x0613,
1762         BNXT_ULP_ACT_HID_02a9 = 0x02a9,
1763         BNXT_ULP_ACT_HID_0054 = 0x0054,
1764         BNXT_ULP_ACT_HID_0622 = 0x0622,
1765         BNXT_ULP_ACT_HID_0454 = 0x0454,
1766         BNXT_ULP_ACT_HID_0064 = 0x0064,
1767         BNXT_ULP_ACT_HID_0614 = 0x0614,
1768         BNXT_ULP_ACT_HID_0615 = 0x0615,
1769         BNXT_ULP_ACT_HID_02ab = 0x02ab,
1770         BNXT_ULP_ACT_HID_0056 = 0x0056,
1771         BNXT_ULP_ACT_HID_0624 = 0x0624,
1772         BNXT_ULP_ACT_HID_0456 = 0x0456,
1773         BNXT_ULP_ACT_HID_0066 = 0x0066,
1774         BNXT_ULP_ACT_HID_048d = 0x048d,
1775         BNXT_ULP_ACT_HID_048f = 0x048f,
1776         BNXT_ULP_ACT_HID_04bc = 0x04bc,
1777         BNXT_ULP_ACT_HID_00a9 = 0x00a9,
1778         BNXT_ULP_ACT_HID_020f = 0x020f,
1779         BNXT_ULP_ACT_HID_04a9 = 0x04a9,
1780         BNXT_ULP_ACT_HID_01fc = 0x01fc,
1781         BNXT_ULP_ACT_HID_04be = 0x04be,
1782         BNXT_ULP_ACT_HID_00ab = 0x00ab,
1783         BNXT_ULP_ACT_HID_0211 = 0x0211,
1784         BNXT_ULP_ACT_HID_04ab = 0x04ab,
1785         BNXT_ULP_ACT_HID_01fe = 0x01fe,
1786         BNXT_ULP_ACT_HID_0667 = 0x0667,
1787         BNXT_ULP_ACT_HID_0254 = 0x0254,
1788         BNXT_ULP_ACT_HID_03ba = 0x03ba,
1789         BNXT_ULP_ACT_HID_0654 = 0x0654,
1790         BNXT_ULP_ACT_HID_03a7 = 0x03a7,
1791         BNXT_ULP_ACT_HID_0669 = 0x0669,
1792         BNXT_ULP_ACT_HID_0256 = 0x0256,
1793         BNXT_ULP_ACT_HID_03bc = 0x03bc,
1794         BNXT_ULP_ACT_HID_0656 = 0x0656,
1795         BNXT_ULP_ACT_HID_03a9 = 0x03a9,
1796         BNXT_ULP_ACT_HID_021b = 0x021b,
1797         BNXT_ULP_ACT_HID_021c = 0x021c,
1798         BNXT_ULP_ACT_HID_021e = 0x021e,
1799         BNXT_ULP_ACT_HID_063f = 0x063f,
1800         BNXT_ULP_ACT_HID_0510 = 0x0510,
1801         BNXT_ULP_ACT_HID_03c6 = 0x03c6,
1802         BNXT_ULP_ACT_HID_0082 = 0x0082,
1803         BNXT_ULP_ACT_HID_06bb = 0x06bb,
1804         BNXT_ULP_ACT_HID_021d = 0x021d,
1805         BNXT_ULP_ACT_HID_0641 = 0x0641,
1806         BNXT_ULP_ACT_HID_0512 = 0x0512,
1807         BNXT_ULP_ACT_HID_03c8 = 0x03c8,
1808         BNXT_ULP_ACT_HID_0084 = 0x0084,
1809         BNXT_ULP_ACT_HID_06bd = 0x06bd,
1810         BNXT_ULP_ACT_HID_06d7 = 0x06d7,
1811         BNXT_ULP_ACT_HID_02c4 = 0x02c4,
1812         BNXT_ULP_ACT_HID_042a = 0x042a,
1813         BNXT_ULP_ACT_HID_06c4 = 0x06c4,
1814         BNXT_ULP_ACT_HID_0417 = 0x0417,
1815         BNXT_ULP_ACT_HID_06d9 = 0x06d9,
1816         BNXT_ULP_ACT_HID_02c6 = 0x02c6,
1817         BNXT_ULP_ACT_HID_042c = 0x042c,
1818         BNXT_ULP_ACT_HID_06c6 = 0x06c6,
1819         BNXT_ULP_ACT_HID_0419 = 0x0419,
1820         BNXT_ULP_ACT_HID_0119 = 0x0119,
1821         BNXT_ULP_ACT_HID_046f = 0x046f,
1822         BNXT_ULP_ACT_HID_05d5 = 0x05d5,
1823         BNXT_ULP_ACT_HID_0106 = 0x0106,
1824         BNXT_ULP_ACT_HID_05c2 = 0x05c2,
1825         BNXT_ULP_ACT_HID_011b = 0x011b,
1826         BNXT_ULP_ACT_HID_0471 = 0x0471,
1827         BNXT_ULP_ACT_HID_05d7 = 0x05d7,
1828         BNXT_ULP_ACT_HID_0108 = 0x0108,
1829         BNXT_ULP_ACT_HID_05c4 = 0x05c4,
1830         BNXT_ULP_ACT_HID_00a2 = 0x00a2,
1831         BNXT_ULP_ACT_HID_00a4 = 0x00a4
1832 };
1833
1834 enum bnxt_ulp_df_tpl {
1835         BNXT_ULP_DF_TPL_DEFAULT_UPLINK_PORT = 3,
1836         BNXT_ULP_DF_TPL_DEFAULT_VFR = 4
1837 };
1838
1839 #endif