[PATCH net-next] net: stmmac: move MSI data out of struct stmmac_priv

Bezdeka, Florian florian.bezdeka at siemens.com
Thu Mar 12 08:05:22 PDT 2026


On Thu, 2026-03-12 at 12:13 +0000, Russell King (Oracle) wrote:
> Only three platforms supprt MSIs, which means having all the strings
> and interrupt arrays always allocated wastes space. None of this data
> is performance critical - this data is only used when requesting and
> releasing the MSI interrupts.
> 
> Move the MSI data out of struct stmmac_priv into its own separately
> allocated structure, and move its initialisation to a separate
> function.
> 
> This removes 768 bytes from struct stmmac_priv.
> 
> Link: https://lore.kernel.org/r/aYtq4ypxXTvn_Is6@shell.armlinux.org.uk
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
> ---
> 

Thanks a lot Russell, I didn't manage to come back to this cleanup
topic. Highly appreciated!

Reviewed-by: Florian Bezdeka <florian.bezdeka at siemens.com>

Best regards,
Florian


More information about the linux-arm-kernel mailing list