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

Use the fdma_dcb_add() function to add DCB's in the rx path. This gets
rid of the open-coding of nextptr and dataptr handling and the functions
for adding DCB's.

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