From: Jakub Kicinski Date: Wed, 11 Mar 2026 02:54:43 +0000 (-0700) Subject: Merge branch 'net-stmmac-start-to-shrink-memory-usage' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=482aac8b56ca21d06c588517970579474d56736e;p=thirdparty%2Flinux.git Merge branch 'net-stmmac-start-to-shrink-memory-usage' Russell King says: ==================== net: stmmac: start to shrink memory usage Start shrinking stmmac's memory usage by avoiding using "int" for members that are only used for 0/1 (boolean) values, or values that can't be larger than 255. In addition, as struct stmmac_dma_cfg is approximately a cache line, shrinks below a cache line as a result of this patch set, and is required, there is no point separately allocating this from struct plat_stmmacenet_data. Embed it into the end of this struct and set the existing pointer to avoid large wide-spread changes. Lastly, add documentation for struct stmmac_dma_cfg, and document the stmmac clocks as best we can given the driver history. ==================== Link: https://patch.msgid.link/aa6VEsmBK-S9eNYU@shell.armlinux.org.uk Signed-off-by: Jakub Kicinski --- 482aac8b56ca21d06c588517970579474d56736e