diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-13 14:51:58 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-17 06:10:51 +0300 |
| commit | dab177cbea3491354cc3c0b268602d8902501233 (patch) | |
| tree | 3a0104d3e9c8a4fe98527ac526d20917920ffae5 /include/linux/debugobjects.h | |
| parent | a91b5d44d5c5b4f46a087200c124c9899cc0ec48 (diff) | |
| download | linux-dab177cbea3491354cc3c0b268602d8902501233.tar.xz | |
net: stmmac: move MSI data out of struct stmmac_priv
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
Reviewed-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w113e-0000000DDwc-2oRv@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
