[PATCH v1 1/3] bbdev: new queue stat for available enqueue depth
Maxime Coquelin
maxime.coquelin at redhat.com
Mon Aug 12 11:56:50 CEST 2024
On 8/12/24 11:28, Maxime Coquelin wrote:
> Hi Nicolas,
>
> On 4/4/24 23:04, Nicolas Chautru wrote:
>> Capturing additional queue stats counter for the
>> depth of enqueue batch still available on the given
>> queue. This can help application to monitor that depth
>> at run time.
>>
>> Signed-off-by: Nicolas Chautru <nicolas.chautru at intel.com>
>> ---
>> lib/bbdev/rte_bbdev.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h
>> index 0cbfdd1c95..25514c58ac 100644
>> --- a/lib/bbdev/rte_bbdev.h
>> +++ b/lib/bbdev/rte_bbdev.h
>> @@ -283,6 +283,8 @@ struct rte_bbdev_stats {
>> * bbdev operation
>> */
>> uint64_t acc_offload_cycles;
>> + /** Available number of enqueue batch on that queue. */
>> + uint16_t enqueue_depth_avail;
>> };
>> /**
>
> I think it needs to be documented in the ABI change section.
>
> With that done, feel free to add:
>
> Maxime Coquelin <maxime.coquelin at redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
>
> Thanks,
> Maxime
More information about the dev
mailing list