1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Fri, 28 Oct 2022 12:54:48 +0200
3 Subject: [PATCH] net: ethernet: mtk_eth_soc: set NETIF_F_ALL_TSO
5 Significantly improves performance by avoiding unnecessary segmentation
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
10 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
11 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
14 NETIF_F_HW_VLAN_CTAG_TX | \
15 NETIF_F_HW_VLAN_CTAG_RX | \
16 - NETIF_F_SG | NETIF_F_TSO | \
18 + NETIF_F_SG | NETIF_F_ALL_TSO | \
21 #define MTK_HW_FEATURES_MT7628 (NETIF_F_SG | NETIF_F_RXCSUM)