net: mediatek: fix usability with wget command
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 17 Dec 2024 08:40:03 +0000 (16:40 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 31 Dec 2024 16:58:52 +0000 (10:58 -0600)
commitc949686e558e00cbb8c38f7c060701006d70cea8
tree447b2ef5f93d226eb204ba8454ff3c64fa1dc199
parentb9dfb5636bc5eb9b783b88b8388dc7d1f41d6498
net: mediatek: fix usability with wget command

The wget command currently cannot work correctly with mtk_eth driver.
This patch fixed this by increase DMA ring size and invalidate ring data
after use.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/net/mtk_eth.c