* All rights reserved.
*/
-/* date: Fri Feb 12 13:05:14 2021 */
+/* date: Sun Mar 14 12:41:59 2021 */
#include "ulp_template_db_enum.h"
#include "ulp_template_db_field.h"
/* Mapper templates for header class list */
struct bnxt_ulp_mapper_tmpl_info ulp_thor_class_tmpl_list[] = {
- /* class_tid: 1, thor, ingress */
- [1] = {
+ /* class_tid: 3, thor, ingress */
+ [3] = {
.device_name = BNXT_ULP_DEVICE_ID_THOR,
- .num_tbls = 11,
+ .num_tbls = 7,
.start_tbl_idx = 0,
.reject_info = {
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_FALSE,
.cond_start_idx = 0,
.cond_nums = 0 }
},
- /* class_tid: 2, thor, ingress */
- [2] = {
+ /* class_tid: 4, thor, egress */
+ [4] = {
.device_name = BNXT_ULP_DEVICE_ID_THOR,
- .num_tbls = 1,
- .start_tbl_idx = 11,
+ .num_tbls = 6,
+ .start_tbl_idx = 7,
.reject_info = {
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_FALSE,
- .cond_start_idx = 2,
+ .cond_start_idx = 1,
.cond_nums = 0 }
}
};
struct bnxt_ulp_mapper_tbl_info ulp_thor_class_tbl_list[] = {
- { /* class_tid: 1, thor, table: mac_addr_cache.rd */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_GENERIC_TABLE,
+ { /* class_tid: 3, thor, table: int_full_act_record.ing_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_GENERIC_TABLE_MAC_ADDR_CACHE,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
.execute_info = {
.cond_true_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
.cond_start_idx = 0,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
- .gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_HASH,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 0,
- .blob_key_bit_size = 56,
- .key_bit_size = 56,
- .key_num_fields = 2,
.result_start_idx = 0,
- .result_bit_size = 62,
- .result_num_fields = 4
+ .result_bit_size = 128,
+ .result_num_fields = 17
},
- { /* class_tid: 1, thor, table: control.0 */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_CTRL_TABLE,
+ { /* class_tid: 3, thor, table: parif_def_arec_ptr.ing_0 */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
+ .resource_type = TF_IF_TBL_TYPE_PROF_PARIF_DFLT_ACT_REC_PTR,
.direction = TF_DIR_RX,
.execute_info = {
.cond_true_goto = 1,
- .cond_false_goto = 3,
- .cond_list_opcode = BNXT_ULP_COND_LIST_OPC_OR,
+ .cond_false_goto = 1,
+ .cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
.cond_start_idx = 0,
- .cond_nums = 1 },
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
- .fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
- .fdb_operand = BNXT_ULP_RF_IDX_RID,
- .byte_order = BNXT_ULP_BYTE_ORDER_LE
+ .cond_nums = 0 },
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF,
+ .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
+ .byte_order = BNXT_ULP_BYTE_ORDER_LE,
+ .result_start_idx = 17,
+ .result_bit_size = 32,
+ .result_num_fields = 1
},
- { /* class_tid: 1, thor, table: l2_cntxt_tcam.0 */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
- .resource_type = TF_TCAM_TBL_TYPE_L2_CTXT_TCAM_HIGH,
+ { /* class_tid: 3, thor, table: parif_def_err_arec_ptr.ing_0 */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
+ .resource_type = TF_IF_TBL_TYPE_PROF_PARIF_ERR_ACT_REC_PTR,
.direction = TF_DIR_RX,
.execute_info = {
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 1,
+ .cond_start_idx = 0,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
- .tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
- .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_RID_REGFILE,
- .fdb_operand = BNXT_ULP_RF_IDX_RID,
- .pri_opcode = BNXT_ULP_PRI_OPC_CONST,
- .pri_operand = 0,
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF,
+ .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 2,
- .blob_key_bit_size = 213,
- .key_bit_size = 213,
- .key_num_fields = 21,
- .result_start_idx = 4,
- .result_bit_size = 43,
- .result_num_fields = 6,
- .ident_start_idx = 0,
- .ident_nums = 1
+ .result_start_idx = 18,
+ .result_bit_size = 32,
+ .result_num_fields = 1
},
- { /* class_tid: 1, thor, table: mac_addr_cache.wr */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_GENERIC_TABLE,
- .resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_MAC_ADDR_CACHE,
+ { /* class_tid: 3, thor, table: control.egr_1 */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_CTRL_TABLE,
.direction = TF_DIR_RX,
+ .execute_info = {
+ .cond_true_goto = 1,
+ .cond_false_goto = 0,
+ .cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
+ .cond_start_idx = 0,
+ .cond_nums = 1 },
+ .fdb_opcode = BNXT_ULP_FDB_OPC_NOP,
+ .byte_order = BNXT_ULP_BYTE_ORDER_LE
+ },
+ { /* class_tid: 3, thor, table: int_full_act_record.egr_vfr */
+ .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_TABLE_VFR_CFA_ACTION,
+ .direction = TF_DIR_TX,
.execute_info = {
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
.cond_start_idx = 1,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
- .gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_HASH,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 23,
- .blob_key_bit_size = 56,
- .key_bit_size = 56,
- .key_num_fields = 2,
- .result_start_idx = 10,
- .result_bit_size = 62,
- .result_num_fields = 4
+ .result_start_idx = 19,
+ .result_bit_size = 128,
+ .result_num_fields = 17,
+ .encap_num_fields = 0
},
- { /* class_tid: 1, thor, table: profile_tcam_cache.rd */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_GENERIC_TABLE,
- .resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
- .direction = TF_DIR_RX,
+ { /* class_tid: 3, thor, table: parif_def_arec_ptr.egr_0 */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
+ .resource_type = TF_IF_TBL_TYPE_PROF_PARIF_DFLT_ACT_REC_PTR,
+ .direction = TF_DIR_TX,
.execute_info = {
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
.cond_start_idx = 1,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
- .gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 25,
- .blob_key_bit_size = 14,
- .key_bit_size = 14,
- .key_num_fields = 3,
- .ident_start_idx = 1,
- .ident_nums = 5
- },
- { /* class_tid: 1, thor, table: control.1 */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_CTRL_TABLE,
- .direction = TF_DIR_RX,
+ .result_start_idx = 36,
+ .result_bit_size = 32,
+ .result_num_fields = 1
+ },
+ { /* class_tid: 3, thor, table: parif_def_err_arec_ptr.egr_0 */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
+ .resource_type = TF_IF_TBL_TYPE_PROF_PARIF_ERR_ACT_REC_PTR,
+ .direction = TF_DIR_TX,
.execute_info = {
- .cond_true_goto = 1,
- .cond_false_goto = 5,
- .cond_list_opcode = BNXT_ULP_COND_LIST_OPC_OR,
+ .cond_true_goto = 0,
+ .cond_false_goto = 0,
+ .cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
.cond_start_idx = 1,
- .cond_nums = 1 },
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
- .fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
- .fdb_operand = BNXT_ULP_RF_IDX_RID,
- .byte_order = BNXT_ULP_BYTE_ORDER_LE
+ .cond_nums = 0 },
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
+ .tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF,
+ .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
+ .byte_order = BNXT_ULP_BYTE_ORDER_LE,
+ .result_start_idx = 37,
+ .result_bit_size = 32,
+ .result_num_fields = 1
},
- { /* class_tid: 1, thor, table: fkb_select.wm */
+ { /* class_tid: 4, thor, table: int_full_act_record.loopback */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
- .resource_type = TF_TBL_TYPE_WC_FKB,
- .direction = TF_DIR_RX,
+ .resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
+ .resource_sub_type =
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
+ .direction = TF_DIR_TX,
.execute_info = {
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 2,
+ .cond_start_idx = 1,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
- .tbl_operand = BNXT_ULP_RF_IDX_WC_KEY_ID_0,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
- .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_RID_REGFILE,
- .fdb_operand = BNXT_ULP_RF_IDX_RID,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_GLB_REGFILE,
+ .tbl_operand = BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR,
+ .fdb_opcode = BNXT_ULP_FDB_OPC_NOP,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 14,
- .result_bit_size = 106,
- .result_num_fields = 106
+ .result_start_idx = 38,
+ .result_bit_size = 128,
+ .result_num_fields = 17,
+ .encap_num_fields = 0
},
- { /* class_tid: 1, thor, table: fkb_select.em */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
- .resource_type = TF_TBL_TYPE_EM_FKB,
- .direction = TF_DIR_RX,
+ { /* class_tid: 4, thor, table: parif_def_arec_ptr.vf_egr */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
+ .resource_type = TF_IF_TBL_TYPE_PROF_PARIF_DFLT_ACT_REC_PTR,
+ .direction = TF_DIR_TX,
.execute_info = {
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 2,
+ .cond_start_idx = 1,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
- .tbl_operand = BNXT_ULP_RF_IDX_EM_KEY_ID_0,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
- .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_RID_REGFILE,
- .fdb_operand = BNXT_ULP_RF_IDX_RID,
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
+ .tbl_operand = ULP_THOR_SYM_LOOPBACK_PARIF,
+ .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 120,
- .result_bit_size = 106,
- .result_num_fields = 106
- },
- { /* class_tid: 1, thor, table: profile_tcam.l3_l4 */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
- .resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
- .direction = TF_DIR_RX,
+ .result_start_idx = 55,
+ .result_bit_size = 32,
+ .result_num_fields = 1
+ },
+ { /* class_tid: 4, thor, table: parif_def_err_arec_ptr.vf_egr */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_IF_TABLE,
+ .resource_type = TF_IF_TBL_TYPE_PROF_PARIF_ERR_ACT_REC_PTR,
+ .direction = TF_DIR_TX,
.execute_info = {
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 2,
+ .cond_start_idx = 1,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
- .tbl_operand = BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
- .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_RID_REGFILE,
- .fdb_operand = BNXT_ULP_RF_IDX_RID,
- .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
- .critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
+ .tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
+ .tbl_operand = ULP_THOR_SYM_LOOPBACK_PARIF,
+ .fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 28,
- .blob_key_bit_size = 94,
- .key_bit_size = 94,
- .key_num_fields = 43,
- .result_start_idx = 226,
- .result_bit_size = 33,
- .result_num_fields = 8,
- .ident_start_idx = 6,
- .ident_nums = 2
+ .result_start_idx = 56,
+ .result_bit_size = 32,
+ .result_num_fields = 1
},
- { /* class_tid: 1, thor, table: profile_tcam_cache.wr */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_GENERIC_TABLE,
- .resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
+ { /* class_tid: 4, thor, table: int_full_act_record.vf_ing */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
+ .resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PROFILE_TCAM,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_NORMAL,
.direction = TF_DIR_RX,
.execute_info = {
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 2,
+ .cond_start_idx = 1,
.cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
- .gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
+ .mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_AND_SET_VFR_FLAG,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 71,
- .blob_key_bit_size = 14,
- .key_bit_size = 14,
- .key_num_fields = 3,
- .result_start_idx = 234,
- .result_bit_size = 82,
- .result_num_fields = 7
+ .result_start_idx = 57,
+ .result_bit_size = 128,
+ .result_num_fields = 17,
+ .encap_num_fields = 0
},
- { /* class_tid: 1, thor, table: em.ipv4 */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_EM_TABLE,
- .resource_type = TF_MEM_INTERNAL,
- .direction = TF_DIR_RX,
+ { /* class_tid: 4, thor, table: vtag_encap_record.vfr_egr0 */
+ .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_TABLE_NORMAL,
+ .direction = TF_DIR_TX,
.execute_info = {
- .cond_true_goto = 0,
- .cond_false_goto = 0,
+ .cond_true_goto = 1,
+ .cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 2,
+ .cond_start_idx = 1,
.cond_nums = 0 },
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
+ .tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
+ .tbl_operand = BNXT_ULP_RF_IDX_ENCAP_PTR_0,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
- .critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
- .byte_order = BNXT_ULP_BYTE_ORDER_BE,
- .key_start_idx = 74,
- .blob_key_bit_size = 0,
- .key_bit_size = 0,
- .key_num_fields = 114,
- .result_start_idx = 241,
+ .byte_order = BNXT_ULP_BYTE_ORDER_LE,
+ .result_start_idx = 74,
.result_bit_size = 0,
- .result_num_fields = 6
+ .result_num_fields = 0,
+ .encap_num_fields = 11
},
- { /* class_tid: 2, thor, table: int_full_act_record.0 */
+ { /* class_tid: 4, thor, table: int_full_act_record.vfr_egr0 */
.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_TABLE_NORMAL,
- .direction = TF_DIR_RX,
+ BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TABLE_VFR_CFA_ACTION,
+ .direction = TF_DIR_TX,
.execute_info = {
.cond_true_goto = 0,
.cond_false_goto = 0,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 2,
+ .cond_start_idx = 1,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
- .accept_opcode = BNXT_ULP_ACCEPT_OPC_ALWAYS,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 247,
+ .result_start_idx = 85,
.result_bit_size = 128,
.result_num_fields = 17
}
};
struct bnxt_ulp_mapper_cond_info ulp_thor_class_cond_list[] = {
- /* cond_execute: class_tid: 1, control.0 */
+ /* cond_execute: class_tid: 3, control.egr_1 */
{
- .cond_opcode = BNXT_ULP_COND_OPC_RF_IS_SET,
- .cond_operand = BNXT_ULP_RF_IDX_GENERIC_TBL_MISS
- },
- /* cond_execute: class_tid: 1, control.1 */
- {
- .cond_opcode = BNXT_ULP_COND_OPC_RF_IS_SET,
- .cond_operand = BNXT_ULP_RF_IDX_GENERIC_TBL_MISS
+ .cond_opcode = BNXT_ULP_COND_OPC_CF_NOT_SET,
+ .cond_operand = BNXT_ULP_CF_IDX_VFR_MODE
}
};
-struct bnxt_ulp_mapper_key_info ulp_thor_class_key_info_list[] = {
- /* class_tid: 1, thor, table: mac_addr_cache.rd */
- {
- .field_info_mask = {
- .description = "svif",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_SVIF_INDEX & 0xff}
- },
- .field_info_spec = {
- .description = "svif",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_SVIF_INDEX & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "mac_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
- },
- .field_info_spec = {
- .description = "mac_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
- }
- },
- /* class_tid: 1, thor, table: l2_cntxt_tcam.0 */
- {
- .field_info_mask = {
- .description = "etype",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "etype",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ivlan_tpid_sel",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l2_ivlan_tpid_sel",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ivlan_vid",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l2_ivlan_vid",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ovlan_tpid_sel",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l2_ovlan_tpid_sel",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ovlan_vid",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l2_ovlan_vid",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "two_vtags",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "two_vtags",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "vtag_present",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "vtag_present",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "mac1_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "mac1_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "mac0_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
- },
- .field_info_spec = {
- .description = "mac0_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "tunnel_id",
- .field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tunnel_id",
- .field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tun_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tun_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "llc",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "llc",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "roce",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "roce",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "metadata",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "metadata",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "svif",
- .field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_SVIF_INDEX & 0xff}
- },
- .field_info_spec = {
- .description = "svif",
- .field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_SVIF_INDEX & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "parif",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "parif",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "spif",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "spif",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "loopback",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "loopback",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "recycle_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "recycle_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "mpass_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "mpass_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- }
- },
- /* class_tid: 1, thor, table: mac_addr_cache.wr */
- {
- .field_info_mask = {
- .description = "svif",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_SVIF_INDEX & 0xff}
- },
- .field_info_spec = {
- .description = "svif",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_SVIF_INDEX & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "mac_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
- },
- .field_info_spec = {
- .description = "mac_addr",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
- }
- },
- /* class_tid: 1, thor, table: profile_tcam_cache.rd */
- {
- .field_info_mask = {
- .description = "recycle_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "recycle_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "prof_func_id",
- .field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "prof_func_id",
- .field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "hdr_sig_id",
- .field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "hdr_sig_id",
- .field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
- .field_opr1 = {
- (BNXT_ULP_CF_IDX_HDR_SIG_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_HDR_SIG_ID & 0xff}
- }
- },
- /* class_tid: 1, thor, table: profile_tcam.l3_l4 */
- {
- .field_info_mask = {
- .description = "l4_hdr_is_udp_tcp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l4_hdr_is_udp_tcp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l4_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 32) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 24) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
- (uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_THOR_SYM_L4_HDR_TYPE_TCP},
- .field_src2 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr2 = {
- ULP_THOR_SYM_L4_HDR_TYPE_UDP}
- }
- },
- {
- .field_info_mask = {
- .description = "l4_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l4_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_THOR_SYM_L4_HDR_VALID_YES}
- }
- },
- {
- .field_info_mask = {
- .description = "ieh",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "ieh",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ipv6_cmp_dst",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l3_ipv6_cmp_dst",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ipv6_cmp_src",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l3_ipv6_cmp_src",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l3_hdr_isIP",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l3_hdr_isIP",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l3_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
- ((uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 >> 56) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 >> 48) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 >> 40) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 >> 32) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 >> 24) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 >> 16) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 >> 8) & 0xff,
- (uint64_t)BNXT_ULP_HDR_BIT_O_IPV4 & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_THOR_SYM_L3_HDR_TYPE_IPV4},
- .field_src2 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr2 = {
- ULP_THOR_SYM_L3_HDR_TYPE_IPV6}
- }
- },
- {
- .field_info_mask = {
- .description = "l3_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l3_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_THOR_SYM_L3_HDR_VALID_YES}
- }
- },
- {
- .field_info_mask = {
- .description = "l2_two_vtags",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l2_two_vtags",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_vtag_present",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "l2_vtag_present",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_uc_mc_bc",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_uc_mc_bc",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_hdr_type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_hdr_type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "l2_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_THOR_SYM_L2_HDR_VALID_YES}
- }
- },
- {
- .field_info_mask = {
- .description = "tun_hdr_flags",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tun_hdr_flags",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tun_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tun_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tun_hdr_err",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tun_hdr_err",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tun_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tun_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_hdr_is_udp_tcp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl4_hdr_is_udp_tcp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl4_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl4_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ipv6_cmp_dst",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl3_ipv6_cmp_dst",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ipv6_cmp_src",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl3_ipv6_cmp_src",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_hdr_isIP",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl3_hdr_isIP",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl3_hdr_type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl3_hdr_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
- },
+struct bnxt_ulp_mapper_field_info ulp_thor_class_result_field_list[] = {
+ /* class_tid: 3, thor, table: int_full_act_record.ing_0 */
{
- .field_info_mask = {
- .description = "tl3_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "sp_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "tl2_two_vtags",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl2_two_vtags",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "encap_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "tl2_vtag_present",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl2_vtag_present",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "mod_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "tl2_uc_mc_bc",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl2_uc_mc_bc",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "rsvd1",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "tl2_hdr_type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "tl2_hdr_type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "rsvd0",
+ .field_bit_size = 8,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "tl2_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_hdr_valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "decap_func",
+ .field_bit_size = 5,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "hrec_next",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "hrec_next",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "meter",
+ .field_bit_size = 10,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "prof_func_id",
- .field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "prof_func_id",
- .field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff}
- }
+ .description = "stats_op",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "agg_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "agg_error",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "stats_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "metadata",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "metadata",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "vnic_or_vport",
+ .field_bit_size = 11,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
+ (BNXT_ULP_CF_IDX_DRV_FUNC_VNIC >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_DRV_FUNC_VNIC & 0xff}
},
{
- .field_info_mask = {
- .description = "pkt_type_0",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- .field_info_spec = {
- .description = "pkt_type_0",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "use_default",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "pkt_type_1",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "pkt_type_1",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "mirror",
+ .field_bit_size = 4,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "valid",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- }
+ .description = "cond_copy",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
- /* class_tid: 1, thor, table: profile_tcam_cache.wr */
{
- .field_info_mask = {
- .description = "recycle_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "recycle_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- }
+ .description = "vlan_del_rpt",
+ .field_bit_size = 2,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "prof_func_id",
- .field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "prof_func_id",
- .field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff}
- }
+ .description = "drop",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .field_info_mask = {
- .description = "hdr_sig_id",
- .field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "hdr_sig_id",
- .field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
- .field_opr1 = {
- (BNXT_ULP_CF_IDX_HDR_SIG_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_HDR_SIG_ID & 0xff}
- }
+ .description = "hit",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
- /* class_tid: 1, thor, table: em.ipv4 */
{
- .field_info_mask = {
- .description = "em_profile_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "em_profile_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "l2_cntxt_id",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_cntxt_id",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "parif",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "parif",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "spif",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "spif",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "svif",
- .field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "svif",
- .field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "lcos",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "lcos",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "meta",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "meta",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "rcyc_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "rcyc_cnt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "loopback",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "loopback",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_l2type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_l2type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_dmac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_dmac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_smac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_smac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_dt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_dt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_sa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_sa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_nvt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_nvt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ovp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ovp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ovd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ovd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ovv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ovv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ovt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ovt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ivp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ivp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ivd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ivd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ivv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ivv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_ivt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_ivt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl2_etype",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl2_etype",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_l3type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_l3type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_sip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_sip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_sip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_sip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_sip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_sip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_dip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_dip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_dip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_dip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_dip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_dip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ttl",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ttl",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_prot",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_prot",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_fid.ipv4",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_fid.ipv4",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_fid.ipv6",
- .field_bit_size = 20,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_fid.ipv6",
- .field_bit_size = 20,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_qos",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_qos",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_nonext",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_nonext",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_esp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_esp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_auth",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_auth",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_dest",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_dest",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_rthdr",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_rthdr",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_hop",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_hop",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_ieh_1frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_ieh_1frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_df",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_df",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl3_l3err",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl3_l3err",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_l4type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_l4type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_src",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_src",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_dst",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_dst",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_flags",
- .field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_flags",
- .field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_seq",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_seq",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_pa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_pa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_opt",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_opt",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_tcpts",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_tcpts",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tl4_err",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tl4_err",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tuntype",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tuntype",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tflags",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tflags",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tids",
- .field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tids",
- .field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tid",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tid",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tctxts",
- .field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tctxts",
- .field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tctxt",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "tctxt",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "tqos",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "tqos",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "terr",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "terr",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_l2type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_l2type",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_dmac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_dmac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_smac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_smac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_dt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_dt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_sa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_sa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_nvt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_nvt",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ovp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ovp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ovd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ovd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ovv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ovv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ovt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ovt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ivp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ivp",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ivd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ivd",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ivv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ivv",
- .field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_ivt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_ivt",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l2_etype",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l2_etype",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_l3type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_l3type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_sip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
- },
- .field_info_spec = {
- .description = "l3_sip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "l3_sip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_sip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_sip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_sip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_dip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
- },
- .field_info_spec = {
- .description = "l3_dip.ipv4",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "l3_dip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_dip.ipv6",
- .field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_dip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_dip_selcmp.ipv6",
- .field_bit_size = 72,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ttl",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ttl",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_prot",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_prot",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 32) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 24) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
- (uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_THOR_SYM_IP_PROTO_TCP},
- .field_src2 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr2 = {
- ULP_THOR_SYM_IP_PROTO_UDP}
- }
- },
- {
- .field_info_mask = {
- .description = "l3_fid.ipv4",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_fid.ipv4",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_fid.ipv6",
- .field_bit_size = 20,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_fid.ipv6",
- .field_bit_size = 20,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_qos",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_qos",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_nonext",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_nonext",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_esp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_esp",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_auth",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_auth",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_dest",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_dest",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_rthdr",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_rthdr",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_hop",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_hop",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_ieh_1frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_ieh_1frag",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_df",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_df",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_l3err.ipv4",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_l3err.ipv4",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l3_l3err.ipv6",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l3_l3err.ipv6",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_l4type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_l4type",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_src",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 32) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 24) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
- (uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr2 = {
- (BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT & 0xff}
- },
- .field_info_spec = {
- .description = "l4_src",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 32) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 24) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
- (uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr2 = {
- (BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "l4_dst",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 32) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 24) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
- (uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr2 = {
- (BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT & 0xff}
- },
- .field_info_spec = {
- .description = "l4_dst",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 32) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 24) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
- ((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
- (uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
- (BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr2 = {
- (BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT & 0xff}
- }
- },
- {
- .field_info_mask = {
- .description = "l4_flags",
- .field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_flags",
- .field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_seq",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_seq",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_ack",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_ack",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_win",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_win",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_pa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_pa",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_opt",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_opt",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_tcpts",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_tcpts",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_tsval",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_tsval",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_txecr",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff,
- 0xff,
- 0xff,
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_txecr",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- },
- {
- .field_info_mask = {
- .description = "l4_err",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "l4_err",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_SKIP
- }
- }
-};
-
-struct bnxt_ulp_mapper_field_info ulp_thor_class_result_field_list[] = {
- /* class_tid: 1, thor, table: mac_addr_cache.rd */
- {
- .description = "rid",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_cntxt_tcam_index",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_cntxt_id",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 & 0xff}
- },
- {
- .description = "src_property_ptr",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- /* class_tid: 1, thor, table: l2_cntxt_tcam.0 */
- {
- .description = "prof_func_id",
- .field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff}
- },
- {
- .description = "ctxt_meta_prof",
+ .description = "type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "def_ctxt_data",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (4 >> 8) & 0xff,
- 4 & 0xff}
- },
- {
- .description = "ctxt_opcode",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_THOR_SYM_CTXT_OPCODE_NORMAL_FLOW}
- },
- {
- .description = "l2_cntxt_id",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 & 0xff}
- },
- {
- .description = "parif",
- .field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- /* class_tid: 1, thor, table: mac_addr_cache.wr */
- {
- .description = "rid",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
- BNXT_ULP_RF_IDX_RID & 0xff}
- },
- {
- .description = "l2_cntxt_tcam_index",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 & 0xff}
- },
- {
- .description = "l2_cntxt_id",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 & 0xff}
- },
- {
- .description = "src_property_ptr",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- /* class_tid: 1, thor, table: fkb_select.wm */
- {
- .description = "l2_cntxt_id.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- },
- {
- .description = "parif.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "spif.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "svif.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "lcos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "meta.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "rcyc_cnt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "loopback.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_l2type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_dmac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_smac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_dt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_sa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_nvt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovd.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovv.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivd.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivv.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_etype.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_l3type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_sip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_sip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_dip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_dip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ttl.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_prot.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_fid.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_qos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_nonext.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_esp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_auth.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_dest.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_frag.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_rthdr.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_hop.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_1frag.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_df.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_l3err.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_l4type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_src.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_dst.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_flags.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_seq.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_pa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_opt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_tcpts.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_err.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tuntype.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tflags.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tids.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tid.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tctxts.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tctxt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tqos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "terr.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_l2type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_dmac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_smac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_dt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_sa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_nvt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ovp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ovd.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ovv.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ovt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ivp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ivd.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ivv.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_ivt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l2_etype.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_l3type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_sip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- },
- {
- .description = "l3_sip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_dip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- },
- {
- .description = "l3_dip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ttl.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_prot.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- },
- {
- .description = "l3_fid.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_qos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_nonext.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_esp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_auth.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_dest.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_frag.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_rthdr.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_hop.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_ieh_1frag.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_df.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l3_l3err.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_l4type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_src.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- },
- {
- .description = "l4_dst.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- },
- {
- .description = "l4_flags.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_seq.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_ack.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_win.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_pa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_opt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_tcpts.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_tsval.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_txecr.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "l4_err.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- /* class_tid: 1, thor, table: fkb_select.em */
- {
- .description = "l2_cntxt_id.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
- },
- {
- .description = "parif.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "spif.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "svif.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "lcos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "meta.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "rcyc_cnt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "loopback.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_l2type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_dmac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_smac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_dt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_sa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_nvt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovd.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovv.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ovt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivd.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivv.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_ivt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl2_etype.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_l3type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_sip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_sip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_dip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_dip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ttl.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_prot.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_fid.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_qos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_nonext.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_esp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_auth.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_dest.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_frag.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_rthdr.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_hop.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_ieh_1frag.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_df.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl3_l3err.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_l4type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_src.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_dst.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_flags.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_seq.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_pa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_opt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_tcpts.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tl4_err.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tuntype.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tflags.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tids.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tid.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tctxts.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "tctxt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ 1}
},
+ /* class_tid: 3, thor, table: parif_def_arec_ptr.ing_0 */
{
- .description = "tqos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .description = "act_rec_ptr",
+ .field_bit_size = 32,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_RF,
+ .field_opr1 = {
+ (BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
+ BNXT_ULP_RF_IDX_MAIN_ACTION_PTR & 0xff}
},
+ /* class_tid: 3, thor, table: parif_def_err_arec_ptr.ing_0 */
{
- .description = "terr.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .description = "act_rec_ptr",
+ .field_bit_size = 32,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_RF,
+ .field_opr1 = {
+ (BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
+ BNXT_ULP_RF_IDX_MAIN_ACTION_PTR & 0xff}
},
+ /* class_tid: 3, thor, table: int_full_act_record.egr_vfr */
{
- .description = "l2_l2type.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "sp_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_dmac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "encap_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_smac.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "mod_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_dt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "rsvd1",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_sa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "rsvd0",
+ .field_bit_size = 8,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_nvt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "decap_func",
+ .field_bit_size = 5,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_ovp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "meter",
+ .field_bit_size = 10,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_ovd.en",
+ .description = "stats_op",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_ovv.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "stats_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_ovt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .description = "vnic_or_vport",
+ .field_bit_size = 11,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
+ (BNXT_ULP_CF_IDX_PHY_PORT_VPORT >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_PHY_PORT_VPORT & 0xff}
},
{
- .description = "l2_ivp.en",
+ .description = "use_default",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_ivd.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "mirror",
+ .field_bit_size = 4,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_ivv.en",
+ .description = "cond_copy",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_ivt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "vlan_del_rpt",
+ .field_bit_size = 2,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l2_etype.en",
+ .description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_l3type.en",
+ .description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_sip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "type",
+ .field_bit_size = 3,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
},
+ /* class_tid: 3, thor, table: parif_def_arec_ptr.egr_0 */
{
- .description = "l3_sip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .description = "act_rec_ptr",
+ .field_bit_size = 32,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_RF,
+ .field_opr1 = {
+ (BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
+ BNXT_ULP_RF_IDX_MAIN_ACTION_PTR & 0xff}
},
+ /* class_tid: 3, thor, table: parif_def_err_arec_ptr.egr_0 */
{
- .description = "l3_dip.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .description = "act_rec_ptr",
+ .field_bit_size = 32,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
- 1}
+ (BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
+ BNXT_ULP_RF_IDX_MAIN_ACTION_PTR & 0xff}
},
+ /* class_tid: 4, thor, table: int_full_act_record.loopback */
{
- .description = "l3_dip_selcmp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "sp_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ttl.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "encap_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_prot.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
+ .description = "mod_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_fid.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "rsvd1",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_qos.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "rsvd0",
+ .field_bit_size = 8,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ieh_nonext.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "decap_func",
+ .field_bit_size = 5,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ieh_esp.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "meter",
+ .field_bit_size = 10,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ieh_auth.en",
+ .description = "stats_op",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ieh_dest.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "stats_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ieh_frag.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .description = "vnic_or_vport",
+ .field_bit_size = 11,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ (ULP_THOR_SYM_LOOPBACK_PORT >> 8) & 0xff,
+ ULP_THOR_SYM_LOOPBACK_PORT & 0xff}
},
{
- .description = "l3_ieh_rthdr.en",
+ .description = "use_default",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ieh_hop.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "mirror",
+ .field_bit_size = 4,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_ieh_1frag.en",
+ .description = "cond_copy",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_df.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "vlan_del_rpt",
+ .field_bit_size = 2,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l3_l3err.en",
+ .description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_l4type.en",
+ .description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_src.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "type",
+ .field_bit_size = 3,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
},
+ /* class_tid: 4, thor, table: parif_def_arec_ptr.vf_egr */
{
- .description = "l4_dst.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .description = "act_rec_ptr",
+ .field_bit_size = 32,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
- 1}
+ (BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR & 0xff}
},
+ /* class_tid: 4, thor, table: parif_def_err_arec_ptr.vf_egr */
{
- .description = "l4_flags.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .description = "act_rec_ptr",
+ .field_bit_size = 32,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr1 = {
+ (BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR & 0xff}
},
+ /* class_tid: 4, thor, table: int_full_act_record.vf_ing */
{
- .description = "l4_seq.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "sp_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_ack.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "encap_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_win.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "mod_rec_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_pa.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "rsvd1",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_opt.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "rsvd0",
+ .field_bit_size = 8,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_tcpts.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "decap_func",
+ .field_bit_size = 5,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_tsval.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "meter",
+ .field_bit_size = 10,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_txecr.en",
+ .description = "stats_op",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "l4_err.en",
- .field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "stats_ptr",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
- /* class_tid: 1, thor, table: profile_tcam.l3_l4 */
{
- .description = "wc_key_id",
- .field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "vnic_or_vport",
+ .field_bit_size = 11,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
+ (BNXT_ULP_CF_IDX_DRV_FUNC_VNIC >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_DRV_FUNC_VNIC & 0xff}
+ },
+ {
+ .description = "use_default",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "wc_profile_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "mirror",
+ .field_bit_size = 4,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "wc_search_en",
+ .description = "cond_copy",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "em_key_type",
+ .description = "vlan_del_rpt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "em_key_id",
- .field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_EM_KEY_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_EM_KEY_ID_0 & 0xff}
- },
- {
- .description = "em_profile_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 & 0xff}
- },
- {
- .description = "em_search_en",
+ .description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 1}
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "pl_byp_lkup_en",
+ .description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
- /* class_tid: 1, thor, table: profile_tcam_cache.wr */
{
- .description = "rid",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
+ .description = "type",
+ .field_bit_size = 3,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
- (BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
- BNXT_ULP_RF_IDX_RID & 0xff}
+ 1}
},
+ /* class_tid: 4, thor, table: vtag_encap_record.vfr_egr0 */
{
- .description = "profile_tcam_index",
- .field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0 & 0xff}
+ .description = "ecv_tun_type",
+ .field_bit_size = 3,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "em_profile_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 & 0xff}
+ .description = "ecv_l4_type",
+ .field_bit_size = 3,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "em_key_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_EM_KEY_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_EM_KEY_ID_0 & 0xff}
+ .description = "ecv_l3_type",
+ .field_bit_size = 3,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "wc_profile_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_WC_PROFILE_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_WC_PROFILE_ID_0 & 0xff}
+ .description = "ecv_l2_en",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "wc_key_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
+ .description = "ecv_vtag_type",
+ .field_bit_size = 4,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
- (BNXT_ULP_RF_IDX_WC_KEY_ID_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_WC_KEY_ID_0 & 0xff}
+ ULP_THOR_SYM_ECV_VTAG_TYPE_ADD_1_ENCAP_PRI}
},
{
- .description = "flow_sig_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
- .field_opr1 = {
- (BNXT_ULP_CF_IDX_FLOW_SIG_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_FLOW_SIG_ID & 0xff}
+ .description = "rsrvd",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
- /* class_tid: 1, thor, table: em.ipv4 */
{
- .description = "valid",
+ .description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
},
{
- .description = "strength",
- .field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "vtag_tpid",
+ .field_bit_size = 16,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
- 3}
+ 0x81,
+ 0x00}
},
{
- .description = "arec_ptr_or_md",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
+ .description = "vtag_vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
- BNXT_ULP_RF_IDX_MAIN_ACTION_PTR & 0xff}
+ (BNXT_ULP_CF_IDX_DEV_PORT_ID >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_DEV_PORT_ID & 0xff}
},
{
- .description = "opcode",
- .field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .description = "vtag_de",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "meta_prof",
+ .description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "ctxt_data",
- .field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr1 = {
+ (BNXT_ULP_ACT_PROP_IDX_SET_VLAN_PCP >> 8) & 0xff,
+ BNXT_ULP_ACT_PROP_IDX_SET_VLAN_PCP & 0xff}
},
- /* class_tid: 2, thor, table: int_full_act_record.0 */
+ /* class_tid: 4, thor, table: int_full_act_record.vfr_egr0 */
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_RF,
+ .field_opr1 = {
+ (BNXT_ULP_RF_IDX_ENCAP_PTR_0 >> 8) & 0xff,
+ BNXT_ULP_RF_IDX_ENCAP_PTR_0 & 0xff}
},
{
.description = "mod_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rsvd1",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rsvd0",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "stats_op",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "stats_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_DRV_FUNC_VNIC >> 8) & 0xff,
- BNXT_ULP_CF_IDX_DRV_FUNC_VNIC & 0xff}
+ (ULP_THOR_SYM_LOOPBACK_PORT >> 8) & 0xff,
+ ULP_THOR_SYM_LOOPBACK_PORT & 0xff}
},
{
.description = "use_default",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "cnd_copy",
+ .description = "cond_copy",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
- .description = "vlan_dlt_rpt",
+ .description = "vlan_del_rpt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
}
};
+struct
+bnxt_ulp_mapper_key_info ulp_thor_class_key_info_list[] = {
+};
+
struct bnxt_ulp_mapper_ident_info ulp_thor_class_ident_list[] = {
- /* class_tid: 1, thor, table: l2_cntxt_tcam.0 */
- {
- .description = "l2_cntxt_id",
- .resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,
- .ident_type = TF_IDENT_TYPE_L2_CTXT_HIGH,
- .regfile_idx = BNXT_ULP_RF_IDX_L2_CNTXT_ID_0,
- .ident_bit_size = 10,
- .ident_bit_pos = 29
- },
- /* class_tid: 1, thor, table: profile_tcam_cache.rd */
- {
- .description = "em_key_id",
- .regfile_idx = BNXT_ULP_RF_IDX_EM_KEY_ID_0,
- .ident_bit_size = 8,
- .ident_bit_pos = 50
- },
- {
- .description = "em_profile_id",
- .regfile_idx = BNXT_ULP_RF_IDX_EM_PROFILE_ID_0,
- .ident_bit_size = 8,
- .ident_bit_pos = 42
- },
- {
- .description = "flow_sig_id",
- .regfile_idx = BNXT_ULP_RF_IDX_FLOW_SIG_ID,
- .ident_bit_size = 8,
- .ident_bit_pos = 74
- },
- {
- .description = "wc_key_id",
- .regfile_idx = BNXT_ULP_RF_IDX_WC_KEY_ID_0,
- .ident_bit_size = 8,
- .ident_bit_pos = 66
- },
- {
- .description = "wc_profile_id",
- .regfile_idx = BNXT_ULP_RF_IDX_WC_PROFILE_ID_0,
- .ident_bit_size = 8,
- .ident_bit_pos = 58
- },
- /* class_tid: 1, thor, table: profile_tcam.l3_l4 */
- {
- .description = "wc_profile_id",
- .resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,
- .ident_type = TF_IDENT_TYPE_WC_PROF,
- .regfile_idx = BNXT_ULP_RF_IDX_WC_PROFILE_ID_0,
- .ident_bit_size = 8,
- .ident_bit_pos = 6
- },
- {
- .description = "em_profile_id",
- .resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,
- .ident_type = TF_IDENT_TYPE_EM_PROF,
- .regfile_idx = BNXT_ULP_RF_IDX_EM_PROFILE_ID_0,
- .ident_bit_size = 8,
- .ident_bit_pos = 23
- }
};
* All rights reserved.
*/
-/* date: Tue Jan 26 15:51:49 2021 */
+/* date: Sun Mar 14 12:41:59 2021 */
#include "ulp_template_db_enum.h"
#include "ulp_template_db_field.h"
.field_info_mask = {
.description = "shared_index",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "shared_index",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SHARED_HANDLE >> 8) & 0xff,
.field_info_mask = {
.description = "shared_index",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "shared_index",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MIRROR_PTR_0 >> 8) & 0xff,
{
.description = "count",
.field_bit_size = 64,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 1, wh_plus, table: int_vtag_encap_record.0 */
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_VTAG_TYPE_ADD_1_ENCAP_PRI}
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_PUSH_VLAN >> 8) & 0xff,
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_VLAN_VID >> 8) & 0xff,
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_VLAN_PCP >> 8) & 0xff,
{
.description = "spare",
.field_bit_size = 80,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 1, wh_plus, table: int_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ENCAP_PTR_0 >> 8) & 0xff,
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_DST_PTR_0 >> 8) & 0xff,
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_DST >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_DST & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_SRC_PTR_0 >> 8) & 0xff,
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_DECAP_FUNC_THRU_TUN},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_DECAP_FUNC_THRU_TUN},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_DECAP_FUNC_NONE}
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_POP_VLAN >> 56) & 0xff,
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SHARED_SAMPLE >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SHARED_SAMPLE >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SHARED_SAMPLE >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SHARED_SAMPLE >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SHARED_SAMPLE >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SHARED_SAMPLE & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_RF,
+ .field_opr2 = {
(BNXT_ULP_RF_IDX_MIRROR_ID_0 >> 8) & 0xff,
BNXT_ULP_RF_IDX_MIRROR_ID_0 & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_DROP >> 56) & 0xff,
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 1, wh_plus, table: ext_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "flow_cntr_ext",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_DST_PTR_0 >> 8) & 0xff,
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_DST >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_DST & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_SRC_PTR_0 >> 8) & 0xff,
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_VXLAN_DECAP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_DECAP_FUNC_THRU_TUN},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_DECAP_FUNC_THRU_TUN},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_DECAP_FUNC_NONE}
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_POP_VLAN >> 56) & 0xff,
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MIRROR_ID_0 >> 8) & 0xff,
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_DROP >> 56) & 0xff,
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L2_EN_YES}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 2, wh_plus, table: mirror_tbl.alloc */
{
.description = "act_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "copy",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ign_drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 2, wh_plus, table: int_flow_counter_tbl.0 */
{
.description = "count",
.field_bit_size = 64,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 2, wh_plus, table: int_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_SRC1_PLUS_CONST,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_MIRROR_PTR_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_MIRROR_PTR_0 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_PLUS_SRC2,
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
1}
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 2, wh_plus, table: ext_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "flow_cntr_ext",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_POP_VLAN >> 56) & 0xff,
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_SRC1_PLUS_CONST,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_MIRROR_PTR_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_MIRROR_PTR_0 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_PLUS_SRC2,
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
1}
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L2_EN_YES}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 2, wh_plus, table: mirror_tbl.wr */
{
.description = "act_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "copy",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ign_drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 2, wh_plus, table: shared_mirror_record.wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "mirror_id",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_SRC1_PLUS_CONST_POST,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_MIRROR_PTR_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_MIRROR_PTR_0 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_PLUS_SRC2_POST,
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
(1 >> 8) & 0xff,
{
.description = "count",
.field_bit_size = 64,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 3, wh_plus, table: act_modify_ipv4_src.0 */
{
.description = "ipv4_addr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_IPV4_SRC >> 8) & 0xff,
{
.description = "ipv4_addr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_IPV4_DST >> 8) & 0xff,
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L2_EN_YES}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 80,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 3, wh_plus, table: int_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_ENCAP_MAC_PTR >> 8) & 0xff,
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_DST_PTR_0 >> 8) & 0xff,
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_DST >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_DST & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_SRC_PTR_0 >> 8) & 0xff,
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_DECAP_FUNC_THRU_L2}
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 3, wh_plus, table: ext_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "flow_cntr_ext",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_ENCAP_MAC_PTR >> 8) & 0xff,
{
.description = "encap_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_DST_PTR_0 >> 8) & 0xff,
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_DST >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_DST & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_SRC_PTR_0 >> 8) & 0xff,
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_DECAP_FUNC_THRU_L2}
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L2_EN_YES}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 4, wh_plus, table: int_flow_counter_tbl.0 */
{
.description = "count",
.field_bit_size = 64,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 4, wh_plus, table: int_vtag_encap_record.0 */
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_VTAG_TYPE_ADD_1_ENCAP_PRI}
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_PUSH_VLAN >> 8) & 0xff,
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_VLAN_VID >> 8) & 0xff,
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_VLAN_PCP >> 8) & 0xff,
{
.description = "spare",
.field_bit_size = 80,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 4, wh_plus, table: int_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ENCAP_PTR_0 >> 8) & 0xff,
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_DROP >> 56) & 0xff,
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 4, wh_plus, table: ext_full_act_record.no_tag */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "flow_cntr_ext",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_DROP >> 56) & 0xff,
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L2_EN_YES}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 4, wh_plus, table: ext_full_act_record.one_tag */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "flow_cntr_ext",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_POP_VLAN >> 56) & 0xff,
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_DROP >> 56) & 0xff,
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_VTAG_TYPE_ADD_1_ENCAP_PRI}
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_PUSH_VLAN >> 8) & 0xff,
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_VLAN_VID >> 8) & 0xff,
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_VLAN_PCP >> 8) & 0xff,
{
.description = "spare",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 5, wh_plus, table: int_flow_counter_tbl.0 */
{
.description = "count",
.field_bit_size = 64,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 5, wh_plus, table: act_modify_ipv4_src.0 */
{
.description = "ipv4_addr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_IPV4_SRC >> 8) & 0xff,
{
.description = "ipv4_addr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_SET_IPV4_DST >> 8) & 0xff,
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L2_EN_YES}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 80,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 5, wh_plus, table: int_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_ENCAP_MAC_PTR >> 8) & 0xff,
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_DST_PTR_0 >> 8) & 0xff,
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_DST >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_DST & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_SRC_PTR_0 >> 8) & 0xff,
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_DECAP_FUNC_THRU_L2}
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 5, wh_plus, table: ext_full_act_record.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "flow_cntr_ext",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_ENCAP_MAC_PTR >> 8) & 0xff,
{
.description = "encap_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_DST_PTR_0 >> 8) & 0xff,
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_DST & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_DST >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_DST & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MODIFY_IPV4_SRC_PTR_0 >> 8) & 0xff,
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_ACT_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 56) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 48) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 40) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 16) & 0xff,
((uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC >> 8) & 0xff,
(uint64_t)BNXT_ULP_ACT_BIT_SET_TP_SRC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
- .field_opr1 = {
+ .field_src2 = BNXT_ULP_FIELD_SRC_ACT_PROP,
+ .field_opr2 = {
(BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC >> 8) & 0xff,
BNXT_ULP_ACT_PROP_IDX_SET_TP_SRC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_DEC_TTL >> 8) & 0xff,
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_ACT_T_DEC_TTL >> 8) & 0xff,
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_T_VXLAN & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_DECAP_FUNC_THRU_TL2},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_DECAP_FUNC_THRU_L2}
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L2_EN_YES}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 6, wh_plus, table: int_flow_counter_tbl.0 */
{
.description = "count",
.field_bit_size = 64,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 6, wh_plus, table: sp_smac_ipv4.0 */
{
.description = "smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_SMAC >> 8) & 0xff,
{
.description = "ipv4_src_addr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_IP_SRC >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 6, wh_plus, table: sp_smac_ipv6.0 */
{
.description = "smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_SMAC >> 8) & 0xff,
{
.description = "ipv6_src_addr",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_IP_SRC >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 6, wh_plus, table: int_tun_encap_record.0 */
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_TUN_TYPE_VXLAN}
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L4_TYPE_UDP_CSUM}
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_L3_TYPE >> 8) & 0xff,
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_TYPE >> 8) & 0xff,
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "encap_l2_dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_DMAC >> 8) & 0xff,
{
.description = "encap_vtag",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP_SZ,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG >> 8) & 0xff,
{
.description = "encap_ip",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP_SZ,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_IP >> 8) & 0xff,
{
.description = "encap_udp",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_UDP >> 8) & 0xff,
{
.description = "encap_tun",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP_SZ,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN >> 8) & 0xff,
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ENCAP_PTR_0 >> 8) & 0xff,
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* act_tid: 6, wh_plus, table: ext_full_act_record_vxlan.0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_FLOW_CNTR_PTR_0 >> 8) & 0xff,
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_BIT,
.field_opr1 = {
((uint64_t)BNXT_ULP_ACT_BIT_COUNT >> 56) & 0xff,
{
.description = "flow_cntr_ext",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_TUN_TYPE_VXLAN}
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_L4_TYPE_UDP_CSUM}
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_L3_TYPE >> 8) & 0xff,
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG_TYPE >> 8) & 0xff,
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "encap_l2_dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_L2_DMAC >> 8) & 0xff,
{
.description = "encap_vtag",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP_SZ,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_VTAG >> 8) & 0xff,
{
.description = "encap_ip",
.field_bit_size = 0,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP_SZ,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_IP >> 8) & 0xff,
{
.description = "encap_udp",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_UDP >> 8) & 0xff,
{
.description = "encap_tun",
.field_bit_size = 80,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ACT_PROP,
.field_opr1 = {
(BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN >> 8) & 0xff,
* All rights reserved.
*/
-/* date: Fri Jan 29 09:44:41 2021 */
+/* date: Mon Mar 15 10:26:20 2021 */
#include "ulp_template_db_enum.h"
#include "ulp_template_db_field.h"
/* class_tid: 2, wh_plus, egress */
[2] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
- .num_tbls = 14,
+ .num_tbls = 15,
.start_tbl_idx = 18,
.reject_info = {
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 23,
+ .cond_start_idx = 24,
.cond_nums = 1 }
},
/* class_tid: 3, wh_plus, ingress */
[3] = {
.device_name = BNXT_ULP_DEVICE_ID_WH_PLUS,
- .num_tbls = 23,
- .start_tbl_idx = 32,
+ .num_tbls = 22,
+ .start_tbl_idx = 33,
.reject_info = {
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_FALSE,
- .cond_start_idx = 33,
+ .cond_start_idx = 35,
.cond_nums = 0 }
},
/* class_tid: 4, wh_plus, egress */
.start_tbl_idx = 55,
.reject_info = {
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_FALSE,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 0 }
}
};
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
.key_start_idx = 1,
- .blob_key_bit_size = 56,
- .key_bit_size = 56,
- .key_num_fields = 2,
+ .blob_key_bit_size = 70,
+ .key_bit_size = 70,
+ .key_num_fields = 5,
.ident_start_idx = 1,
.ident_nums = 1
},
.pri_opcode = BNXT_ULP_PRI_OPC_CONST,
.pri_operand = 0,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 3,
+ .key_start_idx = 6,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_HASH,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 16,
- .blob_key_bit_size = 56,
- .key_bit_size = 56,
- .key_num_fields = 2,
+ .key_start_idx = 19,
+ .blob_key_bit_size = 70,
+ .key_bit_size = 70,
+ .key_num_fields = 5,
.result_start_idx = 13,
.result_bit_size = 62,
.result_num_fields = 4
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 18,
+ .key_start_idx = 24,
.blob_key_bit_size = 14,
.key_bit_size = 14,
.key_num_fields = 3,
.cc_opc = BNXT_ULP_CC_UPD_OPC_EQ,
.cc_src1 = BNXT_ULP_CC_UPD_SRC_REGFILE,
.cc_opr1 = BNXT_ULP_RF_IDX_FLOW_SIG_ID,
- .cc_src2 = BNXT_ULP_CC_UPD_SRC_COMP_FIELD,
- .cc_opr2 = BNXT_ULP_CF_IDX_FLOW_SIG_ID,
+ .cc_src2 = BNXT_ULP_CC_UPD_SRC_REGFILE,
+ .cc_opr2 = BNXT_ULP_RF_IDX_CF_FLOW_SIG_ID,
.cc_dst_opr = BNXT_ULP_RF_IDX_CC },
.byte_order = BNXT_ULP_BYTE_ORDER_LE
},
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 21,
+ .key_start_idx = 27,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.key_num_fields = 43,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 64,
+ .key_start_idx = 70,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.key_num_fields = 43,
.ident_start_idx = 7,
.ident_nums = 1
},
- { /* class_tid: 1, wh_plus, table: profile_tcam.vxlan */
+ { /* class_tid: 1, wh_plus, table: profile_tcam.ipv4_vxlan */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.direction = TF_DIR_RX,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
.cond_start_idx = 9,
- .cond_nums = 1 },
+ .cond_nums = 2 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_RID_REGFILE,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 107,
+ .key_start_idx = 113,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.key_num_fields = 43,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 10,
+ .cond_start_idx = 11,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 150,
+ .key_start_idx = 156,
.blob_key_bit_size = 14,
.key_bit_size = 14,
.key_num_fields = 3,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 10,
+ .cond_start_idx = 11,
.cond_nums = 3 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 153,
+ .key_start_idx = 159,
.blob_key_bit_size = 176,
.key_bit_size = 176,
.key_num_fields = 10,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 13,
+ .cond_start_idx = 14,
.cond_nums = 3 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 163,
+ .key_start_idx = 169,
.blob_key_bit_size = 448,
.key_bit_size = 448,
.key_num_fields = 10,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 16,
+ .cond_start_idx = 17,
.cond_nums = 3 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 173,
+ .key_start_idx = 179,
.blob_key_bit_size = 416,
.key_bit_size = 416,
.key_num_fields = 11,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 19,
+ .cond_start_idx = 20,
.cond_nums = 3 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 184,
+ .key_start_idx = 190,
.blob_key_bit_size = 448,
.key_bit_size = 448,
.key_num_fields = 11,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 22,
+ .cond_start_idx = 23,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 195,
+ .key_start_idx = 201,
.blob_key_bit_size = 200,
.key_bit_size = 200,
.key_num_fields = 11,
.cond_true_goto = 0,
.cond_false_goto = 0,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 23,
+ .cond_start_idx = 24,
.cond_nums = 0 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 206,
+ .key_start_idx = 212,
.blob_key_bit_size = 448,
.key_bit_size = 448,
.key_num_fields = 11,
.cond_true_goto = 5,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 24,
+ .cond_start_idx = 25,
.cond_nums = 1 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 217,
+ .key_start_idx = 223,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 25,
+ .cond_start_idx = 26,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_HASH,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 218,
- .blob_key_bit_size = 56,
- .key_bit_size = 56,
- .key_num_fields = 2,
+ .key_start_idx = 224,
+ .blob_key_bit_size = 70,
+ .key_bit_size = 70,
+ .key_num_fields = 5,
.ident_start_idx = 10,
.ident_nums = 1
},
.cond_true_goto = 1,
.cond_false_goto = 3,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 25,
+ .cond_start_idx = 26,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
.fdb_operand = BNXT_ULP_RF_IDX_RID,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 26,
+ .cond_start_idx = 27,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.pri_opcode = BNXT_ULP_PRI_OPC_CONST,
.pri_operand = 0,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 220,
+ .key_start_idx = 229,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 26,
+ .cond_start_idx = 27,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_HASH,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 233,
- .blob_key_bit_size = 56,
- .key_bit_size = 56,
- .key_num_fields = 2,
+ .key_start_idx = 242,
+ .blob_key_bit_size = 70,
+ .key_bit_size = 70,
+ .key_num_fields = 5,
.result_start_idx = 140,
.result_bit_size = 62,
.result_num_fields = 4
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 26,
+ .cond_start_idx = 27,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 235,
+ .key_start_idx = 247,
.blob_key_bit_size = 14,
.key_bit_size = 14,
.key_num_fields = 3,
.ident_start_idx = 12,
.ident_nums = 3
},
- { /* class_tid: 2, wh_plus, table: control.1 */
+ { /* class_tid: 2, wh_plus, table: control.gen_tbl_miss */
.resource_func = BNXT_ULP_RESOURCE_FUNC_CTRL_TABLE,
.direction = TF_DIR_TX,
.execute_info = {
- .cond_true_goto = 1,
- .cond_false_goto = 4,
+ .cond_true_goto = 2,
+ .cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 26,
+ .cond_start_idx = 27,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
.fdb_operand = BNXT_ULP_RF_IDX_RID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE
},
+ { /* class_tid: 2, wh_plus, table: control.conflict_check */
+ .resource_func = BNXT_ULP_RESOURCE_FUNC_CTRL_TABLE,
+ .direction = TF_DIR_TX,
+ .execute_info = {
+ .cond_true_goto = 4,
+ .cond_false_goto = 1023,
+ .cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
+ .cond_start_idx = 28,
+ .cond_nums = 1 },
+ .fdb_opcode = BNXT_ULP_FDB_OPC_NOP,
+ .cc_upd_info = {
+ .cc_opc = BNXT_ULP_CC_UPD_OPC_EQ,
+ .cc_src1 = BNXT_ULP_CC_UPD_SRC_REGFILE,
+ .cc_opr1 = BNXT_ULP_RF_IDX_FLOW_SIG_ID,
+ .cc_src2 = BNXT_ULP_CC_UPD_SRC_COMP_FIELD,
+ .cc_opr2 = BNXT_ULP_CF_IDX_FLOW_SIG_ID,
+ .cc_dst_opr = BNXT_ULP_RF_IDX_CC },
+ .byte_order = BNXT_ULP_BYTE_ORDER_LE
+ },
{ /* class_tid: 2, wh_plus, table: profile_tcam.ipv4 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_TCAM_TABLE,
.resource_type = TF_TCAM_TBL_TYPE_PROF_TCAM,
.cond_true_goto = 2,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 27,
+ .cond_start_idx = 29,
.cond_nums = 1 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 238,
+ .key_start_idx = 250,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.key_num_fields = 43,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 28,
+ .cond_start_idx = 30,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 281,
+ .key_start_idx = 293,
.blob_key_bit_size = 81,
.key_bit_size = 81,
.key_num_fields = 43,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 28,
+ .cond_start_idx = 30,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 324,
+ .key_start_idx = 336,
.blob_key_bit_size = 14,
.key_bit_size = 14,
.key_num_fields = 3,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 28,
+ .cond_start_idx = 30,
.cond_nums = 2 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 327,
+ .key_start_idx = 339,
.blob_key_bit_size = 176,
.key_bit_size = 176,
.key_num_fields = 10,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 30,
+ .cond_start_idx = 32,
.cond_nums = 2 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 337,
+ .key_start_idx = 349,
.blob_key_bit_size = 448,
.key_bit_size = 448,
.key_num_fields = 10,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 32,
+ .cond_start_idx = 34,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 347,
+ .key_start_idx = 359,
.blob_key_bit_size = 416,
.key_bit_size = 416,
.key_num_fields = 11,
.cond_true_goto = 0,
.cond_false_goto = 0,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 33,
+ .cond_start_idx = 35,
.cond_nums = 0 },
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_IF_MARK_ACTION,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_YES,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 358,
+ .key_start_idx = 370,
.blob_key_bit_size = 448,
.key_bit_size = 448,
.key_num_fields = 11,
.result_bit_size = 64,
.result_num_fields = 9
},
- { /* class_tid: 3, wh_plus, table: port_table.wr */
- .resource_func = BNXT_ULP_RESOURCE_FUNC_GENERIC_TABLE,
- .resource_sub_type =
- BNXT_ULP_RESOURCE_SUB_TYPE_GENERIC_TABLE_PORT_TABLE,
- .direction = TF_DIR_RX,
- .execute_info = {
- .cond_true_goto = 1,
- .cond_false_goto = 1,
- .cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 33,
- .cond_nums = 0 },
- .tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
- .gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
- .fdb_opcode = BNXT_ULP_FDB_OPC_NOP,
- .byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 369,
- .blob_key_bit_size = 8,
- .key_bit_size = 8,
- .key_num_fields = 1,
- .result_start_idx = 219,
- .result_bit_size = 144,
- .result_num_fields = 4
- },
{ /* class_tid: 3, wh_plus, table: int_full_act_record.ing_0 */
.resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE,
.resource_type = TF_TBL_TYPE_FULL_ACT_RECORD,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 33,
+ .cond_start_idx = 35,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 223,
+ .result_start_idx = 219,
.result_bit_size = 128,
.result_num_fields = 26
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 33,
+ .cond_start_idx = 35,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 370,
+ .key_start_idx = 381,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
.cond_true_goto = 1,
.cond_false_goto = 3,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 33,
+ .cond_start_idx = 35,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
.fdb_operand = BNXT_ULP_RF_IDX_RID,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 34,
+ .cond_start_idx = 36,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 371,
+ .key_start_idx = 382,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 249,
+ .result_start_idx = 245,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 17,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 34,
+ .cond_start_idx = 36,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 384,
+ .key_start_idx = 395,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
- .result_start_idx = 262,
+ .result_start_idx = 258,
.result_bit_size = 62,
.result_num_fields = 4
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 34,
+ .cond_start_idx = 36,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
.tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 266,
+ .result_start_idx = 262,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 34,
+ .cond_start_idx = 36,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
.tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 267,
+ .result_start_idx = 263,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 34,
+ .cond_start_idx = 36,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
.tbl_operand = BNXT_ULP_CF_IDX_PHY_PORT_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 268,
+ .result_start_idx = 264,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 6,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 34,
+ .cond_start_idx = 36,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 35,
+ .cond_start_idx = 37,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 269,
+ .result_start_idx = 265,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 35,
+ .cond_start_idx = 37,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 385,
+ .key_start_idx = 396,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
.cond_true_goto = 1,
.cond_false_goto = 0,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 35,
+ .cond_start_idx = 37,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
.fdb_operand = BNXT_ULP_RF_IDX_RID,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 36,
+ .cond_start_idx = 38,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.pri_opcode = BNXT_ULP_PRI_OPC_CONST,
.pri_operand = 0,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 386,
+ .key_start_idx = 397,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 295,
+ .result_start_idx = 291,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 18,
.cond_true_goto = 0,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 36,
+ .cond_start_idx = 38,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 399,
+ .key_start_idx = 410,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
- .result_start_idx = 308,
+ .result_start_idx = 304,
.result_bit_size = 62,
.result_num_fields = 4
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 36,
+ .cond_start_idx = 38,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 400,
+ .key_start_idx = 411,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
.cond_true_goto = 1,
.cond_false_goto = 3,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 36,
+ .cond_start_idx = 38,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
.fdb_operand = BNXT_ULP_RF_IDX_RID,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 37,
+ .cond_start_idx = 39,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 401,
+ .key_start_idx = 412,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 312,
+ .result_start_idx = 308,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 18,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 37,
+ .cond_start_idx = 39,
.cond_nums = 2 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 414,
+ .key_start_idx = 425,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
- .result_start_idx = 325,
+ .result_start_idx = 321,
.result_bit_size = 62,
.result_num_fields = 4
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 329,
+ .result_start_idx = 325,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
.tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 355,
+ .result_start_idx = 351,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
.tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 356,
+ .result_start_idx = 352,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 0,
.cond_false_goto = 0,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_COMP_FIELD,
.tbl_operand = BNXT_ULP_CF_IDX_DRV_FUNC_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 357,
+ .result_start_idx = 353,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_GLB_REGFILE,
.tbl_operand = BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_NOP,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 358,
+ .result_start_idx = 354,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 415,
+ .key_start_idx = 426,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
.cond_true_goto = 1,
.cond_false_goto = 3,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 39,
+ .cond_start_idx = 41,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
.fdb_operand = BNXT_ULP_RF_IDX_RID,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.pri_opcode = BNXT_ULP_PRI_OPC_CONST,
.pri_operand = 0,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 416,
+ .key_start_idx = 427,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 384,
+ .result_start_idx = 380,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 19,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 429,
+ .key_start_idx = 440,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
- .result_start_idx = 397,
+ .result_start_idx = 393,
.result_bit_size = 62,
.result_num_fields = 4
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
.tbl_operand = ULP_WP_SYM_LOOPBACK_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 401,
+ .result_start_idx = 397,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
.tbl_operand = ULP_WP_SYM_LOOPBACK_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 402,
+ .result_start_idx = 398,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_IF_TBL_OPC_WR_CONST,
.tbl_operand = ULP_WP_SYM_LOOPBACK_PARIF,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 403,
+ .result_start_idx = 399,
.result_bit_size = 32,
.result_num_fields = 1
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_PUSH_AND_SET_VFR_FLAG,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 404,
+ .result_start_idx = 400,
.result_bit_size = 128,
.result_num_fields = 26,
.encap_num_fields = 0
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 430,
+ .key_start_idx = 441,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 430,
+ .result_start_idx = 426,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 20,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_READ,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 443,
+ .key_start_idx = 454,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
.cond_true_goto = 1,
.cond_false_goto = 3,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_AND,
- .cond_start_idx = 40,
+ .cond_start_idx = 42,
.cond_nums = 1 },
.fdb_opcode = BNXT_ULP_FDB_OPC_ALLOC_RID_REGFILE,
.fdb_operand = BNXT_ULP_RF_IDX_RID,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 41,
+ .cond_start_idx = 43,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.pri_opcode = BNXT_ULP_PRI_OPC_CONST,
.pri_operand = 0,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 444,
+ .key_start_idx = 455,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 443,
+ .result_start_idx = 439,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 20,
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 41,
+ .cond_start_idx = 43,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_GENERIC_TBL_OPC_WRITE,
.gen_tbl_lkup_type = BNXT_ULP_GENERIC_TBL_LKUP_TYPE_INDEX,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 457,
+ .key_start_idx = 468,
.blob_key_bit_size = 8,
.key_bit_size = 8,
.key_num_fields = 1,
- .result_start_idx = 456,
+ .result_start_idx = 452,
.result_bit_size = 62,
.result_num_fields = 4
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 41,
+ .cond_start_idx = 43,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_ENCAP_PTR_0,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 460,
+ .result_start_idx = 456,
.result_bit_size = 0,
.result_num_fields = 0,
.encap_num_fields = 12
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 41,
+ .cond_start_idx = 43,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 472,
+ .result_start_idx = 468,
.result_bit_size = 128,
.result_num_fields = 26
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 41,
+ .cond_start_idx = 43,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_INDEX_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_MAIN_ACTION_PTR,
.fdb_opcode = BNXT_ULP_FDB_OPC_PUSH_FID,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .result_start_idx = 498,
+ .result_start_idx = 494,
.result_bit_size = 128,
.result_num_fields = 26
},
.cond_true_goto = 1,
.cond_false_goto = 1,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 41,
+ .cond_start_idx = 43,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 458,
+ .key_start_idx = 469,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 524,
+ .result_start_idx = 520,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 20,
.cond_true_goto = 0,
.cond_false_goto = 0,
.cond_list_opcode = BNXT_ULP_COND_LIST_OPC_TRUE,
- .cond_start_idx = 41,
+ .cond_start_idx = 43,
.cond_nums = 0 },
.tbl_opcode = BNXT_ULP_TCAM_TBL_OPC_ALLOC_WR_REGFILE,
.tbl_operand = BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0,
.mark_db_opcode = BNXT_ULP_MARK_DB_OPC_NOP,
.critical_resource = BNXT_ULP_CRITICAL_RESOURCE_NO,
.byte_order = BNXT_ULP_BYTE_ORDER_LE,
- .key_start_idx = 471,
+ .key_start_idx = 482,
.blob_key_bit_size = 167,
.key_bit_size = 167,
.key_num_fields = 13,
- .result_start_idx = 537,
+ .result_start_idx = 533,
.result_bit_size = 64,
.result_num_fields = 13,
.ident_start_idx = 20,
.cond_opcode = BNXT_ULP_COND_OPC_HDR_BIT_NOT_SET,
.cond_operand = BNXT_ULP_HDR_BIT_T_VXLAN
},
- /* cond_execute: class_tid: 1, profile_tcam.vxlan */
+ /* cond_execute: class_tid: 1, profile_tcam.ipv4_vxlan */
{
.cond_opcode = BNXT_ULP_COND_OPC_HDR_BIT_IS_SET,
.cond_operand = BNXT_ULP_HDR_BIT_T_VXLAN
},
+ {
+ .cond_opcode = BNXT_ULP_COND_OPC_HDR_BIT_IS_SET,
+ .cond_operand = BNXT_ULP_HDR_BIT_O_IPV4
+ },
/* cond_execute: class_tid: 1, em.ipv4 */
{
.cond_opcode = BNXT_ULP_COND_OPC_EXT_MEM_NOT_SET,
.cond_opcode = BNXT_ULP_COND_OPC_RF_IS_SET,
.cond_operand = BNXT_ULP_RF_IDX_GENERIC_TBL_MISS
},
- /* cond_execute: class_tid: 2, control.1 */
+ /* cond_execute: class_tid: 2, control.gen_tbl_miss */
{
.cond_opcode = BNXT_ULP_COND_OPC_RF_IS_SET,
.cond_operand = BNXT_ULP_RF_IDX_GENERIC_TBL_MISS
},
+ /* cond_execute: class_tid: 2, control.conflict_check */
+ {
+ .cond_opcode = BNXT_ULP_COND_OPC_RF_IS_SET,
+ .cond_operand = BNXT_ULP_RF_IDX_CC
+ },
/* cond_execute: class_tid: 2, profile_tcam.ipv4 */
{
.cond_opcode = BNXT_ULP_COND_OPC_HDR_BIT_IS_SET,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
}
},
{
+ .field_info_mask = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff}
+ },
+ .field_info_spec = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_ONE_VTAG & 0xff}
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
.field_info_mask = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
.field_info_spec = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
(BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff}
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
(BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff}
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_VTAG_NUM >> 8) & 0xff,
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
}
},
{
+ .field_info_mask = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff}
+ },
+ .field_info_spec = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_ONE_VTAG & 0xff}
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
.field_info_mask = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
.field_info_spec = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_HDR_SIG_ID >> 8) & 0xff,
.field_info_mask = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4 & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src2 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_L4_HDR_TYPE_TCP},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_L4_HDR_TYPE_TCP},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_L4_HDR_TYPE_UDP}
}
},
.field_info_mask = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_mask = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L3_HDR_VALID_YES}
.field_info_mask = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
.field_info_mask = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L2_HDR_VALID_YES}
.field_info_mask = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4 & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src2 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_L4_HDR_TYPE_TCP},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_L4_HDR_TYPE_TCP},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_L4_HDR_TYPE_UDP}
}
},
.field_info_mask = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_mask = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L3_HDR_TYPE_IPV6}
.field_info_mask = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L3_HDR_VALID_YES}
.field_info_mask = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
.field_info_mask = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L2_HDR_VALID_YES}
.field_info_mask = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
}
},
- /* class_tid: 1, wh_plus, table: profile_tcam.vxlan */
+ /* class_tid: 1, wh_plus, table: profile_tcam.ipv4_vxlan */
{
.field_info_mask = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L4_HDR_TYPE_UDP}
.field_info_mask = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_TUN_HDR_VALID_YES}
.field_info_mask = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_TL4_HDR_VALID_YES}
.field_info_mask = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff}
},
.field_info_spec = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_TL3_HDR_VALID_YES}
.field_info_mask = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_TL2_HDR_VALID_YES}
.field_info_mask = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
.field_info_mask = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_HDR_SIG_ID >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
},
.field_info_spec = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 275,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 275,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
},
.field_info_spec = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
},
.field_info_spec = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 35,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 35,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
},
.field_info_spec = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff,
+ 0xff}
},
.field_info_spec = {
.description = "tl4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ (4789 >> 8) & 0xff,
+ 4789 & 0xff}
}
},
{
.field_info_mask = {
.description = "tl3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff}
},
.field_info_spec = {
.description = "tl3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ 17}
}
},
{
.field_info_mask = {
.description = "tl3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
.field_info_spec = {
.description = "tl3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
.field_info_mask = {
.description = "tl3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2.src",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2.src",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_id",
.field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_id",
.field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 251,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 251,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff,
+ 0xff}
},
.field_info_spec = {
.description = "tl4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ (4789 >> 8) & 0xff,
+ 4789 & 0xff}
}
},
{
.field_info_mask = {
.description = "tl4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff}
},
.field_info_spec = {
.description = "tl3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ 17}
}
},
{
.field_info_mask = {
.description = "tl3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
.field_info_spec = {
.description = "tl3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
.field_info_mask = {
.description = "tl3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2.src",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2.src",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_id",
.field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_id",
.field_bit_size = 24,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
}
},
{
+ .field_info_mask = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff}
+ },
+ .field_info_spec = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_ONE_VTAG & 0xff}
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
.field_info_mask = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
.field_info_spec = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
(BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff}
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_HF,
- .field_opr1 = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
(BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff}
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_VTAG_NUM >> 8) & 0xff,
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_SVIF_INDEX >> 8) & 0xff,
}
},
{
+ .field_info_mask = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "tun_hdr",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_opr1 = {
+ 0xff}
+ },
+ .field_info_spec = {
+ .description = "one_tag",
+ .field_bit_size = 1,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_ONE_VTAG & 0xff}
+ }
+ },
+ {
+ .field_info_mask = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ },
+ .field_info_spec = {
+ .description = "vid",
+ .field_bit_size = 12,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 56) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 48) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 40) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 32) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 24) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 16) & 0xff,
+ ((uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN >> 8) & 0xff,
+ (uint64_t)BNXT_ULP_HDR_BIT_OO_VLAN & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_HF,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_OO_VLAN_VID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_OO_VLAN_VID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
+ }
+ },
+ {
.field_info_mask = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
.field_info_spec = {
.description = "mac_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_HDR_SIG_ID >> 8) & 0xff,
.field_info_mask = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4 & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src2 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_L4_HDR_TYPE_TCP},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_L4_HDR_TYPE_TCP},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_L4_HDR_TYPE_UDP}
}
},
.field_info_mask = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_mask = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L3_HDR_VALID_YES}
.field_info_mask = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
.field_info_mask = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L2_HDR_VALID_YES}
.field_info_mask = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4 & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src2 = BNXT_ULP_FIELD_SRC_ONES,
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_HDR_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_HDR_BIT,
+ .field_opr1 = {
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 56) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 48) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 40) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 16) & 0xff,
((uint64_t)BNXT_ULP_HDR_BIT_O_TCP >> 8) & 0xff,
(uint64_t)BNXT_ULP_HDR_BIT_O_TCP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_L4_HDR_TYPE_TCP},
.field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_L4_HDR_TYPE_TCP},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr3 = {
ULP_WP_SYM_L4_HDR_TYPE_UDP}
}
},
.field_info_mask = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_spec = {
.description = "l4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
.field_info_mask = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L3_HDR_TYPE_IPV6}
.field_info_mask = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L3_HDR_VALID_YES}
.field_info_mask = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_O_ONE_VTAG >> 8) & 0xff,
.field_info_mask = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_L2_HDR_VALID_YES}
.field_info_mask = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_flags",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_err",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_is_udp_tcp",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl4_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl4_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_dst",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_ipv6_cmp_src",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_isIP",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl3_hdr_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl3_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_two_vtags",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_vtag_present",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_uc_mc_bc",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_hdr_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tl2_hdr_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "hrec_next",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "reserved",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "agg_error",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_0",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "pkt_type_1",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "recycle_cnt",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
BNXT_ULP_GLB_HF_ID_O_ETH_SMAC & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
- .field_opr1 = {
- (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
- BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
.field_src2 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr2 = {
+ (BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_GLB_RF,
+ .field_opr3 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID & 0xff}
}
.field_info_mask = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "hdr_sig_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_HDR_SIG_ID >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
},
.field_info_spec = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 275,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 275,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
},
.field_info_spec = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
},
.field_info_spec = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "spare",
.field_bit_size = 35,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "spare",
.field_bit_size = 35,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "local_cos",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.dst",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_DST_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_DST_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l4.src",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
- (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L4_SRC_PORT >> 8) & 0xff,
BNXT_ULP_CF_IDX_O_L4_SRC_PORT & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l3.prot",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
+ (BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr2 = {
(BNXT_ULP_CF_IDX_O_L3_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff}
+ BNXT_ULP_CF_IDX_O_L3_PROTO_ID & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_ZERO
}
},
{
.field_info_mask = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.dst",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
},
.field_info_spec = {
.description = "l3.src",
.field_bit_size = 128,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR & 0xff}
}
},
{
.field_info_mask = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2.smac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
},
.field_info_spec = {
.description = "l2.dmac",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_FIELD_BIT,
- .field_cond_opr = {
- (BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_HF,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
- BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff},
- .field_src2 = BNXT_ULP_FIELD_SRC_ZERO
+ BNXT_ULP_GLB_HF_ID_O_ETH_DMAC & 0xff}
}
},
{
.field_info_mask = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
.field_info_mask = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 & 0xff}
}
},
- /* class_tid: 3, wh_plus, table: port_table.wr */
- {
- .field_info_mask = {
- .description = "dev.port_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- 0xff}
- },
- .field_info_spec = {
- .description = "dev.port_id",
- .field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
- .field_opr1 = {
- (BNXT_ULP_CF_IDX_DEV_PORT_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_DEV_PORT_ID & 0xff}
- }
- },
/* class_tid: 3, wh_plus, table: l2_cntxt_tcam_cache.ing_rd */
{
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_PHY_PORT_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_PHY_PORT_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_PHY_PORT_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_VF_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_VF_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_VF_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_VF_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DEV_PORT_ID >> 8) & 0xff,
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
2}
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_TUN_HDR_TYPE_NONE}
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff,
0xff}
.field_info_spec = {
.description = "l2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DEV_PORT_ID >> 8) & 0xff,
.field_info_mask = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "l2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac0_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "svif",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_SVIF >> 8) & 0xff,
.field_info_mask = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "sparif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ivlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_ovlan_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "mac1_addr",
.field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "l2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_mask = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "tl2_num_vtags",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ONES,
.field_opr1 = {
0xff}
},
.field_info_spec = {
.description = "tun_hdr_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_TUN_HDR_TYPE_NONE}
.field_info_mask = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
.field_info_spec = {
.description = "key_type",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
},
.field_info_mask = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
.field_info_spec = {
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_PHY_PORT_PARIF >> 8) & 0xff,
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 1, wh_plus, table: mac_addr_cache.wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "l2_cntxt_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
- BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 & 0xff}
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "src_property_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 1, wh_plus, table: profile_tcam.ipv4 */
{
.description = "wc_key_id",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.0",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "em_key_mask.1",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
{
.description = "em_key_mask.2",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.3",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.4",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID & 0xff}
+ (BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID & 0xff}
},
{
.description = "em_key_mask.5",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT & 0xff}
},
{
.description = "em_key_mask.6",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT & 0xff}
},
{
.description = "em_key_mask.7",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.8",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.9",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
{
.description = "em_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pl_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 1, wh_plus, table: profile_tcam.ipv6 */
{
.description = "wc_key_id",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.0",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "em_key_mask.1",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.2",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_SMAC >> 8) & 0xff,
{
.description = "em_key_mask.3",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.4",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.5",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID & 0xff}
+ (BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID & 0xff}
},
{
.description = "em_key_mask.6",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT & 0xff}
},
{
.description = "em_key_mask.7",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT & 0xff}
},
{
.description = "em_key_mask.8",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.9",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
7}
{
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
{
.description = "em_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pl_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
- /* class_tid: 1, wh_plus, table: profile_tcam.vxlan */
+ /* class_tid: 1, wh_plus, table: profile_tcam.ipv4_vxlan */
{
.description = "wc_key_id",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.0",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "em_key_mask.1",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.2",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.3",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.4",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "em_key_mask.5",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ 1}
},
{
.description = "em_key_mask.6",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
+ .field_opr1 = {
+ 1}
},
{
.description = "em_key_mask.7",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.8",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.9",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
20}
{
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
{
.description = "em_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pl_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 1, wh_plus, table: profile_tcam_cache.wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "profile_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
{
.description = "wc_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_sig_id",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_FLOW_SIG_ID >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ACTION_REC_SIZE >> 8) & 0xff,
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
(173 >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ACTION_REC_SIZE >> 8) & 0xff,
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
(413 >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ACTION_REC_SIZE >> 8) & 0xff,
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
(197 >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_L2_PROF_FUNC_ID >> 8) & 0xff,
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_CF,
- .field_cond_opr = {
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_THEN_SRC2_ELSE_SRC3,
+ .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr1 = {
(BNXT_ULP_CF_IDX_MATCH_PORT_IS_VFREP >> 8) & 0xff,
BNXT_ULP_CF_IDX_MATCH_PORT_IS_VFREP & 0xff},
- .field_src1 = BNXT_ULP_FIELD_SRC_CONST,
- .field_opr1 = {
- ULP_WP_SYM_LOOPBACK_PARIF},
- .field_src2 = BNXT_ULP_FIELD_SRC_CF,
+ .field_src2 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr2 = {
+ ULP_WP_SYM_LOOPBACK_PARIF},
+ .field_src3 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opr3 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_PARIF >> 8) & 0xff,
BNXT_ULP_CF_IDX_DRV_FUNC_PARIF & 0xff}
},
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_SP_PTR >> 8) & 0xff,
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 2, wh_plus, table: mac_addr_cache.wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "l2_cntxt_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "src_property_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 2, wh_plus, table: profile_tcam.ipv4 */
{
.description = "wc_key_id",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.0",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "em_key_mask.1",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
{
.description = "em_key_mask.2",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_SRC_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.3",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV4_DST_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.4",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID & 0xff}
+ (BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV4_PROTO_ID & 0xff}
},
{
.description = "em_key_mask.5",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT & 0xff}
},
{
.description = "em_key_mask.6",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT & 0xff}
},
{
.description = "em_key_mask.7",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.8",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.9",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
4}
{
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
{
.description = "em_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pl_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 2, wh_plus, table: profile_tcam.ipv6 */
{
.description = "wc_key_id",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "wc_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.0",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "em_key_mask.1",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_ETH_DMAC >> 8) & 0xff,
{
.description = "em_key_mask.2",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.3",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_SRC_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.4",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
(BNXT_ULP_GLB_HF_ID_O_IPV6_DST_ADDR >> 8) & 0xff,
{
.description = "em_key_mask.5",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
+ .field_src1 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L3_FB_PROTO_ID & 0xff}
+ (BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_IPV6_PROTO_ID & 0xff}
},
{
.description = "em_key_mask.6",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_SRC_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_SRC_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_SRC_PORT & 0xff}
},
{
.description = "em_key_mask.7",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1_AND_SRC2_OR_SRC3,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
- (BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT >> 8) & 0xff,
- BNXT_ULP_CF_IDX_O_L4_FB_DST_PORT & 0xff}
+ (BNXT_ULP_CF_IDX_O_L4 >> 8) & 0xff,
+ BNXT_ULP_CF_IDX_O_L4 & 0xff},
+ .field_src2 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr2 = {
+ (BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_UDP_DST_PORT & 0xff},
+ .field_src3 = BNXT_ULP_FIELD_SRC_FIELD_BIT,
+ .field_opr3 = {
+ (BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT >> 8) & 0xff,
+ BNXT_ULP_GLB_HF_ID_O_TCP_DST_PORT & 0xff}
},
{
.description = "em_key_mask.8",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_mask.9",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "em_key_id",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
7}
{
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
{
.description = "em_search_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pl_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 2, wh_plus, table: profile_tcam_cache.wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "profile_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_PROFILE_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "em_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_EM_PROFILE_ID_0 >> 8) & 0xff,
{
.description = "wc_profile_id",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_sig_id",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_FLOW_SIG_ID >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ACTION_REC_SIZE >> 8) & 0xff,
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
(173 >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "act_rec_ptr",
.field_bit_size = 33,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "ext_flow_cntr",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_int",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "act_rec_size",
.field_bit_size = 5,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ACTION_REC_SIZE >> 8) & 0xff,
{
.description = "key_size",
.field_bit_size = 9,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
(413 >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "strength",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
3}
{
.description = "l1_cacheable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
},
- /* class_tid: 3, wh_plus, table: port_table.wr */
- {
- .description = "rid",
- .field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_ZERO
- },
- {
- .description = "drv_func.mac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_PORT_TABLE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
- .field_opr1 = {
- (BNXT_ULP_CF_IDX_DEV_PORT_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_DEV_PORT_ID & 0xff},
- .field_opr2 = {
- (BNXT_ULP_PORT_TABLE_DRV_FUNC_MAC >> 8) & 0xff,
- BNXT_ULP_PORT_TABLE_DRV_FUNC_MAC & 0xff}
- },
- {
- .description = "drv_func.parent.mac",
- .field_bit_size = 48,
- .field_opc = BNXT_ULP_FIELD_OPC_PORT_TABLE,
- .field_src1 = BNXT_ULP_FIELD_SRC_CF,
- .field_opr1 = {
- (BNXT_ULP_CF_IDX_DEV_PORT_ID >> 8) & 0xff,
- BNXT_ULP_CF_IDX_DEV_PORT_ID & 0xff},
- .field_opr2 = {
- (BNXT_ULP_PORT_TABLE_DRV_FUNC_PARENT_MAC >> 8) & 0xff,
- BNXT_ULP_PORT_TABLE_DRV_FUNC_PARENT_MAC & 0xff}
- },
- {
- .description = "default_arec_ptr",
- .field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
- .field_src1 = BNXT_ULP_FIELD_SRC_RF,
- .field_opr1 = {
- (BNXT_ULP_RF_IDX_DEFAULT_AREC_PTR >> 8) & 0xff,
- BNXT_ULP_RF_IDX_DEFAULT_AREC_PTR & 0xff}
- },
/* class_tid: 3, wh_plus, table: int_full_act_record.ing_0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: l2_cntxt_tcam.ing_0 */
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_PHY_PORT_PARIF >> 8) & 0xff,
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: l2_cntxt_tcam_cache.ing_wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "l2_cntxt_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "src_property_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: parif_def_lkup_arec_ptr.ing_0 */
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_PHY_PORT_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: l2_cntxt_tcam_bypass.egr_vfr */
{
.description = "act_record_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_PARIF >> 8) & 0xff,
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: l2_cntxt_tcam_cache.egr_wr_vfr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "l2_cntxt_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_property_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: l2_cntxt_tcam.egr_0 */
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_PARIF >> 8) & 0xff,
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: l2_cntxt_tcam_cache.egr_wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "l2_cntxt_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "src_property_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: int_full_act_record.egr_0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_PHY_PORT_VPORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 3, wh_plus, table: parif_def_lkup_arec_ptr.egr_0 */
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
(ULP_WP_SYM_LOOPBACK_PORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: l2_cntxt_tcam.vf_egr */
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "prof_func_id",
.field_bit_size = 7,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_GLB_PROF_FUNC_ID >> 8) & 0xff,
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_LOOPBACK_PARIF}
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: l2_cntxt_tcam_cache.vf_egr_wr */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "l2_cntxt_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_ID_0 >> 8) & 0xff,
{
.description = "src_property_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: parif_def_lkup_arec_ptr.vf_egr */
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR >> 8) & 0xff,
{
.description = "act_rec_ptr",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_GLB_RF,
.field_opr1 = {
(BNXT_ULP_GLB_RF_IDX_GLB_LB_AREC_PTR >> 8) & 0xff,
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DRV_FUNC_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: l2_cntxt_tcam_bypass.vf_ing */
{
.description = "act_record_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: l2_cntxt_tcam_bypass.vfr_egr0 */
{
.description = "act_record_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "reserved",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: l2_cntxt_tcam_cache.vfr_wr_egr0 */
{
.description = "rid",
.field_bit_size = 32,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_RID >> 8) & 0xff,
{
.description = "l2_cntxt_tcam_index",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_L2_CNTXT_TCAM_INDEX_0 >> 8) & 0xff,
{
.description = "l2_cntxt_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_property_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: int_vtag_encap_record.vfr_egr0 */
{
.description = "ecv_tun_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l4_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l3_type",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_l2_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_vtag_type",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
ULP_WP_SYM_ECV_VTAG_TYPE_ADD_1_ENCAP_PRI}
{
.description = "ecv_custom_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "ecv_valid",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "vtag_tpid",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
0x81,
{
.description = "vtag_vid",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_DEV_PORT_ID >> 8) & 0xff,
{
.description = "vtag_de",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vtag_pcp",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "spare",
.field_bit_size = 80,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: int_full_act_record.vfr_egr0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_ENCAP_PTR_0 >> 8) & 0xff,
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
(ULP_WP_SYM_LOOPBACK_PORT >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, wh_plus, table: int_full_act_record.vfr_ing0 */
{
.description = "flow_cntr_ptr",
.field_bit_size = 14,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "age_enable",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "agg_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "rate_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "flow_cntr_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_key",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_mir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcpflags_match",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "encap_ptr",
.field_bit_size = 11,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "dst_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_dst_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "src_ip_ptr",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tcp_src_port",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "meter_id",
.field_bit_size = 10,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_rdir",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tl3_ttl_dec",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "decap_func",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "vnic_or_vport",
.field_bit_size = 12,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CF,
.field_opr1 = {
(BNXT_ULP_CF_IDX_VF_FUNC_VNIC >> 8) & 0xff,
{
.description = "pop_vlan",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "meter",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "mirror",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "drop",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "hit",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "type",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, table: l2_cntxt_tcam_bypass.vfr_dtagged_ing0 */
{
.description = "act_record_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
/* class_tid: 4, table: l2_cntxt_tcam_bypass.vfr_stagged_ing0 */
{
.description = "act_record_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_RF,
.field_opr1 = {
(BNXT_ULP_RF_IDX_MAIN_ACTION_PTR >> 8) & 0xff,
{
.description = "reserved",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "l2_byp_lkup_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "parif",
.field_bit_size = 4,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_pri",
.field_bit_size = 8,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_pri",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "allowed_tpid",
.field_bit_size = 6,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "default_tpid",
.field_bit_size = 3,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "bd_act_en",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "sp_rec_ptr",
.field_bit_size = 16,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "byp_sp_lkup",
.field_bit_size = 1,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_CONST,
.field_opr1 = {
1}
{
.description = "pri_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
},
{
.description = "tpid_anti_spoof_ctl",
.field_bit_size = 2,
- .field_opc = BNXT_ULP_FIELD_OPC_COND_OP,
- .field_cond_src = BNXT_ULP_FIELD_COND_SRC_TRUE,
+ .field_opc = BNXT_ULP_FIELD_OPC_SRC1,
.field_src1 = BNXT_ULP_FIELD_SRC_ZERO
}
};
.ident_bit_size = 8,
.ident_bit_pos = 28
},
- /* class_tid: 1, wh_plus, table: profile_tcam.vxlan */
+ /* class_tid: 1, wh_plus, table: profile_tcam.ipv4_vxlan */
{
.description = "em_profile_id",
.resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,