]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethernet: mtk_wed: introduce mtk_wed_buf structure
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 18 Sep 2023 10:29:08 +0000 (12:29 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 19 Sep 2023 16:27:55 +0000 (18:27 +0200)
commitff0ea57fa30e860d3373acd1383e9d9599144b58
tree2bd10cdaf8de68b82141123776feff3ddb13acbd
parentbafd764a8baa87e19e6beeaa58eb85fcbbdd6b20
net: ethernet: mtk_wed: introduce mtk_wed_buf structure

Introduce mtk_wed_buf structure to store both virtual and physical
addresses allocated in mtk_wed_tx_buffer_alloc() routine. This is a
preliminary patch to add WED support for MT7988 SoC since it relies on a
different dma descriptor layout not storing page dma addresses.

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
include/linux/soc/mediatek/mtk_wed.h