]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: add stmmac_tso_header_size()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 1 Apr 2026 07:21:29 +0000 (08:21 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Apr 2026 18:28:18 +0000 (11:28 -0700)
commitf799b5dab9c98a4b52a93d1c357916e0f0b7e663
tree219d3ba2e522e1aa10c179209cf975ca7000c85a
parente32820264c2949a3e75bc5083e49c885e3bbaf62
net: stmmac: add stmmac_tso_header_size()

We will need to compute the size of the protocol headers in two places,
so move this into a separate function.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w7ptJ-0000000Eat5-2ZlA@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c