]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_bbdev/rte_bbdev.h
bbdev: enhance offload cost test
[dpdk.git] / lib / librte_bbdev / rte_bbdev.h
index 25ef409f7535831bd3d88877f4374d82af26c9e1..da8cf0724d39403cfef4df3c18ab703148eb9132 100644 (file)
@@ -239,8 +239,13 @@ struct rte_bbdev_stats {
        uint64_t enqueue_err_count;
        /** Total error count on operations dequeued */
        uint64_t dequeue_err_count;
-       /** Offload time */
-       uint64_t offload_time;
+       /** CPU cycles consumed by the (HW/SW) accelerator device to offload
+        *  the enqueue request to its internal queues.
+        *  - For a HW device this is the cycles consumed in MMIO write
+        *  - For a SW (vdev) device, this is the processing time of the
+        *     bbdev operation
+        */
+       uint64_t acc_offload_cycles;
 };
 
 /**