[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aIJIfHMwk5q1PnGM@opensource>
Date: Thu, 24 Jul 2025 14:51:40 +0000
From: Subbaraya Sundeep <sbhatta@...vell.com>
To: Simon Horman <horms@...nel.org>
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 2025-07-22 at 16:40:27, Simon Horman (horms@...nel.org) wrote:
> 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.
>
Okay
Thanks,
Sundeep
> > + 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