[dpdk-dev] [PATCH v2] net/sfc: allow control threads for counter queue polling

David Marchand david.marchand at redhat.com
Wed Nov 3 14:00:33 CET 2021


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 Marchand



More information about the dev mailing list