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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <681a63e3c1a6c_18e44b2949d@willemb.c.googlers.com.notmuch>
Date: Tue, 06 May 2025 15:32:51 -0400
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Jacob Keller <jacob.e.keller@...el.com>, 
 Andrew Lunn <andrew@...n.ch>, 
 Alexander Shalimov <alex-shalimov@...dex-team.ru>
Cc: netdev@...r.kernel.org, 
 linux-kernel@...r.kernel.org, 
 willemdebruijn.kernel@...il.com, 
 jasowang@...hat.com, 
 davem@...emloft.net, 
 edumazet@...gle.com, 
 kuba@...nel.org, 
 pabeni@...hat.com
Subject: Re: [PATCH] net/tun: expose queue utilization stats via ethtool

Jacob Keller wrote:
> 
> 
> On 5/6/2025 9:07 AM, Andrew Lunn wrote:
> > On Tue, May 06, 2025 at 06:41:17PM +0300, Alexander Shalimov wrote:
> >> This patch exposes per-queue utilization statistics via ethtool -S,
> >> allowing on-demand inspection of queue fill levels. Utilization metrics are
> >> captured at the time of the ethtool invocation, providing a snapshot useful
> >> for correlation with guest and host behavior.
> > 
> > This does not fit the usual statistics pattern, which are simple
> > incremental counters. Are there any other drivers doing anything like
> > this?
> I don't recall ever seeing anything like this. If there are, I feel it
> is a mistake regardless, and we shouldn't repeat it without good reason.
> 
> +1 to looking at another option for reporting.

Perhaps bpftrace with a kfunc at a suitable function entry point to
get access to these ring structures.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ