summaryrefslogtreecommitdiff
path: root/lib/librte_bbdev
diff options
context:
space:
mode:
authorKamil Chalupnik <kamilx.chalupnik@intel.com>2018-12-07 16:15:32 +0100
committerAkhil Goyal <akhil.goyal@nxp.com>2018-12-19 11:19:10 +0100
commit0b98d574e3e58da446ba67aa96901642b31b22d0 (patch)
tree3e9efe12ac5da048f66506d69fd01d60bec00791 /lib/librte_bbdev
parent9fa6ebde8e6391e567eec16a652ae33aa64cb800 (diff)
downloaddpdk-0b98d574e3e58da446ba67aa96901642b31b22d0.zip
dpdk-0b98d574e3e58da446ba67aa96901642b31b22d0.tar.gz
dpdk-0b98d574e3e58da446ba67aa96901642b31b22d0.tar.xz
bbdev: enhance throughput test
Improvements added to throughput test: - test is run in loop (number of iterations is specified by TEST_REPETITIONS define) which ensures more accurate results - length of input data is calculated based on amount of CBs in TB - maximum number of decoding iterations is gathered from results - added new functions responsible for printing results - small fixes for memory management 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_op.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/librte_bbdev/rte_bbdev_op.h b/lib/librte_bbdev/rte_bbdev_op.h
index 83f62c2..962e2ed 100644
--- a/lib/librte_bbdev/rte_bbdev_op.h
+++ b/lib/librte_bbdev/rte_bbdev_op.h
@@ -216,6 +216,8 @@ struct rte_bbdev_op_dec_tb_params {
* operation when r >= cab
*/
uint32_t eb;
+ /**< The index of the first CB in the inbound mbuf data, default is 0 */
+ uint8_t r;
};
/**< Operation structure for Turbo decode.