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: <20250722164027.GR2459@horms.kernel.org>
Date: Tue, 22 Jul 2025 17:40:27 +0100
From: Simon Horman <horms@...nel.org>
To: Subbaraya Sundeep <sbhatta@...vell.com>
Cc: andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
	kuba@...nel.org, pabeni@...hat.com, gakula@...vell.com,
	hkelam@...vell.com, bbhushan2@...vell.com, jerinj@...vell.com,
	lcherian@...vell.com, sgoutham@...vell.com, netdev@...r.kernel.org
Subject: Re: [net-next PATCH v3 03/11] octeontx2-af: Extend debugfs support
 for cn20k NIX

On Thu, Jul 17, 2025 at 10:37:35PM +0530, Subbaraya Sundeep wrote:
> Extend debugfs to display CN20K NIX send, receive and
> completion queue contexts.
> 
> Signed-off-by: Subbaraya Sundeep <sbhatta@...vell.com>

...

> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/cn20k/debugfs.c b/drivers/net/ethernet/marvell/octeontx2/af/cn20k/debugfs.c

...

> +void print_nix_cn20k_sq_ctx(struct seq_file *m,
> +			    struct nix_cn20k_sq_ctx_s *sq_ctx)
> +{

...

> +	seq_printf(m, "W11: octs \t\t\t%llu\n\n", (u64)sq_ctx->octs);
> +	seq_printf(m, "W12: pkts \t\t\t%llu\n\n", (u64)sq_ctx->pkts);
> +	seq_printf(m, "W13: aged_drop_octs \t\t\t%llu\n\n", (u64)sq_ctx->aged_drop_octs);
> +	seq_printf(m, "W13: aged_drop_pkts \t\t\t%llu\n\n", (u64)sq_ctx->aged_drop_pkts);

nit: please line-wrap the above two lines.

> +	seq_printf(m, "W14: dropped_octs \t\t%llu\n\n",
> +		   (u64)sq_ctx->dropped_octs);
> +	seq_printf(m, "W15: dropped_pkts \t\t%llu\n\n",
> +		   (u64)sq_ctx->dropped_pkts);
> +}

...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ