[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240125172803.01189ac4@kernel.org>
Date: Thu, 25 Jan 2024 17:28:03 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Sai Krishna <saikrishnag@...vell.com>
Cc: <davem@...emloft.net>, <edumazet@...gle.com>, <pabeni@...hat.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<sgoutham@...vell.com>, <gakula@...vell.com>, <hkelam@...vell.com>,
<sbhatta@...vell.com>
Subject: Re: [net-next PATCH] octeontx2-pf: Reset MAC stats during probe
On Thu, 25 Jan 2024 16:36:01 +0530 Sai Krishna wrote:
> Reset CGX/RPM MAC HW statistics at the time of driver probe()
>
> Also added a devlink option to do the same at runtime, this will be
> helpful during debug.
>
> Usage: Reset MAC stats
> devlink dev param set pci/0002:03:00.0 name mac_stats_reset value true
> cmode runtime
Where are the stats reported? It'd be more intuitive to add the ability
to reset stats to whatever interface is used to report them. Or one of
your reset interfaces (devlink dev reload).
Powered by blists - more mailing lists