Subject: Re: [PATCH net 2/4] net: sparx5: fix sleep in atomic context in MAC table access

From: Jakub Kicinski <[email-masked]>
Date: Mon, 4 May 2026 16:52:58 -0700

On Mon, 4 May 2026 16:43:43 +0200 Daniel Machon wrote:
> sparx5_mact_learn() is called from .ndo_set_rx_mode with
> netif_addr_lock_bh held, but takes sparx5->lock which is a mutex.
> A mutex may block, which is not allowed from atomic context.

Could you try to switch to the recently added ndo_set_rx_mode_async?
We added it exactly because most drivers have to sleep / wait for FW
to do something.