net: ethernet: mtk_eth_soc: rely on txd_size in mtk_tx_alloc/mtk_tx_clean
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 20 May 2022 18:11:29 +0000 (20:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 21:24:32 +0000 (22:24 +0100)
commit0e05744beda4ae2d65100ed217e4bd50130b4078
treea0506c76822714b6d1c2f8c0746fd29a136a2ab2
parenteb067347aa87eaf8a42d945d3e877b1e8333f5ea
net: ethernet: mtk_eth_soc: rely on txd_size in mtk_tx_alloc/mtk_tx_clean

This is a preliminary patch to add mt7986 ethernet support.

Tested-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c