[v2,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 8/13/24 01:42, 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 3a94f15a30..259192c670 100644
> --- a/app/test-bbdev/test_bbdev_perf.c
> +++ b/app/test-bbdev/test_bbdev_perf.c
> @@ -5816,6 +5816,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
@@ -5816,6 +5816,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;
}