]> git.dujemihanovic.xyz Git - linux.git/commit
net: lan966x: use FDMA library for adding DCB's in the tx path
authorDaniel Machon <daniel.machon@microchip.com>
Thu, 5 Sep 2024 08:06:36 +0000 (10:06 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Sep 2024 09:04:16 +0000 (11:04 +0200)
commit29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf
tree5220cfe663c490f8a09d39f78d919d4ef32a10d1
parentdf2ddc1458c39eacb8678333bea668a76de540de
net: lan966x: use FDMA library for adding DCB's in the tx path

Use the fdma_dcb_add() function to add DCB's in the tx path. This gets
rid of the open-coding of nextptr and dataptr handling and leaves it to
the library.

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