]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: airoha: Reset BQL stopping the netdevice
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 17 Oct 2024 14:01:41 +0000 (16:01 +0200)
committerAndrew Lunn <andrew@lunn.ch>
Sun, 20 Oct 2024 16:06:47 +0000 (11:06 -0500)
commitc9f947769b77c8e8f318bfc8a0777e5d20c44d8d
tree29bda8e894f590d3d42023ab225470eedf10fd95
parent93a610c00ffd8b9c7c108039d894ddd5193b147e
net: airoha: Reset BQL stopping the netdevice

Run airoha_qdma_cleanup_tx_queue() in ndo_stop callback in order to
unmap pending skbs. Moreover, reset BQL txq state stopping the netdevice,

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Hariprasad Kelam <hkelam@marvell.com>
Message-ID: <20241017-airoha-en7581-reset-bql-v1-1-08c0c9888de5@kernel.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/ethernet/mediatek/airoha_eth.c