[PATCH net-next 02/10] net: microchip: sparx5: Clear rule counter even if lookup is disabled

Dan Carpenter error27 at gmail.com
Mon Feb 13 07:38:40 PST 2023


On Mon, Feb 13, 2023 at 04:32:21PM +0100, Steen Hegelund wrote:
> There are two writes to the 792 address as the counter recides with the start of
> the rule (the lowest address of the rule).  Instead of being written after the
> rule, it is now being written before the rule, so the test array that records
> the order of the write operations gets changed.
> 
> The is2_admin.last_used_addr on the other hand records the "low water mark" of
> used addresses in the VCAP instance, so it does not change as the rule size is
> the same.

That explains it.  Thanks!

regards,
dan carpenter



More information about the linux-arm-kernel mailing list