Re: [PATCH net] net: dsa: vsc73xx: fix possible subblocks range of CAPT block

From: Paweł Dembicki
Date: Wed Sep 04 2024 - 02:44:10 EST


wt., 3 wrz 2024 o 23:48 Florian Fainelli <f.fainelli@xxxxxxxxx> napisał(a):
>
> On 9/3/24 13:33, Pawel Dembicki wrote:
> > CAPT block (CPU Capture Buffer) have 7 sublocks: 0-3, 4, 6, 7.
> > Function 'vsc73xx_is_addr_valid' allows to use only block 0 at this
> > moment.
> >
> > This patch fix it.
>
> No objection to targeting 'net' as it is a proper bug fix, however there
> is nothing in 'net' that currently depends upon VSC73XX_BLOCK_CAPTURE,
> so this has no functional impact at the moment.

Yes. I found it during work on the STP packet capture funcionality.
It's almost done, so I decided to send this fix to the 'net' before.