net/bnxt: add TCAM table processing for search and alloc
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_template_struct.h
index ea4f253..6617ab9 100644 (file)
@@ -63,6 +63,7 @@ struct ulp_rte_act_prop {
 /* Structure to be used for passing all the parser functions */
 struct ulp_rte_parser_params {
        struct ulp_rte_hdr_bitmap       hdr_bitmap;
+       struct ulp_rte_hdr_bitmap       hdr_fp_bit;
        struct ulp_rte_field_bitmap     fld_bitmap;
        struct ulp_rte_hdr_field        hdr_field[BNXT_ULP_PROTO_HDR_MAX];
        uint32_t                        comp_fld[BNXT_ULP_CF_IDX_LAST];
@@ -172,10 +173,10 @@ struct bnxt_ulp_mapper_tbl_info {
        enum bnxt_ulp_resource_sub_type resource_sub_type;
        enum bnxt_ulp_cond_opcode       cond_opcode;
        uint32_t                        cond_operand;
-       uint8_t         direction;
-       uint32_t        priority;
-       uint8_t         srch_b4_alloc;
-       enum bnxt_ulp_critical_resource critical_resource;
+       uint8_t                         direction;
+       uint32_t                        priority;
+       enum bnxt_ulp_search_before_alloc       srch_b4_alloc;
+       enum bnxt_ulp_critical_resource         critical_resource;
 
        /* Information for accessing the ulp_key_field_list */
        uint32_t        key_start_idx;
@@ -213,6 +214,8 @@ struct bnxt_ulp_mapper_result_field_info {
        enum bnxt_ulp_mapper_opc        result_opcode;
        uint16_t                        field_bit_size;
        uint8_t                         result_operand[16];
+       uint8_t                         result_operand_true[16];
+       uint8_t                         result_operand_false[16];
 };
 
 struct bnxt_ulp_mapper_ident_info {