net: lan966x: refactor buffer reload function
authorDaniel Machon <daniel.machon@microchip.com>
Thu, 5 Sep 2024 08:06:40 +0000 (10:06 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Sep 2024 09:04:17 +0000 (11:04 +0200)
commit89ba464fcf548d64bc7215dfe769f791330ae8b6
treecb010c67a1cc18f85db335a494b96a6840cf12e5
parent9fbc5719f6aa2afbb5445e2b59fe577b4cb9d87c
net: lan966x: refactor buffer reload function

Now that we store everything in the fdma structs, refactor
lan966x_fdma_reload() to store and restore the entire struct.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c