/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2020 Broadcom
+ * Copyright(c) 2014-2021 Broadcom
* All rights reserved.
*/
BNXT_ULP_ACT_PROP_SZ_ENCAP_UDP,
[BNXT_ULP_ACT_PROP_IDX_ENCAP_TUN] =
BNXT_ULP_ACT_PROP_SZ_ENCAP_TUN,
+ [BNXT_ULP_ACT_PROP_IDX_JUMP] =
+ BNXT_ULP_ACT_PROP_SZ_JUMP,
[BNXT_ULP_ACT_PROP_IDX_LAST] =
BNXT_ULP_ACT_PROP_SZ_LAST
};
.proto_act_func = NULL
},
[RTE_FLOW_ACTION_TYPE_JUMP] = {
- .act_type = BNXT_ULP_ACT_TYPE_NOT_SUPPORTED,
- .proto_act_func = NULL
+ .act_type = BNXT_ULP_ACT_TYPE_SUPPORTED,
+ .proto_act_func = ulp_rte_jump_act_handler
},
[RTE_FLOW_ACTION_TYPE_MARK] = {
.act_type = BNXT_ULP_ACT_TYPE_SUPPORTED,
const struct ulp_template_device_tbls ulp_template_stingray_tbls[] = {
[BNXT_ULP_TEMPLATE_TYPE_CLASS] = {
- .tmpl_list = ulp_class_stingray_tmpl_list,
- .tbl_list = ulp_class_stingray_tbl_list,
- .key_field_list = ulp_class_stingray_key_field_list,
- .result_field_list = ulp_class_stingray_result_field_list,
- .ident_list = ulp_class_stingray_ident_list
+ .tmpl_list = ulp_stingray_class_tmpl_list,
+ .tbl_list = ulp_stingray_class_tbl_list,
+ .key_field_list = ulp_stingray_class_key_field_list,
+ .result_field_list = ulp_stingray_class_result_field_list,
+ .ident_list = ulp_stingray_class_ident_list
},
[BNXT_ULP_TEMPLATE_TYPE_ACTION] = {
- .tmpl_list = ulp_act_stingray_tmpl_list,
- .tbl_list = ulp_act_stingray_tbl_list,
- .result_field_list = ulp_act_stingray_result_field_list
+ .tmpl_list = ulp_stingray_act_tmpl_list,
+ .tbl_list = ulp_stingray_act_tbl_list,
+ .result_field_list = ulp_stingray_act_result_field_list
}
};
const struct ulp_template_device_tbls ulp_template_wh_plus_tbls[] = {
[BNXT_ULP_TEMPLATE_TYPE_CLASS] = {
- .tmpl_list = ulp_class_wh_plus_tmpl_list,
- .tbl_list = ulp_class_wh_plus_tbl_list,
- .key_field_list = ulp_class_wh_plus_key_field_list,
- .result_field_list = ulp_class_wh_plus_result_field_list,
- .ident_list = ulp_class_wh_plus_ident_list
+ .tmpl_list = ulp_wh_plus_class_tmpl_list,
+ .tbl_list = ulp_wh_plus_class_tbl_list,
+ .key_field_list = ulp_wh_plus_class_key_field_list,
+ .result_field_list = ulp_wh_plus_class_result_field_list,
+ .ident_list = ulp_wh_plus_class_ident_list
},
[BNXT_ULP_TEMPLATE_TYPE_ACTION] = {
- .tmpl_list = ulp_act_wh_plus_tmpl_list,
- .tbl_list = ulp_act_wh_plus_tbl_list,
- .result_field_list = ulp_act_wh_plus_result_field_list
+ .tmpl_list = ulp_wh_plus_act_tmpl_list,
+ .tbl_list = ulp_wh_plus_act_tbl_list,
+ .result_field_list = ulp_wh_plus_act_result_field_list
}
};
.mark_db_lfid_entries = 65536,
.mark_db_gfid_entries = 65536,
.flow_count_db_entries = 16384,
+ .fdb_parent_flow_entries = 2,
.num_resources_per_flow = 8,
.num_phy_ports = 2,
.ext_cntr_table_type = 0,
.mark_db_lfid_entries = 65536,
.mark_db_gfid_entries = 65536,
.flow_count_db_entries = 16384,
+ .fdb_parent_flow_entries = 2,
.num_resources_per_flow = 8,
.num_phy_ports = 2,
.ext_cntr_table_type = 0,
[5] = {
.resource_func = BNXT_ULP_RESOURCE_FUNC_IDENTIFIER,
.resource_type = TF_IDENT_TYPE_PROF_FUNC,
- .glb_regfile_index = BNXT_ULP_GLB_REGFILE_INDEX_VXLAN_PROF_FUNC_ID,
+ .glb_regfile_index = BNXT_ULP_GLB_REGFILE_INDEX_VXLAN_PROF_FUNC_ID,
.direction = TF_DIR_RX
},
[6] = {