Re: [PATCH net-next 1/7] net: mscc: ocelot: export a single ocelot_mm_irq()

From: Florian Fainelli
Date: Mon Apr 17 2023 - 08:56:56 EST




On 4/15/2023 10:05 AM, Vladimir Oltean wrote:
When the switch emits an IRQ, we don't know what caused it, and we
iterate through all ports to check the MAC Merge status.

Move that iteration inside the ocelot lib; we will change the locking in
a future change and it would be good to encapsulate that lock completely
within the ocelot lib.

Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian