]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: clarify priv->pause and pause module parameter
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 18 Feb 2025 10:24:29 +0000 (10:24 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Feb 2025 02:57:28 +0000 (18:57 -0800)
commitff1a9b2e311f6894afe39b0000dc7482498eb2d1
treef73d5ee5b7ceb78ffd002ad022f2fbc29a64456a
parent47dfd7a72257e91171d56e220ea484a04df89847
net: stmmac: clarify priv->pause and pause module parameter

priv->pause corresponds with "pause_time" in the 802.3 specification,
and is also called "pause_time" in the various MAC backends. For
consistency, use the same name in the core stmmac code.

Clarify the units of the "pause" module parameter which sets up this
struct member to indicate that it's in units of the pause_quanta
defined by 802.3, which is 512 bit times.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Link: https://patch.msgid.link/E1tkKmD-004ObA-9K@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c