[PATCH net-next 00/15] net: stmmac: clean up descriptor handling part 1

Russell King (Oracle) linux at armlinux.org.uk
Wed Mar 11 02:51:41 PDT 2026


Hi,

Part 1 of cleaning up the stmmac descriptor handling. Rearrange the
struct stmmac_tx_info to pack better, and introduce helpers for
duplicated code handing the transmit and receive descriptors. Remove
unnecessary struct members that are only transitorily used.

 drivers/net/ethernet/stmicro/stmmac/stmmac.h      |   8 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 458 +++++++++-------------
 2 files changed, 194 insertions(+), 272 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list