]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: macb: Introduce gem_init_rx_ring()
authorKevin Hao <haokexin@gmail.com>
Fri, 20 Mar 2026 14:14:00 +0000 (10:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2026 10:08:48 +0000 (11:08 +0100)
commitf1cf6177b2304d7b2ba09e01c2d2f0aecdfb6a4e
treebdb375445d6c9f898c885fe7bb63d87fd357f3d8
parent6e40ebb999c2c3d2fbb3cacb61f0384ee6e69075
net: macb: Introduce gem_init_rx_ring()

[ Upstream commit 1a7124ecd655bcaf1845197fe416aa25cff4c3ea ]

Extract the initialization code for the GEM RX ring into a new function.
This change will be utilized in a subsequent patch. No functional changes
are introduced.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260312-macb-versal-v1-1-467647173fa4@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 718d0766ce4c ("net: macb: Reinitialize tx/rx queue pointer registers and rx ring during resume")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/cadence/macb_main.c