net: ethernet: mtk_eth_soc: increase tx ring size for QDMA devices
authorFelix Fietkau <nbd@nbd.name>
Wed, 16 Nov 2022 08:07:29 +0000 (09:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 19 Nov 2022 03:46:05 +0000 (19:46 -0800)
commitc30e0b9b88b3cf460bd88d50784591fc97b05576
tree1e4d6a7a401b4c85c73ab7d2a8b06d3315f7ba0c
parentdbc4af768ba1670018c053b35a8613b811874f9c
net: ethernet: mtk_eth_soc: increase tx ring size for QDMA devices

In order to use the hardware traffic shaper feature, a larger tx ring is
needed, especially for the scratch ring, which the hardware shaper uses to
reorder packets.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20221116080734.44013-2-nbd@nbd.name
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h