]> git.dujemihanovic.xyz Git - linux.git/commit
net: lan966x: use library helper for freeing rx buffers
authorDaniel Machon <daniel.machon@microchip.com>
Thu, 5 Sep 2024 08:06:34 +0000 (10:06 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Sep 2024 09:04:16 +0000 (11:04 +0200)
commitf51293b3ea89b3028745d8f0c9206df4bdc16905
tree2c8cb667a20b04cb66ef619bfd70fd8f225d9eac
parent2b5a09e67b72146161df176ba73ddb4d6607f3a0
net: lan966x: use library helper for freeing rx buffers

The library has the helper fdma_free_phys() for freeing physical FDMA
memory. Use it in the exit path.

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