]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: move first xmit descriptor SARC and TBS config
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 20 Mar 2026 16:47:17 +0000 (16:47 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Mar 2026 11:08:25 +0000 (12:08 +0100)
commitcafacdc48a74e16b2ad727b3f31a06c08d96e0b1
treefb7d1b8898855ee77cb1028bd54390ac274bb25b
parentfcbf106189aaf69a2a2f6116672d442d473ecbcd
net: stmmac: move first xmit descriptor SARC and TBS config

Move the first transmit descriptor's SARC and TBS configuration
alongside the code which populates the first descriptor, which helps
to keep all the code specific to that descriptor together.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w3d0H-0000000DfLp-0gIx@rmk-PC.armlinux.org.uk
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c