Re: [PATCH net-next] net: ti: icssg-prueth: Add ICSSG FW Stats

From: Simon Horman
Date: Mon Mar 03 2025 - 08:42:47 EST


On Thu, Feb 27, 2025 at 03:07:12PM +0530, MD Danish Anwar wrote:
> The ICSSG firmware maintains set of stats called PA_STATS.
> Currently the driver only dumps 4 stats. Add support for dumping more
> stats.
>
> The offset for different stats are defined as MACROs in icssg_switch_map.h
> file. All the offsets are for Slice0. Slice1 offsets are slice0 + 4.
> The offset calculation is taken care while reading the stats in
> emac_update_hardware_stats().
>
> Signed-off-by: MD Danish Anwar <danishanwar@xxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>