[dpdk-dev] [PATCH v4 19/20] net/sfc: support flow action COUNT in transfer rules

David Marchand david.marchand at redhat.com
Fri Jul 16 14:12:35 CEST 2021


Hello gyus,

On Fri, Jul 2, 2021 at 10:41 AM Andrew Rybchenko
<andrew.rybchenko at oktetlabs.ru> wrote:
>
> From: Igor Romanov <igor.romanov at oktetlabs.ru>
>
> For now, a rule may have only one dedicated counter, shared counters
> are not supported.
>
> HW delivers (or "streams") counter readings using special packets.
> The driver creates a dedicated Rx queue to receive such packets
> and requests that HW start "streaming" the readings to it.
>
> The counter queue is polled periodically, and the first available
> service core is used for that. Hence, the user has to specify at least
> one service core for counters to work. Such a core is shared by all
> MAE-capable devices managed by sfc driver.

If no service lcore is available, did you consider falling back and
using a control thread per mae device?


-- 
David Marchand



More information about the dev mailing list