[PATCH net-next v2] net: thunderx: Unembed netdev structure
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Jun 27 17:10:29 PDT 2024
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Wed, 26 Jun 2024 10:35:02 -0700 you wrote:
> Embedding net_device into structures prohibits the usage of flexible
> arrays in the net_device structure. For more details, see the discussion
> at [1].
>
> Un-embed the net_devices from struct lmac by converting them
> into pointers, and allocating them dynamically. Use the leverage
> alloc_netdev() to allocate the net_device object at
> bgx_lmac_enable().
>
> [...]
Here is the summary with links:
- [net-next,v2] net: thunderx: Unembed netdev structure
https://git.kernel.org/netdev/net-next/c/94833addfaba
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list