[dpdk-dev] [PATCH v2] net/sfc: allow control threads for counter queue polling
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Wed Nov 3 14:13:09 CET 2021
On 11/3/21 4:00 PM, David Marchand wrote:
> On Wed, Nov 3, 2021 at 1:40 PM Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru> wrote:
>>
>> From: Viacheslav Galaktionov <viacheslav.galaktionov at oktetlabs.ru>
>>
>> MAE counters can be polled from a control thread if no service core is
>> allocated for this.
>>
>> Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov at oktetlabs.ru>
>> Signed-off-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
>> Reviewed-by: Andy Moreton <amoreton at xilinx.com>
>
>
>> ---
>> The problem to require service cores for HW offload was raised by
>> David on review in 21.08 release cycle.
>>
>> v2:
>> - add sleep in the case of empty queue to avoid CPU burn
>> - pair release/acquire for thread run/stop condition
>
> The release notes update was dropped. Not sure it was intentional.
> Otherwise, patch lgtm, thanks.
>
> Reviewed-by: David Marchand <david.marchand at redhat.com>
David, many thanks. I'll send v3 shortly with release notes
update restored.
More information about the dev
mailing list