]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: add helper to get size of a receive descriptor
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 14 Mar 2026 09:42:45 +0000 (09:42 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Mar 2026 03:32:08 +0000 (20:32 -0700)
commit4f6280c450ba699e3b700f1cbc4ff8dbc70f3c96
tree3eec76904dabcefaff1345a6f565630a16c0cf65
parentee1b6a94ba1246e505e2411080f23afb29e03425
net: stmmac: add helper to get size of a receive descriptor

Add and use a helper to get the size of the hardware receive
descriptor.

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