net/bnxt: consolidate template table processing
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_mapper.h
index f6d5544..936fb9a 100644 (file)
@@ -53,6 +53,7 @@ struct bnxt_ulp_mapper_data {
 
 /* Internal Structure for passing the arguments around */
 struct bnxt_ulp_mapper_parms {
+       enum bnxt_ulp_template_type             tmpl_type;
        uint32_t                                dev_id;
        uint32_t                                act_tid;
        struct bnxt_ulp_mapper_tbl_info         *atbls; /* action table */
@@ -70,7 +71,7 @@ struct bnxt_ulp_mapper_parms {
        struct bnxt_ulp_context                 *ulp_ctx;
        uint8_t                                 encap_byte_swap;
        uint32_t                                fid;
-       enum bnxt_ulp_flow_db_tables            tbl_idx;
+       enum bnxt_ulp_fdb_type                  flow_type;
        struct bnxt_ulp_mapper_data             *mapper_data;
        enum bnxt_ulp_cache_table_opc           tcam_tbl_opc;
        struct bnxt_ulp_mapper_cache_entry      *cache_ptr;
@@ -87,7 +88,8 @@ struct bnxt_ulp_mapper_create_parms {
        uint32_t                        class_tid;
        uint32_t                        act_tid;
        uint16_t                        func_id;
-       enum ulp_direction_type         dir;
+       uint32_t                        dir_attr;
+       enum bnxt_ulp_fdb_type          flow_type;
 };
 
 /* Function to initialize any dynamic mapper data. */