]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: provide stmmac_eee_tx_busy()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 13 Jan 2025 11:46:05 +0000 (11:46 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 02:22:04 +0000 (18:22 -0800)
commit82f2025dda761ec7193a03effaf9d48fee456618
treedfdba8c1cbeaec1bf8e49a93a737140e0ff77c1f
parent0cf44bd0c118bcbbbb10f0cc740cd64db227496f
net: stmmac: provide stmmac_eee_tx_busy()

Extract the code which checks whether there's still work to do on any
of the stmmac transmit queues. This will allow us to combine
stmmac_enable_eee_mode() with stmmac_try_to_start_sw_lpi() in the
next patch.

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