OSDN Git Service

net: ethernet: mtk_wed: add reset to tx_ring_setup callback
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 24 Nov 2022 15:22:55 +0000 (16:22 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 29 Nov 2022 10:40:24 +0000 (11:40 +0100)
commit23dca7a90017ff2512c501f7da4c7ca7a95c2d6e
treebe556de34aa24e32b460020a9382ec4fddbe19a2
parentb08134c6e10938c8de3e47763674a2aa6f380d92
net: ethernet: mtk_wed: add reset to tx_ring_setup callback

Introduce reset parameter to mtk_wed_tx_ring_setup signature.
This is a preliminary patch to add Wireless Ethernet Dispatcher reset
support.

Co-developed-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mediatek/mtk_wed.c
drivers/net/wireless/mediatek/mt76/dma.c
include/linux/soc/mediatek/mtk_wed.h