Re: [PATCH 0/3] netpoll: Code organization improvements

From: patchwork-bot+netdevbpf
Date: Thu Jun 19 2025 - 19:20:31 EST


Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 18 Jun 2025 02:32:44 -0700 you wrote:
> The netpoll_setup() function has grown complex over time, mixing
> different error handling and concerns like carrier waiting, IPv4 address
> retrieval, and IPv6 address retrieval all within a single function,
> which is huge (127 LoC).
>
> This patch series refactors the netpoll_setup() function to improve code
> organization and readability by extracting logical blocks into dedicated
> helper functions. netpoll_setup() length is reduced to 72 LoC.
>
> [...]

Here is the summary with links:
- [1/3] netpoll: Extract carrier wait function
https://git.kernel.org/netdev/net-next/c/76d30b51e818
- [2/3] netpoll: extract IPv4 address retrieval into helper function
https://git.kernel.org/netdev/net-next/c/3699f992e8c2
- [3/3] netpoll: Extract IPv6 address retrieval function
https://git.kernel.org/netdev/net-next/c/6ad7969a361c

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