net/bnxt: support more resource functions in flow database
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_mapper.h
index 162d869..1263315 100644 (file)
@@ -17,9 +17,6 @@
 
 #define ULP_SZ_BITS2BYTES(x) (((x) + 7) / 8)
 #define ULP_IDENTS_INVALID ((uint16_t)0xffff)
-#define ULP_MAPPER_CACHE_RES_TBL_ID_SHFT 16
-#define ULP_MAPPER_CACHE_RES_TBL_TYPE_SHFT 0
-#define ULP_MAPPER_CACHE_RES_TBL_MASK ((uint32_t)0x0000ffff)
 
 /*
  * The cache table opcode is used to convey informat from the cache handler
@@ -67,6 +64,7 @@ struct bnxt_ulp_mapper_parms {
        struct ulp_rte_act_prop                 *act_prop;
        struct ulp_rte_act_bitmap               *act_bitmap;
        struct ulp_rte_hdr_field                *hdr_field;
+       uint32_t                                *comp_fld;
        struct ulp_regfile                      *regfile;
        struct tf                               *tfp;
        struct bnxt_ulp_context                 *ulp_ctx;
@@ -82,6 +80,7 @@ struct bnxt_ulp_mapper_create_parms {
        uint32_t                        app_priority;
        struct ulp_rte_hdr_bitmap       *hdr_bitmap;
        struct ulp_rte_hdr_field        *hdr_field;
+       uint32_t                        *comp_fld;
        struct ulp_rte_act_bitmap       *act;
        struct ulp_rte_act_prop         *act_prop;
        uint32_t                        class_tid;