Thread (104 messages) 104 messages, 5 authors, 2021-07-20

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

From: David Marchand <hidden>
Date: 2021-07-16 12:12:50

Hello gyus,

On Fri, Jul 2, 2021 at 10:41 AM Andrew Rybchenko
[off-list ref] wrote:
From: Igor Romanov <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help