[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200318.164636.2101956120165364730.davem@davemloft.net>
Date: Wed, 18 Mar 2020 16:46:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: idosch@...sch.org
Cc: netdev@...r.kernel.org, kuba@...nel.org, jiri@...lanox.com,
mlxsw@...lanox.com, idosch@...lanox.com
Subject: Re: [PATCH net-next 0/9] mlxsw: spectrum_cnt: Expose counter
resources
From: Ido Schimmel <idosch@...sch.org>
Date: Wed, 18 Mar 2020 15:48:48 +0200
> From: Ido Schimmel <idosch@...lanox.com>
>
> Jiri says:
>
> Capacity and utilization of existing flow and RIF counters are currently
> unavailable to be seen by the user. Use the existing devlink resources
> API to expose the information:
>
> $ sudo devlink resource show pci/0000:00:10.0 -v
> pci/0000:00:10.0:
> name kvd resource_path /kvd size 524288 unit entry dpipe_tables none
> name span_agents resource_path /span_agents size 8 occ 0 unit entry dpipe_tables none
> name counters resource_path /counters size 79872 occ 44 unit entry dpipe_tables none
> resources:
> name flow resource_path /counters/flow size 61440 occ 4 unit entry dpipe_tables none
> name rif resource_path /counters/rif size 18432 occ 40 unit entry dpipe_tables none
Series applied, thanks everyone.
Powered by blists - more mailing lists