Re: [net PATCH] octeontx2-af: Fix CPT AF register offset calculation
From: Simon Horman
Date: Fri Aug 16 2024 - 13:17:56 EST
On Fri, Aug 16, 2024 at 04:08:22PM +0530, Bharat Bhushan wrote:
> Some CPT AF registers are per LF and others are global.
> Translation of PF/VF local LF slot number to actual LF slot
> number is required only for accessing perf LF registers.
> CPT AF global registers access does not requires any LF
> slot number.
>
> Also there is no reason CPT PF/VF to know actual lf's register
> offset.
>
> Fixes: bc35e28af789 ("octeontx2-af: replace cpt slot with lf id on reg write")
> Signed-off-by: Bharat Bhushan <bbhushan2@xxxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>