summaryrefslogtreecommitdiff
path: root/lib/librte_bbdev
diff options
context:
space:
mode:
authorKamil Chalupnik <kamilx.chalupnik@intel.com>2018-05-09 16:30:02 +0200
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-05-10 17:46:20 +0100
commit864edd6935124c8b1cfceba726b9be715d45be90 (patch)
treeead9f614f4733d1794a060bd41334e53b40c5418 /lib/librte_bbdev
parent795ae2df4d7e853c8d997f1b0a2ee8bcfbbc0795 (diff)
downloaddpdk-864edd6935124c8b1cfceba726b9be715d45be90.zip
dpdk-864edd6935124c8b1cfceba726b9be715d45be90.tar.gz
dpdk-864edd6935124c8b1cfceba726b9be715d45be90.tar.xz
bbdev: measure offload cost
New test created to measure offload cost. Changes were introduced in API, turbo software driver and test application Signed-off-by: Kamil Chalupnik <kamilx.chalupnik@intel.com> Acked-by: Amr Mokhtar <amr.mokhtar@intel.com>
Diffstat (limited to 'lib/librte_bbdev')
-rw-r--r--lib/librte_bbdev/rte_bbdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/librte_bbdev/rte_bbdev.h b/lib/librte_bbdev/rte_bbdev.h
index 5e7e495..a227366 100644
--- a/lib/librte_bbdev/rte_bbdev.h
+++ b/lib/librte_bbdev/rte_bbdev.h
@@ -239,6 +239,8 @@ 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;
};
/**