Re: [PATCH net-next v11 0/9] net: macb: implement context swapping

From: patchwork-bot+netdevbpf

Date: Tue Oct 20 2026 - 03:53:46 EST


Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 13 Oct 2026 15:16:38 +0200 you wrote:
> MACB has a pretty primitive approach to buffer management. They are all
> stored in `struct macb *bp`. On operations that require buffer realloc
> (set_ringparam & change_mtu at the moment), the only option is to close
> the interface, change our global state and re-open the interface.
>
> Two issues:
> - It doesn't fly on memory pressured systems; we free our precious
> buffers and don't manage to reallocate fully, meaning our machine
> just lost its network access.
> - Anecdotally, it is pretty slow because it implies a full PHY reinit.
>
> [...]

Here is the summary with links:
- [net-next,v11,1/9] net: macb: close race between NAPI polls & ndo_stop
https://git.kernel.org/netdev/net-next/c/ba16ad3c8769
- [net-next,v11,2/9] net: macb: introduce macb_context struct for buffer management
https://git.kernel.org/netdev/net-next/c/435345c65180
- [net-next,v11,3/9] net: macb: avoid macb_init_rx_buffer_size() modifying state
https://git.kernel.org/netdev/net-next/c/b8ab596dabde
- [net-next,v11,4/9] net: macb: make `struct macb` subset reachable from macb_context struct
https://git.kernel.org/netdev/net-next/c/9bfec20d011f
- [net-next,v11,5/9] net: macb: change caps helpers signatures
https://git.kernel.org/netdev/net-next/c/dd1aaefee4f6
- [net-next,v11,6/9] net: macb: change function signatures to take contexts
https://git.kernel.org/netdev/net-next/c/ed16494c2c50
- [net-next,v11,7/9] net: macb: introduce macb_context_alloc() helper
https://git.kernel.org/netdev/net-next/c/88e99640fcd0
- [net-next,v11,8/9] net: macb: use context swapping in .set_ringparam()
https://git.kernel.org/netdev/net-next/c/dcc3288b9433
- [net-next,v11,9/9] net: macb: use context swapping in .ndo_change_mtu()
https://git.kernel.org/netdev/net-next/c/a98375924d64

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html