lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200318135008.1bea86b4@kicinski-fedora-PC1C0HJN>
Date:   Wed, 18 Mar 2020 13:50:08 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Ido Schimmel <idosch@...sch.org>
Cc:     netdev@...r.kernel.org, davem@...emloft.net, jiri@...lanox.com,
        mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com>
Subject: Re: [PATCH net-next 0/9] mlxsw: spectrum_cnt: Expose counter
 resources

On Wed, 18 Mar 2020 15:48:48 +0200 Ido Schimmel wrote:
> 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

Acked-by: Jakub Kicinski <kuba@...nel.org>

Nice!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ