#define BNXT_ULP_VF_REP_ENABLED 0x1
#define ULP_VF_REP_IS_ENABLED(flag) ((flag) & BNXT_ULP_VF_REP_ENABLED)
+enum bnxt_ulp_flow_mem_type {
+ BNXT_ULP_FLOW_MEM_TYPE_INT = 0,
+ BNXT_ULP_FLOW_MEM_TYPE_EXT = 1,
+ BNXT_ULP_FLOW_MEM_TYPE_BOTH = 2,
+ BNXT_ULP_FLOW_MEM_TYPE_LAST = 3
+};
+
struct bnxt_ulp_df_rule_info {
uint32_t port_to_app_flow_id;
uint32_t app_to_port_flow_id;
*/
parms.entry_sz_in_bytes = sizeof(uint64_t);
stats = (uint64_t *)fc_info->shadow_hw_tbl[dir].mem_va;
- parms.physical_mem_addr = (uintptr_t)fc_info->shadow_hw_tbl[dir].mem_pa;
+ parms.physical_mem_addr = (uint64_t)
+ ((uintptr_t)(fc_info->shadow_hw_tbl[dir].mem_pa));
if (!stats) {
PMD_DRV_LOG(ERR,
if (params.resource_func ==
BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE &&
(params.resource_sub_type ==
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT ||
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT ||
params.resource_sub_type ==
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_EXT_COUNT ||
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_EXT_COUNT ||
params.resource_sub_type ==
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT_ACC)) {
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT_ACC)) {
found_cntr_resource = true;
break;
}
dir = params.direction;
hw_cntr_id = params.resource_hndl;
if (params.resource_sub_type ==
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT) {
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT) {
+ /* TODO:
+ * Think about optimizing with try_lock later
+ */
pthread_mutex_lock(&ulp_fc_info->fc_lock);
sw_cntr_idx = hw_cntr_id -
ulp_fc_info->shadow_hw_tbl[dir].start_idx;
}
pthread_mutex_unlock(&ulp_fc_info->fc_lock);
} else if (params.resource_sub_type ==
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT_ACC) {
- /* Get stats from the parent child table */
- ulp_flow_db_parent_flow_count_get(ctxt, flow_id,
- &count->hits, &count->bytes,
- count->reset);
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT_ACC) {
+ /* Get the stats from the parent child table */
+ ulp_flow_db_parent_flow_count_get(ctxt,
+ flow_id,
+ &count->hits,
+ &count->bytes);
count->hits_set = 1;
count->bytes_set = 1;
} else {
if (params->resource_type == TF_TBL_TYPE_ACT_STATS_64 &&
params->resource_sub_type ==
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT) {
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT) {
/* Store the first HW counter ID for this table */
if (!ulp_fc_mgr_start_idx_isset(ulp_ctxt, params->direction))
ulp_fc_mgr_start_idx_set(ulp_ctxt, params->direction,
*/
if (params->resource_type == TF_TBL_TYPE_ACT_STATS_64 &&
params->resource_sub_type ==
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT) {
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT) {
ulp_fc_mgr_cntr_reset(ulp_ctxt, params->direction,
params->resource_hndl);
}
uint32_t flow_id,
uint16_t *cfa_action)
{
- uint8_t sub_type = BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION;
+ uint8_t sub_typ = BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION;
struct ulp_flow_db_res_params params;
int32_t rc;
BNXT_ULP_FDB_TYPE_DEFAULT,
flow_id,
BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
- sub_type, ¶ms);
+ sub_typ, ¶ms);
if (rc) {
BNXT_TF_DBG(ERR, "CFA Action ptr not found for flow id %u\n",
flow_id);
ulp_flow_db_parent_flow_create(struct bnxt_ulp_mapper_parms *parms)
{
struct ulp_flow_db_res_params fid_parms;
- uint32_t sub_type = BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT_ACC;
+ uint32_t sub_typ = BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT_ACC;
struct ulp_flow_db_res_params res_params;
int32_t fid_idx, rc;
BNXT_ULP_FDB_TYPE_REGULAR,
parms->fid,
BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
- sub_type,
+ sub_typ,
&res_params)) {
/* Enable the counter accumulation in parent entry */
if (ulp_flow_db_parent_flow_count_accum_set(parms->ulp_ctx,
ulp_flow_db_child_flow_create(struct bnxt_ulp_mapper_parms *parms)
{
struct ulp_flow_db_res_params fid_parms;
- uint32_t sub_type = BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT;
+ uint32_t sub_type = BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT;
enum bnxt_ulp_resource_func res_fun;
struct ulp_flow_db_res_params res_p;
uint32_t parent_fid = parms->parent_fid;
*/
int32_t
ulp_flow_db_parent_flow_count_get(struct bnxt_ulp_context *ulp_ctxt,
- uint32_t parent_fid, uint64_t *packet_count,
- uint64_t *byte_count, uint8_t count_reset)
+ uint32_t parent_fid,
+ uint64_t *packet_count,
+ uint64_t *byte_count)
{
struct bnxt_ulp_flow_db *flow_db;
struct ulp_fdb_parent_child_db *p_pdb;
p_pdb->parent_flow_tbl[idx].pkt_count;
*byte_count =
p_pdb->parent_flow_tbl[idx].byte_count;
- if (count_reset) {
- p_pdb->parent_flow_tbl[idx].pkt_count = 0;
- p_pdb->parent_flow_tbl[idx].byte_count = 0;
- }
}
return 0;
}
ulp_flow_db_parent_flow_count_get(struct bnxt_ulp_context *ulp_ctxt,
uint32_t parent_fid,
uint64_t *packet_count,
- uint64_t *byte_count,
- uint8_t count_reset);
+ uint64_t *byte_count);
/*
* reset the parent accumulation counters
aparms.type = glb_res->resource_type;
aparms.dir = glb_res->direction;
- aparms.search_enable = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO;
+ aparms.search_enable = 0;
aparms.tbl_scope_id = tbl_scope_id;
/* Allocate the index tbl using tf api */
enum bnxt_ulp_cond_list_opc *opc)
{
uint32_t idx;
- const struct ulp_template_device_tbls *dev_tbls;
+ const struct bnxt_ulp_template_device_tbls *dev_tbls;
dev_tbls = &mparms->device_params->dev_tbls[mparms->tmpl_type];
*num_tbls = dev_tbls->tmpl_list[tid].reject_info.cond_nums;
enum bnxt_ulp_cond_list_opc *opc)
{
uint32_t idx;
- const struct ulp_template_device_tbls *dev_tbls;
+ const struct bnxt_ulp_template_device_tbls *dev_tbls;
dev_tbls = &mparms->device_params->dev_tbls[mparms->tmpl_type];
*num_tbls = tbl->execute_info.cond_nums;
uint32_t *num_tbls)
{
uint32_t idx;
- const struct ulp_template_device_tbls *dev_tbls;
+ const struct bnxt_ulp_template_device_tbls *dev_tbls;
dev_tbls = &mparms->device_params->dev_tbls[mparms->tmpl_type];
uint32_t *num_flds)
{
uint32_t idx;
- const struct ulp_template_device_tbls *dev_tbls;
+ const struct bnxt_ulp_template_device_tbls *dev_tbls;
dev_tbls = &mparms->device_params->dev_tbls[mparms->tmpl_type];
if (!dev_tbls->key_field_list) {
uint32_t *num_encap_flds)
{
uint32_t idx;
- const struct ulp_template_device_tbls *dev_tbls;
+ const struct bnxt_ulp_template_device_tbls *dev_tbls;
dev_tbls = &mparms->device_params->dev_tbls[mparms->tmpl_type];
if (!dev_tbls->result_field_list) {
uint32_t *num_flds)
{
uint32_t idx;
- const struct ulp_template_device_tbls *dev_tbls;
+ const struct bnxt_ulp_template_device_tbls *dev_tbls;
dev_tbls = &mparms->device_params->dev_tbls[mparms->tmpl_type];
if (!dev_tbls->ident_list) {
return rc;
}
+/*
+ * Process the flow database opcode action.
+ * returns 0 on success.
+ */
+static int32_t
+ulp_mapper_priority_opc_process(struct bnxt_ulp_mapper_parms *parms,
+ struct bnxt_ulp_mapper_tbl_info *tbl,
+ uint32_t *priority)
+{
+ int32_t rc = 0;
+
+ switch (tbl->pri_opcode) {
+ case BNXT_ULP_PRI_OPC_NOT_USED:
+ *priority = 0;
+ break;
+ case BNXT_ULP_PRI_OPC_CONST:
+ *priority = tbl->pri_operand;
+ break;
+ case BNXT_ULP_PRI_OPC_APP_PRI:
+ *priority = parms->app_priority;
+ break;
+ default:
+ BNXT_TF_DBG(ERR, "Priority opcode not supported %d\n",
+ tbl->pri_opcode);
+ rc = -EINVAL;
+ break;
+ }
+ return rc;
+}
+
/*
* Process the identifier list in the given table.
* Extract the ident from the table entry and
{
struct ulp_flow_db_res_params fid_parms;
uint32_t mark, gfid, mark_flag;
- enum bnxt_ulp_mark_db_opcode mark_op = tbl->mark_db_opcode;
+ enum bnxt_ulp_mark_db_opc mark_op = tbl->mark_db_opcode;
int32_t rc = 0;
- if (mark_op == BNXT_ULP_MARK_DB_OPCODE_NOP ||
- !(mark_op == BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION &&
+ if (mark_op == BNXT_ULP_MARK_DB_OPC_NOP ||
+ !(mark_op == BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION &&
ULP_BITMAP_ISSET(parms->act_bitmap->bits,
BNXT_ULP_ACTION_BIT_MARK)))
return rc; /* no need to perform gfid process */
struct ulp_flow_db_res_params fid_parms;
uint32_t act_idx, mark, mark_flag;
uint64_t val64;
- enum bnxt_ulp_mark_db_opcode mark_op = tbl->mark_db_opcode;
+ enum bnxt_ulp_mark_db_opc mark_op = tbl->mark_db_opcode;
int32_t rc = 0;
- if (mark_op == BNXT_ULP_MARK_DB_OPCODE_NOP ||
- !(mark_op == BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION &&
+ if (mark_op == BNXT_ULP_MARK_DB_OPC_NOP ||
+ !(mark_op == BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION &&
ULP_BITMAP_ISSET(parms->act_bitmap->bits,
BNXT_ULP_ACTION_BIT_MARK)))
return rc; /* no need to perform mark action process */
struct ulp_flow_db_res_params fid_parms;
uint32_t act_idx, mark, mark_flag;
uint64_t val64;
- enum bnxt_ulp_mark_db_opcode mark_op = tbl->mark_db_opcode;
+ enum bnxt_ulp_mark_db_opc mark_op = tbl->mark_db_opcode;
int32_t rc = 0;
- if (mark_op == BNXT_ULP_MARK_DB_OPCODE_NOP ||
- mark_op == BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION)
+ if (mark_op == BNXT_ULP_MARK_DB_OPC_NOP ||
+ mark_op == BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION)
return rc; /* no need to perform mark action process */
/* Get the mark id details from the computed field of dev port id */
tmplen, tbl->blob_key_bit_size);
return -EINVAL;
}
- aparms.priority = tbl->priority;
+
+ /* calculate the entry priority */
+ rc = ulp_mapper_priority_opc_process(parms, tbl,
+ &aparms.priority);
+ if (rc) {
+ BNXT_TF_DBG(ERR, "entry priority process failed\n");
+ return rc;
+ }
+
rc = tf_alloc_tcam_entry(tfp, &aparms);
if (rc) {
BNXT_TF_DBG(ERR, "tcam alloc failed rc=%d.\n", rc);
searchparms.key = ulp_blob_data_get(&key, &tmplen);
searchparms.key_sz_in_bits = tbl->key_bit_size;
searchparms.mask = ulp_blob_data_get(&mask, &tmplen);
- searchparms.priority = tbl->priority;
searchparms.alloc = 1;
searchparms.result = ulp_blob_data_get(&data, &tmplen);
searchparms.result_sz_in_bits = tbl->result_bit_size;
+ /* calculate the entry priority */
+ rc = ulp_mapper_priority_opc_process(parms, tbl,
+ &searchparms.priority);
+ if (rc) {
+ BNXT_TF_DBG(ERR, "entry priority process failed\n");
+ return rc;
+ }
+
rc = tf_search_tcam_entry(tfp, &searchparms);
if (rc) {
BNXT_TF_DBG(ERR, "tcam search failed rc=%d\n", rc);
BNXT_TF_DBG(ERR,
"Failed to get tbl idx from Global "
"regfile[%d].\n",
- tbl->index_operand);
+ tbl->tbl_operand);
return -EINVAL;
}
index = tfp_be_to_cpu_64(regval);
tfp_cpu_to_be_64(gen_tbl_hit));
if (!rc) {
BNXT_TF_DBG(ERR, "Write regfile[%d] failed\n",
- tbl->index_operand);
+ BNXT_ULP_REGFILE_INDEX_GENERIC_TBL_HIT);
return -EIO;
}
bnxt_ulp_cntxt_mem_type_get(parms->ulp_ctx, &mtype);
switch (tbl->mem_type_opcode) {
- case BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT:
+ case BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT:
if (mtype == BNXT_ULP_FLOW_MEM_TYPE_INT)
rc = 0;
break;
- case BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT:
+ case BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT:
if (mtype == BNXT_ULP_FLOW_MEM_TYPE_EXT)
rc = 0;
break;
- case BNXT_ULP_MEM_TYPE_OPCODE_NOP:
+ case BNXT_ULP_MEM_TYPE_OPC_NOP:
rc = 0;
break;
default:
parms.parent_fid = cparms->parent_fid;
parms.fid = cparms->flow_id;
parms.tun_idx = cparms->tun_idx;
+ parms.app_priority = cparms->app_priority;
/* Get the device id from the ulp context */
if (bnxt_ulp_cntxt_dev_id_get(ulp_ctx, &parms.dev_id)) {
uint32_t parent_fid;
uint32_t parent_flow;
uint8_t tun_idx;
+ uint32_t app_priority;
};
struct bnxt_ulp_mapper_create_parms {
#define BNXT_ULP_ACT_HID_SHFTR 23
#define BNXT_ULP_ACT_HID_SHFTL 23
#define BNXT_ULP_ACT_HID_MASK 4095
-#define BNXT_ULP_CACHE_TBL_IDENT_MAX_NUM 2
#define BNXT_ULP_GLB_RESOURCE_TBL_MAX_SZ 8
#define BNXT_ULP_GLB_TEMPLATE_TBL_MAX_SZ 1
#define BNXT_ULP_GLB_FIELD_TBL_SHIFT 7
BNXT_ULP_FDB_OPC_LAST = 4
};
-enum bnxt_ulp_flow_mem_type {
- BNXT_ULP_FLOW_MEM_TYPE_INT = 0,
- BNXT_ULP_FLOW_MEM_TYPE_EXT = 1,
- BNXT_ULP_FLOW_MEM_TYPE_BOTH = 2,
- BNXT_ULP_FLOW_MEM_TYPE_LAST = 3
-};
-
enum bnxt_ulp_generic_tbl_opc {
BNXT_ULP_GENERIC_TBL_OPC_NOT_USED = 0,
BNXT_ULP_GENERIC_TBL_OPC_READ = 1,
BNXT_ULP_INDEX_TBL_OPC_LAST = 7
};
-enum bnxt_ulp_index_opcode {
- BNXT_ULP_INDEX_OPCODE_NOT_USED = 0,
- BNXT_ULP_INDEX_OPCODE_ALLOCATE = 1,
- BNXT_ULP_INDEX_OPCODE_GLOBAL = 2,
- BNXT_ULP_INDEX_OPCODE_COMP_FIELD = 3,
- BNXT_ULP_INDEX_OPCODE_CONSTANT = 4,
- BNXT_ULP_INDEX_OPCODE_LAST = 5
-};
-
enum bnxt_ulp_mapper_opc {
BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT = 0,
BNXT_ULP_MAPPER_OPC_SET_TO_HDR_FIELD = 1,
BNXT_ULP_MAPPER_OPC_LAST = 13
};
-enum bnxt_ulp_mark_db_opcode {
- BNXT_ULP_MARK_DB_OPCODE_NOP = 0,
- BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION = 1,
- BNXT_ULP_MARK_DB_OPCODE_SET_VFR_FLAG = 2,
- BNXT_ULP_MARK_DB_OPCODE_LAST = 3
+enum bnxt_ulp_mark_db_opc {
+ BNXT_ULP_MARK_DB_OPC_NOP = 0,
+ BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION = 1,
+ BNXT_ULP_MARK_DB_OPC_PUSH_AND_SET_VFR_FLAG = 2,
+ BNXT_ULP_MARK_DB_OPC_LAST = 3
};
enum bnxt_ulp_match_type {
BNXT_ULP_MATCH_TYPE_LAST = 2
};
-enum bnxt_ulp_mem_type_opcode {
- BNXT_ULP_MEM_TYPE_OPCODE_NOP = 0,
- BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT = 1,
- BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT = 2,
- BNXT_ULP_MEM_TYPE_OPCODE_LAST = 3
+enum bnxt_ulp_mem_type_opc {
+ BNXT_ULP_MEM_TYPE_OPC_NOP = 0,
+ BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT = 1,
+ BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT = 2,
+ BNXT_ULP_MEM_TYPE_OPC_LAST = 3
};
-enum bnxt_ulp_priority {
- BNXT_ULP_PRIORITY_LEVEL_0 = 0,
- BNXT_ULP_PRIORITY_LEVEL_1 = 1,
- BNXT_ULP_PRIORITY_LEVEL_2 = 2,
- BNXT_ULP_PRIORITY_LEVEL_3 = 3,
- BNXT_ULP_PRIORITY_LEVEL_4 = 4,
- BNXT_ULP_PRIORITY_LEVEL_5 = 5,
- BNXT_ULP_PRIORITY_LEVEL_6 = 6,
- BNXT_ULP_PRIORITY_LEVEL_7 = 7,
- BNXT_ULP_PRIORITY_NOT_USED = 8,
- BNXT_ULP_PRIORITY_LAST = 9
+enum bnxt_ulp_pri_opc {
+ BNXT_ULP_PRI_OPC_NOT_USED = 0,
+ BNXT_ULP_PRI_OPC_CONST = 1,
+ BNXT_ULP_PRI_OPC_APP_PRI = 2,
+ BNXT_ULP_PRI_OPC_LAST = 3
};
enum bnxt_ulp_regfile_index {
BNXT_ULP_TCAM_TBL_OPC_LAST = 3
};
-enum bnxt_ulp_search_before_alloc {
- BNXT_ULP_SEARCH_BEFORE_ALLOC_NO = 0,
- BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP = 1,
- BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_UPDATE = 2,
- BNXT_ULP_SEARCH_BEFORE_ALLOC_LAST = 3
-};
-
enum bnxt_ulp_template_type {
BNXT_ULP_TEMPLATE_TYPE_CLASS = 0,
BNXT_ULP_TEMPLATE_TYPE_ACTION = 1,
enum bnxt_ulp_resource_sub_type {
BNXT_ULP_RESOURCE_SUB_TYPE_NOT_USED = 0,
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL = 0,
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION = 1,
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT = 2,
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT_ACC = 3,
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_EXT_COUNT = 4,
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM = 0,
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM = 1
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL = 0,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION = 1,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT = 2,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT_ACC = 3,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_EXT_COUNT = 4,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM = 0,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM = 1,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_MIRROR_TBL = 2
};
enum bnxt_ulp_sym {
* All rights reserved.
*/
+/* date: Thu Oct 15 17:28:37 2020 */
+
#include "ulp_template_db_enum.h"
#include "ulp_template_db_field.h"
#include "ulp_template_struct.h"
#include "ulp_rte_parser.h"
-struct bnxt_ulp_mapper_tbl_list_info ulp_stingray_act_tmpl_list[] = {
+/* Mapper templates for header act list */
+struct bnxt_ulp_mapper_tmpl_info ulp_stingray_act_tmpl_list[] = {
+ /* act-ing-[dec_ttl, count, nat]:1 */
+ /* act_tid: 1, stingray, ingress */
[1] = {
.device_name = BNXT_ULP_DEVICE_ID_STINGRAY,
.num_tbls = 6,
.start_tbl_idx = 0
},
+ /* act-ing-[drop, pop_vlan, push_vlan, dec_ttl, count, vxlan_decap]:2 */
+ /* act_tid: 2, stingray, ingress */
[2] = {
.device_name = BNXT_ULP_DEVICE_ID_STINGRAY,
.num_tbls = 3,
.start_tbl_idx = 6
},
+ /* act-ing-[mark, rss, count, pop_vlan, vxlan_decap]:3 */
+ /* act_tid: 3, stingray, ingress */
[3] = {
.device_name = BNXT_ULP_DEVICE_ID_STINGRAY,
.num_tbls = 3,
.start_tbl_idx = 9
},
+ /* act_egr-[vxlan_encap, count]:4 */
+ /* act_tid: 4, stingray, egress */
[4] = {
.device_name = BNXT_ULP_DEVICE_ID_STINGRAY,
.num_tbls = 6,
.start_tbl_idx = 12
},
+ /* act-egr-[dec_ttl, count, nat]:5 */
+ /* act_tid: 5, stingray, egress */
[5] = {
.device_name = BNXT_ULP_DEVICE_ID_STINGRAY,
.num_tbls = 6,
.start_tbl_idx = 18
},
+ /* act-egr-[drop, push_vlan, dec_ttl, count]:6 */
+ /* act_tid: 6, stingray, egress */
[6] = {
.device_name = BNXT_ULP_DEVICE_ID_STINGRAY,
.num_tbls = 5,
};
struct bnxt_ulp_mapper_tbl_info ulp_stingray_act_tbl_list[] = {
- {
+ { /* act_tid: 1, stingray, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 0,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 1, stingray, table: int_act_modify_ipv4_src_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_SRC,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 1,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_SRC_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_SRC_PTR_0
},
- {
+ { /* act_tid: 1, stingray, table: int_act_modify_ipv4_dst_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_DST,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 2,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_DST_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_DST_PTR_0
},
- {
+ { /* act_tid: 1, stingray, table: int_encap_mac_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_16B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 3,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_GLOBAL,
- .index_operand = BNXT_ULP_GLB_REGFILE_INDEX_ENCAP_MAC_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_WR_GLB_REGFILE,
+ .tbl_operand = BNXT_ULP_GLB_REGFILE_INDEX_ENCAP_MAC_PTR
},
- {
+ { /* act_tid: 1, stingray, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 15,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 1, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 41,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 2, stingray, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 67,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 2, stingray, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 68,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 2, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 94,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 3, stingray, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 120,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 3, stingray, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 121,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 3, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 147,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 4, stingray, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 173,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 4, stingray, table: int_sp_smac_ipv4_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_SP_SMAC_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_IS_SET,
.cond_operand = BNXT_ULP_CF_IDX_ACT_ENCAP_IPV4_FLAG,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
.result_start_idx = 174,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 3,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_SP_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_SP_PTR
},
- {
+ { /* act_tid: 4, stingray, table: int_sp_smac_ipv6_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_SP_SMAC_IPV6,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_IS_SET,
.cond_operand = BNXT_ULP_CF_IDX_ACT_ENCAP_IPV6_FLAG,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
.result_start_idx = 177,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 3,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_SP_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_SP_PTR
},
- {
+ { /* act_tid: 4, stingray, table: int_tun_encap_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_64B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
.result_start_idx = 180,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
},
- {
+ { /* act_tid: 4, stingray, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 192,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 4, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 230,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 5, stingray, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 256,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 5, stingray, table: int_act_modify_ipv4_src_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_SRC,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 257,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_SRC_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_SRC_PTR_0
},
- {
+ { /* act_tid: 5, stingray, table: int_act_modify_ipv4_dst_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_DST,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 258,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_DST_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_DST_PTR_0
},
- {
+ { /* act_tid: 5, stingray, table: int_encap_mac_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_16B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 259,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_GLOBAL,
- .index_operand = BNXT_ULP_GLB_REGFILE_INDEX_ENCAP_MAC_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_WR_GLB_REGFILE,
+ .tbl_operand = BNXT_ULP_GLB_REGFILE_INDEX_ENCAP_MAC_PTR
},
- {
+ { /* act_tid: 5, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 271,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 5, stingray, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 297,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 11,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 6, stingray, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 334,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 6, stingray, table: int_vtag_encap_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_16B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_PUSH_VLAN,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 335,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
},
- {
+ { /* act_tid: 6, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 347,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 6, stingray, table: ext_full_act_record_no_tag_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_NOT_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_PUSH_VLAN,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 373,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 6, stingray, table: ext_full_act_record_one_tag_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_PUSH_VLAN,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 399,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 11,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
}
};
struct bnxt_ulp_mapper_result_field_info ulp_stingray_act_result_field_list[] = {
+ /* act_tid: 1, stingray, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 1, stingray, table: int_act_modify_ipv4_src_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 1, stingray, table: int_act_modify_ipv4_dst_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 1, stingray, table: int_encap_mac_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "spare",
.field_bit_size = 80,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 1, stingray, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_GLB_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 1, stingray, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_GLB_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 2, stingray, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 2, stingray, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
(uint64_t)BNXT_ULP_ACTION_BIT_DROP & 0xff,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 2, stingray, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 3, stingray, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 3, stingray, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 3, stingray, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, stingray, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, stingray, table: int_sp_smac_ipv4_0 */
{
+ .description = "smac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ipv4_src_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "reserved",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, stingray, table: int_sp_smac_ipv6_0 */
{
+ .description = "smac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ipv6_src_addr",
.field_bit_size = 128,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "reserved",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, stingray, table: int_tun_encap_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_l2_dmac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_vtag",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_ip",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_udp",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_tun",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 4, stingray, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_l2_dmac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_vtag",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_ip",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_udp",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_tun",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 4, stingray, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, stingray, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, stingray, table: int_act_modify_ipv4_src_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 5, stingray, table: int_act_modify_ipv4_dst_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 5, stingray, table: int_encap_mac_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "spare",
.field_bit_size = 80,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, stingray, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_GLB_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, stingray, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, stingray, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, stingray, table: int_vtag_encap_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "spare",
.field_bit_size = 80,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, stingray, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, stingray, table: ext_full_act_record_no_tag_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
(uint64_t)BNXT_ULP_ACTION_BIT_DROP & 0xff,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 6, stingray, table: ext_full_act_record_one_tag_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
#include "ulp_rte_parser.h"
/* Mapper templates for header class list */
-struct bnxt_ulp_mapper_tbl_list_info ulp_stingray_class_tmpl_list[] = {
+struct bnxt_ulp_mapper_tmpl_info ulp_stingray_class_tmpl_list[] = {
/* default-vfr-[port_to_vs]:1 */
/* class_tid: 1, stingray, ingress */
[1] = {
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 0,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
{ /* class_tid: 1, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 0,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 1,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 1, stingray, table: parif_def_lkup_arec_ptr_0 */
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_COMP_FIELD,
- .index_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF
},
{ /* class_tid: 1, stingray, table: parif_def_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_COMP_FIELD,
- .index_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF
},
{ /* class_tid: 1, stingray, table: parif_def_err_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_COMP_FIELD,
- .index_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF
},
{ /* class_tid: 2, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 43,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
{ /* class_tid: 2, stingray, table: l2_cntxt_tcam_vfr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_IS_SET,
.cond_operand = BNXT_ULP_CF_IDX_VFR_MODE,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 14,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 1,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 2, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_NOT_SET,
.cond_operand = BNXT_ULP_CF_IDX_VFR_MODE,
.direction = TF_DIR_TX,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_NOT_SET,
.cond_operand = BNXT_ULP_CF_IDX_VFR_MODE,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 28,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 2, stingray, table: parif_def_lkup_arec_ptr_0 */
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_COMP_FIELD,
- .index_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF
},
{ /* class_tid: 2, stingray, table: parif_def_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_COMP_FIELD,
- .index_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF
},
{ /* class_tid: 2, stingray, table: parif_def_err_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_COMP_FIELD,
- .index_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF
},
{ /* class_tid: 3, stingray, table: egr_int_vtag_encap_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_8B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 99,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
},
{ /* class_tid: 3, stingray, table: egr_int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 111,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
{ /* class_tid: 3, stingray, table: egr_l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 41,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 42,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 3, stingray, table: ing_int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 150,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
{ /* class_tid: 3, stingray, table: ing_l2_cntxt_dtagged_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 55,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 3, stingray, table: ing_l2_cntxt_stagged_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 68,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 4, stingray, table: egr_l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 81,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 82,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 3,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 4, stingray, table: egr_parif_def_lkup_arec_ptr_0 */
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_CONSTANT,
- .index_operand = BNXT_ULP_SYM_VF_FUNC_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
+ .tbl_operand = BNXT_ULP_SYM_VF_FUNC_PARIF
},
{ /* class_tid: 4, stingray, table: egr_parif_def_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_CONSTANT,
- .index_operand = BNXT_ULP_SYM_VF_FUNC_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
+ .tbl_operand = BNXT_ULP_SYM_VF_FUNC_PARIF
},
{ /* class_tid: 4, stingray, table: egr_parif_def_err_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_CONSTANT,
- .index_operand = BNXT_ULP_SYM_VF_FUNC_PARIF
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
+ .tbl_operand = BNXT_ULP_SYM_VF_FUNC_PARIF
},
{ /* class_tid: 4, stingray, table: ing_int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 219,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_VFR_FLAG,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_AND_SET_VFR_FLAG,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
{ /* class_tid: 4, stingray, table: ing_l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 95,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 3,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 5, stingray, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 258,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_GLOBAL,
- .index_operand = BNXT_ULP_GLB_REGFILE_INDEX_GLB_LB_AREC_PTR
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_WR_GLB_REGFILE,
+ .tbl_operand = BNXT_ULP_GLB_REGFILE_INDEX_GLB_LB_AREC_PTR
},
{ /* class_tid: 6, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 108,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 3,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 6, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 121,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_1,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 1,
.key_start_idx = 124,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 6, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 167,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 6, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 178,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 7, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 189,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 7, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 202,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_1,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 1,
.key_start_idx = 205,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 7,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 7, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 248,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 7,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 7, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 259,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 7,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 8, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 270,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 271,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 8,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 8, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 284,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 287,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 9,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 8, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 330,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 9,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 8, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 341,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 9,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 9, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 352,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 353,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 10,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 9, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 366,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 369,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 11,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 9, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 412,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 11,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 9, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 423,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 11,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 10, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 434,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 435,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 12,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 10, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 448,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 451,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 13,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 10, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 494,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 13,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 10, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 505,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 13,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 11, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 516,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 517,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 14,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 11, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 530,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 533,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 11, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 576,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 11, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 587,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 12, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 598,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 12, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 611,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 614,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 12, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 657,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 12, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 668,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 13, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 679,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 13, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 692,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 695,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 13, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 738,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 13, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 749,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 14, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 760,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 14, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 773,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 776,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 14, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 819,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 14, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 830,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 15, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 841,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 15, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 854,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 857,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 15, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 900,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 15, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 911,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 16, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 922,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 16, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 935,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 938,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 16, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 981,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 16, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 992,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 17, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1003,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 17, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 1016,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1019,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 17, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 1062,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 17, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 1073,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 18, stingray, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT_ACC,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT_ACC,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 768,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
- .index_opcode = BNXT_ULP_INDEX_OPCODE_ALLOCATE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
{ /* class_tid: 18, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1084,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 18, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 1097,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1100,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 30,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 18, stingray, table: wm_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_WC_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1143,
.blob_key_bit_size = 192,
.key_bit_size = 160,
.encap_num_fields = 0,
.ident_start_idx = 30,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 19, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1148,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 30,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 19, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 1161,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1164,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 33,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 19, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 1207,
.blob_key_bit_size = 112,
.encap_num_fields = 0,
.ident_start_idx = 33,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 19, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 1215,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 33,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 20, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1223,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1224,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 34,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 20, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1237,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1240,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 35,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 20, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1283,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 35,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 20, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1294,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 35,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 21, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1305,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1306,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 36,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 21, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1319,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1322,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 37,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 21, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1365,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 37,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 21, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1376,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 37,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 22, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1387,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1388,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 38,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 22, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1401,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1404,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 39,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 22, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1447,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 39,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 22, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1458,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 39,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 23, stingray, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1469,
.blob_key_bit_size = 12,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1470,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 40,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 23, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1483,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1486,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 23, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1529,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 23, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1540,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 24, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_UPDATE,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1551,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 24, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1564,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1567,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 24, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1610,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 24, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1617,
.blob_key_bit_size = 104,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 25, stingray, table: l2_cntxt_tcam_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_UPDATE,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1624,
.blob_key_bit_size = 171,
.key_bit_size = 171,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 25, stingray, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1637,
.blob_key_bit_size = 16,
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1640,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 45,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 25, stingray, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1683,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 45,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 25, stingray, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1690,
.blob_key_bit_size = 104,
.encap_num_fields = 0,
.ident_start_idx = 45,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
}
};
/* Specifies parameters for the generic tables */
struct bnxt_ulp_generic_tbl_params ulp_generic_tbl_params[] = {
- [BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM << 1 |
+ [BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM << 1 |
TF_DIR_RX] = {
.result_num_entries = 16384,
.result_byte_size = 6,
.result_byte_order = BNXT_ULP_BYTE_ORDER_LE
},
- [BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM << 1 |
+ [BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_L2_CNTXT_TCAM << 1 |
TF_DIR_TX] = {
.result_num_entries = 16384,
.result_byte_size = 6,
.result_byte_order = BNXT_ULP_BYTE_ORDER_LE
},
- [BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM << 1 |
+ [BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM << 1 |
TF_DIR_RX] = {
.result_num_entries = 16384,
.result_byte_size = 6,
.result_byte_order = BNXT_ULP_BYTE_ORDER_LE
},
- [BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM << 1 |
+ [BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM << 1 |
TF_DIR_TX] = {
.result_num_entries = 16384,
.result_byte_size = 6,
};
/* device tables */
-const struct ulp_template_device_tbls ulp_template_stingray_tbls[] = {
+const struct bnxt_ulp_template_device_tbls ulp_template_stingray_tbls[] = {
[BNXT_ULP_TEMPLATE_TYPE_CLASS] = {
.tmpl_list = ulp_stingray_class_tmpl_list,
.tbl_list = ulp_stingray_class_tbl_list,
};
/* device tables */
-const struct ulp_template_device_tbls ulp_template_wh_plus_tbls[] = {
+const struct bnxt_ulp_template_device_tbls ulp_template_wh_plus_tbls[] = {
[BNXT_ULP_TEMPLATE_TYPE_CLASS] = {
.tmpl_list = ulp_wh_plus_class_tmpl_list,
.tbl_list = ulp_wh_plus_class_tbl_list,
* All rights reserved.
*/
+/* date: Mon Sep 21 14:21:33 2020 */
+
#ifndef ULP_TEMPLATE_DB_TBL_H_
#define ULP_TEMPLATE_DB_TBL_H_
#include "ulp_template_struct.h"
-extern struct bnxt_ulp_mapper_tbl_list_info ulp_wh_plus_class_tmpl_list[];
+/* WH_PLUS template table declarations */
+extern struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_class_tmpl_list[];
extern struct bnxt_ulp_mapper_tbl_info ulp_wh_plus_class_tbl_list[];
extern struct bnxt_ulp_mapper_ident_info ulp_wh_plus_class_ident_list[];
-extern struct bnxt_ulp_mapper_tbl_list_info ulp_wh_plus_act_tmpl_list[];
+extern struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_act_tmpl_list[];
extern struct bnxt_ulp_mapper_tbl_info ulp_wh_plus_act_tbl_list[];
extern struct
bnxt_ulp_mapper_result_field_info ulp_wh_plus_act_result_field_list[];
-extern struct bnxt_ulp_mapper_tbl_list_info ulp_stingray_class_tmpl_list[];
+/* STINGRAY template table declarations */
+extern struct bnxt_ulp_mapper_tmpl_info ulp_stingray_class_tmpl_list[];
extern struct bnxt_ulp_mapper_tbl_info ulp_stingray_class_tbl_list[];
extern struct bnxt_ulp_mapper_ident_info ulp_stingray_class_ident_list[];
-extern struct bnxt_ulp_mapper_tbl_list_info ulp_stingray_act_tmpl_list[];
+extern struct bnxt_ulp_mapper_tmpl_info ulp_stingray_act_tmpl_list[];
extern struct bnxt_ulp_mapper_tbl_info ulp_stingray_act_tbl_list[];
* All rights reserved.
*/
+/* date: Thu Oct 15 17:28:37 2020 */
+
#include "ulp_template_db_enum.h"
#include "ulp_template_db_field.h"
#include "ulp_template_struct.h"
#include "ulp_rte_parser.h"
-struct bnxt_ulp_mapper_tbl_list_info ulp_wh_plus_act_tmpl_list[] = {
+/* Mapper templates for header act list */
+struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_act_tmpl_list[] = {
+ /* act-ing-[dec_ttl, count, nat]:1 */
+ /* act_tid: 1, wh_plus, ingress */
[1] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
.num_tbls = 6,
.start_tbl_idx = 0
},
+ /* act-ing-[drop, pop_vlan, push_vlan, dec_ttl, count, vxlan_decap]:2 */
+ /* act_tid: 2, wh_plus, ingress */
[2] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
.num_tbls = 3,
.start_tbl_idx = 6
},
+ /* act-ing-[mark, rss, count, pop_vlan, vxlan_decap]:3 */
+ /* act_tid: 3, wh_plus, ingress */
[3] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
.num_tbls = 3,
.start_tbl_idx = 9
},
+ /* act_egr-[vxlan_encap, count]:4 */
+ /* act_tid: 4, wh_plus, egress */
[4] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
.num_tbls = 6,
.start_tbl_idx = 12
},
+ /* act-egr-[dec_ttl, count, nat]:5 */
+ /* act_tid: 5, wh_plus, egress */
[5] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
.num_tbls = 6,
.start_tbl_idx = 18
},
+ /* act-egr-[drop, push_vlan, dec_ttl, count]:6 */
+ /* act_tid: 6, wh_plus, egress */
[6] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
.num_tbls = 5,
};
struct bnxt_ulp_mapper_tbl_info ulp_wh_plus_act_tbl_list[] = {
- {
+ { /* act_tid: 1, wh_plus, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 0,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 1, wh_plus, table: int_act_modify_ipv4_src_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_SRC,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 1,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_SRC_PTR_0
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_SRC_PTR_0
},
- {
+ { /* act_tid: 1, wh_plus, table: int_act_modify_ipv4_dst_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_DST,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 2,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_DST_PTR_0
},
- {
+ { /* act_tid: 1, wh_plus, table: int_encap_mac_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_16B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 3,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_WR_GLB_REGFILE,
.tbl_operand = BNXT_ULP_GLB_REGFILE_INDEX_ENCAP_MAC_PTR
},
- {
+ { /* act_tid: 1, wh_plus, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 15,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 1, wh_plus, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 41,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 2, wh_plus, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 67,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 2, wh_plus, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 68,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 2, wh_plus, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 94,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 3, wh_plus, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 120,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 3, wh_plus, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 121,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 3, wh_plus, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 147,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 4, wh_plus, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 173,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 4, wh_plus, table: int_sp_smac_ipv4_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_SP_SMAC_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_IS_SET,
.cond_operand = BNXT_ULP_CF_IDX_ACT_ENCAP_IPV4_FLAG,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
.result_start_idx = 174,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 3,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MAIN_SP_PTR
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_SP_PTR
},
- {
+ { /* act_tid: 4, wh_plus, table: int_sp_smac_ipv6_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_SP_SMAC_IPV6,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_IS_SET,
.cond_operand = BNXT_ULP_CF_IDX_ACT_ENCAP_IPV6_FLAG,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
.result_start_idx = 177,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 3,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_SP_PTR
},
- {
+ { /* act_tid: 4, wh_plus, table: int_tun_encap_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_64B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_SEARCH_IF_HIT_SKIP,
.result_start_idx = 180,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
},
- {
+ { /* act_tid: 4, wh_plus, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 192,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 4, wh_plus, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 230,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 5, wh_plus, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 256,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 5, wh_plus, table: int_act_modify_ipv4_src_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_SRC,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 257,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_SRC_PTR_0
},
- {
+ { /* act_tid: 5, wh_plus, table: int_act_modify_ipv4_dst_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_MODIFY_IPV4,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_SET_IPV4_DST,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 258,
.result_bit_size = 32,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_DST_PTR_0
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_MODIFY_IPV4_DST_PTR_0
},
- {
+ { /* act_tid: 5, wh_plus, table: int_encap_mac_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_16B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 259,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_WR_GLB_REGFILE,
.tbl_operand = BNXT_ULP_GLB_REGFILE_INDEX_ENCAP_MAC_PTR
},
- {
+ { /* act_tid: 5, wh_plus, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 271,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 5, wh_plus, table: ext_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 297,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 11,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 6, wh_plus, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 334,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
- {
+ { /* act_tid: 6, wh_plus, table: int_vtag_encap_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_16B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_PUSH_VLAN,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 335,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
- .index_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
+ .tbl_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
},
- {
+ { /* act_tid: 6, wh_plus, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 347,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 6, wh_plus, table: ext_full_act_record_no_tag_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_NOT_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_PUSH_VLAN,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 373,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
- {
+ { /* act_tid: 6, wh_plus, table: ext_full_act_record_one_tag_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_EXT,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_PUSH_VLAN,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 399,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 11,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
}
};
struct bnxt_ulp_mapper_result_field_info ulp_wh_plus_act_result_field_list[] = {
+ /* act_tid: 1, wh_plus, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 1, wh_plus, table: int_act_modify_ipv4_src_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 1, wh_plus, table: int_act_modify_ipv4_dst_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 1, wh_plus, table: int_encap_mac_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "spare",
.field_bit_size = 80,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 1, wh_plus, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_GLB_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 1, wh_plus, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_GLB_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 2, wh_plus, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 2, wh_plus, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
(uint64_t)BNXT_ULP_ACTION_BIT_DROP & 0xff,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 2, wh_plus, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 3, wh_plus, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 3, wh_plus, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 3, wh_plus, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, wh_plus, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, wh_plus, table: int_sp_smac_ipv4_0 */
{
+ .description = "smac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ipv4_src_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "reserved",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, wh_plus, table: int_sp_smac_ipv6_0 */
{
+ .description = "smac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ipv6_src_addr",
.field_bit_size = 128,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "reserved",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 4, wh_plus, table: int_tun_encap_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_l2_dmac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_vtag",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_ip",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_udp",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_tun",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 4, wh_plus, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_l2_dmac",
.field_bit_size = 48,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_vtag",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_ip",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_udp",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "encap_tun",
.field_bit_size = 0,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ENCAP_ACT_PROP_SZ,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 4, wh_plus, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, wh_plus, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, wh_plus, table: int_act_modify_ipv4_src_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 5, wh_plus, table: int_act_modify_ipv4_dst_0 */
{
+ .description = "ipv4_addr",
.field_bit_size = 32,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 5, wh_plus, table: int_encap_mac_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "spare",
.field_bit_size = 80,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, wh_plus, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_GLB_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 5, wh_plus, table: ext_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_ACT_BIT_THEN_ACT_PROP_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_IF_HDR_BIT_THEN_CONST_ELSE_CONST,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, wh_plus, table: int_flow_counter_tbl_0 */
{
+ .description = "count",
.field_bit_size = 64,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, wh_plus, table: int_vtag_encap_record_0 */
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "spare",
.field_bit_size = 80,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, wh_plus, table: int_full_act_record_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "hit",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "type",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
+ /* act_tid: 6, wh_plus, table: ext_full_act_record_no_tag_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
(uint64_t)BNXT_ULP_ACTION_BIT_DROP & 0xff,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
+ /* act_tid: 6, wh_plus, table: ext_full_act_record_one_tag_0 */
{
+ .description = "flow_cntr_ptr",
.field_bit_size = 14,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_REGFILE,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "age_enable",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "agg_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "rate_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "flow_cntr_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "flow_cntr_ext",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_key",
.field_bit_size = 8,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_mir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcpflags_match",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_ptr",
.field_bit_size = 11,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "encap_rec_int",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "dst_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_dst_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "src_ip_ptr",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tcp_src_port",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "meter_id",
.field_bit_size = 10,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "tl3_rdir",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "l3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "tl3_ttl_dec",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_COMP_FIELD,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "decap_func",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vnic_or_vport",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "pop_vlan",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "meter",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "mirror",
.field_bit_size = 2,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "drop",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_BIT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_tun_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l4_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l3_type",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_l2_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_vtag_type",
.field_bit_size = 4,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "ecv_custom_en",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "ecv_valid",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_CONSTANT,
.result_operand = {0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_tpid",
.field_bit_size = 16,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_vid",
.field_bit_size = 12,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
},
{
+ .description = "vtag_de",
.field_bit_size = 1,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ZERO
},
{
+ .description = "vtag_pcp",
.field_bit_size = 3,
.result_opcode = BNXT_ULP_MAPPER_OPC_SET_TO_ACT_PROP,
.result_operand = {
#include "ulp_rte_parser.h"
/* Mapper templates for header class list */
-struct bnxt_ulp_mapper_tbl_list_info ulp_wh_plus_class_tmpl_list[] = {
+struct bnxt_ulp_mapper_tmpl_info ulp_wh_plus_class_tmpl_list[] = {
/* default-vfr-[port_to_vs]:1 */
/* class_tid: 1, wh_plus, ingress */
[1] = {
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 0,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 0,
.blob_key_bit_size = 8,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 1,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 1, wh_plus, table: parif_def_lkup_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 43,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 14,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 1,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 2, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.cond_opcode = BNXT_ULP_COND_OPC_COMP_FIELD_NOT_SET,
.cond_operand = BNXT_ULP_CF_IDX_VFR_MODE,
.direction = TF_DIR_TX,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 28,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 2, wh_plus, table: parif_def_lkup_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_ENCAP_8B,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 99,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_ENCAP_PTR_0
},
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 111,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 41,
.blob_key_bit_size = 8,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 42,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 3, wh_plus, table: ing_int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 150,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 55,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 3, wh_plus, table: ing_l2_cntxt_stagged_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 68,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 2,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 4, wh_plus, table: egr_l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 81,
.blob_key_bit_size = 8,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 82,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 3,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 4, wh_plus, table: egr_parif_def_lkup_arec_ptr_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_NORMAL,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 219,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_VFR_FLAG,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_AND_SET_VFR_FLAG,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_MAIN_ACTION_PTR
},
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 95,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 3,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 5, wh_plus, table: int_full_act_record_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_VFR_CFA_ACTION,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
.direction = TF_DIR_TX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 258,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_WR_GLB_REGFILE,
.tbl_operand = BNXT_ULP_GLB_REGFILE_INDEX_GLB_LB_AREC_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_NOP
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 108,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 3,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 6, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 121,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_1,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 1,
.key_start_idx = 124,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 6, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 167,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 6, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 178,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 7, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 189,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 5,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 7, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 202,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_1,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 1,
.key_start_idx = 205,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 7,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 7, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 248,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 7,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 7, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 259,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 7,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 8, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 270,
.blob_key_bit_size = 8,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 271,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 8,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 8, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 284,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 287,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 9,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 8, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 330,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 9,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 8, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 341,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 9,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 9, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 352,
.blob_key_bit_size = 8,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 353,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 10,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 9, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 366,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 369,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 11,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 9, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 412,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 11,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 9, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 423,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 11,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 10, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 434,
.blob_key_bit_size = 8,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 435,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 12,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 10, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 448,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 451,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 13,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 10, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 494,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 13,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 10, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 505,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 13,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 11, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 516,
.blob_key_bit_size = 8,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 517,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 14,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 11, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 530,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 533,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 11, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 576,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 11, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 587,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 12, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 598,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 15,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 12, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 611,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 614,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 12, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 657,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 12, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 668,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 13, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 679,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 17,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 13, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 692,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 695,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 13, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 738,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 13, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 749,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 14, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 760,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 19,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 14, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 773,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 776,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 14, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 819,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 14, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 830,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 15, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 841,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 21,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 15, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 854,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 857,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 15, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 900,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 15, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 911,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 16, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 922,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 23,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 16, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 935,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 938,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 16, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 981,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 16, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 992,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 17, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1003,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 25,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 17, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 1016,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1019,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 17, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 1062,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 17, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 1073,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 18, wh_plus, table: int_flow_counter_tbl_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_ACT_STATS_64,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT_ACC,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_INT_COUNT_ACC,
.cond_opcode = BNXT_ULP_COND_OPC_ACTION_BIT_IS_SET,
.cond_operand = BNXT_ULP_ACTION_BIT_COUNT,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
.result_start_idx = 768,
.result_bit_size = 64,
.result_num_fields = 1,
.encap_num_fields = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_FLOW_CNTR_PTR_0
},
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1084,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 27,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 18, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 1097,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1100,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 30,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 18, wh_plus, table: wm_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_WC_TCAM,
.direction = TF_DIR_RX,
- .srch_b4_alloc = BNXT_ULP_SEARCH_BEFORE_ALLOC_NO,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1143,
.blob_key_bit_size = 192,
.key_bit_size = 160,
.encap_num_fields = 0,
.ident_start_idx = 30,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 19, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1148,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 30,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 19, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_RX,
.key_start_idx = 1161,
.blob_key_bit_size = 16,
.direction = TF_DIR_RX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1164,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 33,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 19, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_RX,
.key_start_idx = 1207,
.blob_key_bit_size = 112,
.encap_num_fields = 0,
.ident_start_idx = 33,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 19, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_RX,
.key_start_idx = 1215,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 33,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 20, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1223,
.blob_key_bit_size = 8,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1224,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 34,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 20, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1237,
.blob_key_bit_size = 16,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1240,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 35,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 20, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1283,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 35,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 20, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1294,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 35,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 21, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1305,
.blob_key_bit_size = 8,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1306,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 36,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 21, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1319,
.blob_key_bit_size = 16,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1322,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 37,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 21, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1365,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 37,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 21, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1376,
.blob_key_bit_size = 200,
.encap_num_fields = 0,
.ident_start_idx = 37,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 22, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1387,
.blob_key_bit_size = 8,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1388,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 38,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 22, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1401,
.blob_key_bit_size = 16,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1404,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 39,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 22, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1447,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 39,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 22, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1458,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 39,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 23, wh_plus, table: l2_cntxt_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_LOW,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_L2_CNTXT_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1469,
.blob_key_bit_size = 8,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1470,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 40,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 23, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1483,
.blob_key_bit_size = 16,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1486,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 23, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1529,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 23, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1540,
.blob_key_bit_size = 392,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_SET_IF_MARK_ACTION,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 24, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1551,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 41,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 24, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1564,
.blob_key_bit_size = 16,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1567,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 24, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1610,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 24, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1617,
.blob_key_bit_size = 104,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 25, wh_plus, table: l2_cntxt_tcam_0 */
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_SRCH_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_L2_CNTXT_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1624,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.encap_num_fields = 0,
.ident_start_idx = 43,
.ident_nums = 1,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 25, wh_plus, table: profile_tcam_cache_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INVALID,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_CACHE_TYPE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
.direction = TF_DIR_TX,
.key_start_idx = 1637,
.blob_key_bit_size = 16,
.direction = TF_DIR_TX,
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_REGFILE_INDEX_PROFILE_TCAM_INDEX_0,
- .priority = BNXT_ULP_PRIORITY_LEVEL_0,
+ .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
+ .pri_operand = 0,
.key_start_idx = 1640,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.encap_num_fields = 0,
.ident_start_idx = 45,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO
},
{ /* class_tid: 25, wh_plus, table: ext_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_EXT_EM_TABLE,
.resource_type = TF_MEM_EXTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_EXT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_EXT,
.direction = TF_DIR_TX,
.key_start_idx = 1683,
.blob_key_bit_size = 448,
.encap_num_fields = 0,
.ident_start_idx = 45,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
},
{ /* class_tid: 25, wh_plus, table: int_em_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INT_EM_TABLE,
.resource_type = TF_MEM_INTERNAL,
- .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPCODE_EXECUTE_IF_INT,
+ .mem_type_opcode = BNXT_ULP_MEM_TYPE_OPC_EXECUTE_IF_INT,
.direction = TF_DIR_TX,
.key_start_idx = 1690,
.blob_key_bit_size = 104,
.encap_num_fields = 0,
.ident_start_idx = 45,
.ident_nums = 0,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPCODE_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES
}
};
uint32_t cond_nums;
};
-struct ulp_template_device_tbls {
- struct bnxt_ulp_mapper_tbl_list_info *tmpl_list;
+struct bnxt_ulp_template_device_tbls {
+ struct bnxt_ulp_mapper_tmpl_info *tmpl_list;
struct bnxt_ulp_mapper_tbl_info *tbl_list;
struct bnxt_ulp_mapper_key_field_info *key_field_list;
struct bnxt_ulp_mapper_result_field_info *result_field_list;
uint64_t packet_count_mask;
uint32_t byte_count_shift;
uint32_t packet_count_shift;
- const struct ulp_template_device_tbls *dev_tbls;
+ const struct bnxt_ulp_template_device_tbls *dev_tbls;
};
/* Flow Mapper */
-struct bnxt_ulp_mapper_tbl_list_info {
+struct bnxt_ulp_mapper_tmpl_info {
uint32_t device_name;
uint32_t start_tbl_idx;
uint32_t num_tbls;
struct bnxt_ulp_mapper_cond_list_info execute_info;
enum bnxt_ulp_cond_opc cond_opcode;
uint32_t cond_operand;
- enum bnxt_ulp_mem_type_opcode mem_type_opcode;
+ enum bnxt_ulp_mem_type_opc mem_type_opcode;
uint8_t direction;
- uint32_t priority;
- enum bnxt_ulp_search_before_alloc srch_b4_alloc;
+ enum bnxt_ulp_pri_opc pri_opcode;
+ uint32_t pri_operand;
enum bnxt_ulp_critical_resource critical_resource;
/* Information for accessing the ulp_key_field_list */
uint32_t ident_start_idx;
uint16_t ident_nums;
- enum bnxt_ulp_mark_db_opcode mark_db_opcode;
- enum bnxt_ulp_index_opcode index_opcode;
- uint32_t index_operand;
+ enum bnxt_ulp_mark_db_opc mark_db_opcode;
/* Table opcode for table operations */
uint32_t tbl_opcode;