[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7299c4bd-f42b-924e-8bd5-1d16567a8463@mojatatu.com>
Date: Mon, 24 Feb 2020 10:55:50 -0500
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Edward Cree <ecree@...arflare.com>, Jiri Pirko <jiri@...nulli.us>
Cc: Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
davem@...emloft.net, saeedm@...lanox.com, leon@...nel.org,
michael.chan@...adcom.com, vishal@...lsio.com,
jeffrey.t.kirsher@...el.com, idosch@...lanox.com,
aelior@...vell.com, peppe.cavallaro@...com,
alexandre.torgue@...com, xiyou.wangcong@...il.com,
pablo@...filter.org, mlxsw@...lanox.com
Subject: Re: [patch net-next 00/10] net: allow user specify TC filter HW stats
type
On 2020-02-24 10:50 a.m., Edward Cree wrote:
> On 24/02/2020 15:45, Jamal Hadi Salim wrote:
>> Going backwards and looking at your example in this stanza:
>> ---
>> in_hw in_hw_count 2
>> hw_stats immediate
>> action order 1: gact action drop
>> random type none pass val 0
>> index 1 ref 1 bind 1 installed 14 sec used 7 sec
>> Action statistics:
>> ----
>>
>> Guessing from "in_hw in_hw_count 2" - 2 is a hw stats table index?
> AIUI in_hw_count is a reference count of hardware devices that have
> offloaded the rule. Nothing to do with stats "counters".
ah, ok;->. A more descriptive noun (hw_ref_count) would be nice.
Is it fair to assume that there's some form of stats table which is
indexed? And that the hw table index is accessible to the driver?
cheers,
jamal
Powered by blists - more mailing lists