1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2014-2020 Broadcom
6 #include "ulp_template_db_enum.h"
7 #include "ulp_template_db_field.h"
8 #include "ulp_template_struct.h"
9 #include "ulp_rte_parser.h"
11 uint16_t ulp_act_sig_tbl[BNXT_ULP_ACT_SIG_TBL_MAX_SZ] = {
12 [BNXT_ULP_ACT_HID_00a1] = 1,
13 [BNXT_ULP_ACT_HID_0040] = 2,
14 [BNXT_ULP_ACT_HID_0029] = 3
17 struct bnxt_ulp_act_match_info ulp_act_match_list[] = {
19 .act_hid = BNXT_ULP_ACT_HID_00a1,
21 BNXT_ULP_ACTION_BIT_VXLAN_DECAP |
22 BNXT_ULP_ACTION_BIT_MARK |
23 BNXT_ULP_ACTION_BIT_VNIC |
24 BNXT_ULP_FLOW_DIR_BITMASK_ING },
28 .act_hid = BNXT_ULP_ACT_HID_0040,
30 BNXT_ULP_ACTION_BIT_VPORT |
31 BNXT_ULP_ACTION_BIT_VXLAN_ENCAP |
32 BNXT_ULP_FLOW_DIR_BITMASK_EGR },
36 .act_hid = BNXT_ULP_ACT_HID_0029,
38 BNXT_ULP_ACTION_BIT_MARK |
39 BNXT_ULP_ACTION_BIT_RSS |
40 BNXT_ULP_ACTION_BIT_VNIC |
41 BNXT_ULP_FLOW_DIR_BITMASK_ING },
46 struct bnxt_ulp_mapper_tbl_list_info ulp_act_tmpl_list[] = {
47 [((0 << BNXT_ULP_LOG2_MAX_NUM_DEV) |
48 BNXT_ULP_DEVICE_ID_WH_PLUS)] = {
49 .device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
53 [((1 << BNXT_ULP_LOG2_MAX_NUM_DEV) |
54 BNXT_ULP_DEVICE_ID_WH_PLUS)] = {
55 .device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
59 [((2 << BNXT_ULP_LOG2_MAX_NUM_DEV) |
60 BNXT_ULP_DEVICE_ID_WH_PLUS)] = {
61 .device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
67 struct bnxt_ulp_mapper_tbl_info ulp_act_tbl_list[] = {
69 .resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
70 .resource_type = TF_TBL_TYPE_EXT,
72 BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
73 .direction = TF_DIR_RX,
74 .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
75 .result_start_idx = 0,
76 .result_bit_size = 128,
77 .result_num_fields = 26,
78 .encap_num_fields = 0,
79 .regfile_idx = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
82 .resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
83 .resource_type = TF_TBL_TYPE_EXT,
85 BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
86 .direction = TF_DIR_TX,
87 .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
88 .result_start_idx = 26,
89 .result_bit_size = 128,
90 .result_num_fields = 26,
91 .encap_num_fields = 12,
92 .regfile_idx = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
95 .resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
96 .resource_type = TF_TBL_TYPE_EXT,
98 BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
99 .direction = TF_DIR_RX,
100 .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
101 .result_start_idx = 64,
102 .result_bit_size = 128,
103 .result_num_fields = 26,
104 .encap_num_fields = 0,
105 .regfile_idx = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
109 struct bnxt_ulp_mapper_result_field_info ulp_act_result_field_list[] = {
111 .field_bit_size = 14,
112 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
113 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
114 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
118 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
119 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
120 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
124 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
125 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
126 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
130 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
131 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
132 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
136 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
137 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
138 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
142 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
143 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
144 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
148 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
149 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
150 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
154 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
155 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
156 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
160 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
161 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
162 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
165 .field_bit_size = 11,
166 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
167 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
168 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
172 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
173 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
174 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
177 .field_bit_size = 10,
178 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
179 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
180 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
183 .field_bit_size = 16,
184 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
185 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
186 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
189 .field_bit_size = 10,
190 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
191 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
192 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
195 .field_bit_size = 16,
196 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
197 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
198 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
201 .field_bit_size = 10,
202 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
203 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
204 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
208 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
209 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
210 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
214 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
215 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
216 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
220 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
221 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
222 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
226 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
227 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
228 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
232 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
234 BNXT_ULP_SYM_DECAP_FUNC_THRU_TUN,
235 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
236 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
239 .field_bit_size = 12,
240 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ACT_PROP,
242 (BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
243 BNXT_ULP_ACT_PROP_IDX_VNIC & 0xff,
244 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
245 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
249 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
250 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
251 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
255 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
256 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
257 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
261 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
262 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
263 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
267 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
268 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
269 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
272 .field_bit_size = 14,
273 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
274 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
275 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
279 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
280 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
281 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
285 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
286 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
287 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
291 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
292 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
293 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
297 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
298 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
299 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
303 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
304 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
305 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
309 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
310 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
311 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
315 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
316 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
317 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
321 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
322 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
323 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
326 .field_bit_size = 11,
327 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
328 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
329 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
333 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
334 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
335 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
338 .field_bit_size = 10,
339 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
340 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
341 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
344 .field_bit_size = 16,
345 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
346 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
347 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
350 .field_bit_size = 10,
351 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
352 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
353 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
356 .field_bit_size = 16,
357 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
358 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
359 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
362 .field_bit_size = 10,
363 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
364 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
365 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
369 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
370 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
371 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
375 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
376 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
377 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
381 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
382 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
383 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
387 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
388 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
389 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
393 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
395 BNXT_ULP_SYM_DECAP_FUNC_NONE,
396 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
397 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
400 .field_bit_size = 12,
401 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ACT_PROP,
403 (BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
404 BNXT_ULP_ACT_PROP_IDX_VPORT & 0xff,
405 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
406 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
410 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
411 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
412 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
416 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
417 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
418 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
422 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
423 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
424 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
428 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
429 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
430 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
434 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
436 BNXT_ULP_SYM_ECV_TUN_TYPE_VXLAN,
437 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
438 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
442 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
444 BNXT_ULP_SYM_ECV_L4_TYPE_UDP_CSUM,
445 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
446 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
450 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ACT_PROP,
452 (BNXT_ULP_ACT_PROP_IDX_ENCAP_L3_TYPE >> 8) & 0xff,
453 BNXT_ULP_ACT_PROP_IDX_ENCAP_L3_TYPE & 0xff,
454 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
455 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
459 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
460 .result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
461 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
465 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ACT_PROP,
467 (BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_TYPE >> 8) & 0xff,
468 BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_TYPE & 0xff,
469 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
470 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
474 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
475 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
476 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
480 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
481 .result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
482 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
485 .field_bit_size = 48,
486 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ACT_PROP,
488 (BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_DMAC >> 8) & 0xff,
489 BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_DMAC & 0xff,
490 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
491 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
495 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
497 (BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG >> 8) & 0xff,
498 BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG & 0xff,
499 (BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_SZ >> 8) & 0xff,
500 BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_SZ & 0xff,
501 0x00, 0x00, 0x00, 0x00, 0x00,
502 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
506 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
508 (BNXT_ULP_ACT_PROP_IDX_ENCAP_IP >> 8) & 0xff,
509 BNXT_ULP_ACT_PROP_IDX_ENCAP_IP & 0xff,
510 (BNXT_ULP_ACT_PROP_IDX_ENCAP_IP_SZ >> 8) & 0xff,
511 BNXT_ULP_ACT_PROP_IDX_ENCAP_IP_SZ & 0xff,
512 0x00, 0x00, 0x00, 0x00, 0x00,
513 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
516 .field_bit_size = 32,
517 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ACT_PROP,
519 (BNXT_ULP_ACT_PROP_IDX_ENCAP_UDP >> 8) & 0xff,
520 BNXT_ULP_ACT_PROP_IDX_ENCAP_UDP & 0xff,
521 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
522 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
526 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
528 (BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN >> 8) & 0xff,
529 BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN & 0xff,
530 (BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN_SZ >> 8) & 0xff,
531 BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN_SZ & 0xff,
532 0x00, 0x00, 0x00, 0x00, 0x00,
533 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
536 .field_bit_size = 14,
537 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
538 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
539 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
543 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
544 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
545 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
549 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
550 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
551 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
555 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
556 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
557 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
561 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
562 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
563 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
567 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
568 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
569 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
573 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
574 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
575 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
579 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
580 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
581 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
585 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
586 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
587 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
590 .field_bit_size = 11,
591 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
592 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
593 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
597 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
598 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
599 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
602 .field_bit_size = 10,
603 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
604 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
605 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
608 .field_bit_size = 16,
609 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
610 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
611 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
614 .field_bit_size = 10,
615 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
616 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
617 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
620 .field_bit_size = 16,
621 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
622 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
623 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
626 .field_bit_size = 10,
627 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
628 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
629 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
633 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
634 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
635 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
639 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
640 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
641 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
645 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
646 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
647 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
651 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
652 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
653 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
657 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
659 BNXT_ULP_SYM_DECAP_FUNC_NONE,
660 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
661 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
664 .field_bit_size = 12,
665 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_ACT_PROP,
667 (BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
668 BNXT_ULP_ACT_PROP_IDX_VNIC & 0xff,
669 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
670 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
674 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
675 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
676 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
680 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
681 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
682 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
686 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
687 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
688 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
692 .result_opcode = BNXT_ULP_RESULT_OPC_SET_TO_CONSTANT,
693 .result_operand = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
694 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}