[v1,3/3] test/bbdev: update for queue stats
Checks
Commit Message
Update to include in test application the queue stats for the
enqueue_depth_avail counter.
Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
---
app/test-bbdev/test_bbdev_perf.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 4/4/24 23:04, Nicolas Chautru wrote:
> Update to include in test application the queue stats for the
> enqueue_depth_avail counter.
>
> Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
> ---
> app/test-bbdev/test_bbdev_perf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c
> index dcce00aa0a..7675c66edc 100644
> --- a/app/test-bbdev/test_bbdev_perf.c
> +++ b/app/test-bbdev/test_bbdev_perf.c
> @@ -5702,6 +5702,7 @@ get_bbdev_queue_stats(uint16_t dev_id, uint16_t queue_id,
> stats->enqueue_warn_count = q_stats->enqueue_warn_count;
> stats->dequeue_warn_count = q_stats->dequeue_warn_count;
> stats->acc_offload_cycles = q_stats->acc_offload_cycles;
> + stats->enqueue_depth_avail = q_stats->enqueue_depth_avail;
>
> return 0;
> }
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Thanks,
Maxime
@@ -5702,6 +5702,7 @@ get_bbdev_queue_stats(uint16_t dev_id, uint16_t queue_id,
stats->enqueue_warn_count = q_stats->enqueue_warn_count;
stats->dequeue_warn_count = q_stats->dequeue_warn_count;
stats->acc_offload_cycles = q_stats->acc_offload_cycles;
+ stats->enqueue_depth_avail = q_stats->enqueue_depth_avail;
return 0;
}