diff options
| author | Wei Fang <wei.fang@nxp.com> | 2026-07-20 09:43:05 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-27 16:31:53 -0700 |
| commit | debf0c7a34fab2c4c47fc257a97a145543b6d3aa (patch) | |
| tree | 304a6b58e236132af6deac515f05cb584f35c2e8 /include/linux | |
| parent | 0ce10770963e7b4bf252fe0f0283326504bcbb36 (diff) | |
net: enetc: convert ndo_set_rx_mode() to ndo_set_rx_mode_async()
The current ndo_set_rx_mode() is called under netif_addr_lock spinlock
with BHs disabled, which prevents drivers from sleeping. To work around
this limitation, the enetc driver uses a dedicated workqueue to defer
MAC address list updates to a sleepable context.
Since commit 3554b4345d85 ("net: introduce ndo_set_rx_mode_async and
netdev_rx_mode_work") introduced the ndo_set_rx_mode_async() callback,
drivers can now handle address list updates directly in a sleepable
context.
Therefore, convert the enetc driver to use ndo_set_rx_mode_async() and
remove the dedicated workqueue and the deferred work item accordingly.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/20260720014317.1059359-4-wei.fang@oss.nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
