Re: [patch net-next 00/10] net: allow user specify TC filter HW stats type
From: Edward Cree <hidden>
Date: 2020-03-02 16:07:55
From: Edward Cree <hidden>
Date: 2020-03-02 16:07:55
On 29/02/2020 08:01, Jiri Pirko wrote:
Fri, Feb 28, 2020 at 08:59:09PM CET, pablo@netfilter.org wrote:quoted
Something like the sketch patch that I'm attaching?But why? Actions are separate entities, with separate counters. The driver is either able to offload that or not. Up to the driver to abstract this out.
+1 If any of this "fake up a counter action" stuff is common to several drivers, we could maybe have some library functions to help them with it, but the tc<->driver API shouldn't change (since the change adds no expressiveness). -ed