armsr: armv8: enable serial console for Renesas platforms
[openwrt/staging/stintel.git] / target / linux / generic / hack-6.6 / 600-net-enable-fraglist-GRO-by-default.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Tue, 23 Apr 2024 12:35:21 +0200
3 Subject: [PATCH] net: enable fraglist GRO by default
4
5 This can significantly improve performance for packet forwarding/bridging
6
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 ---
9
10 --- a/include/linux/netdev_features.h
11 +++ b/include/linux/netdev_features.h
12 @@ -242,10 +242,10 @@ static inline int find_next_netdev_featu
13 #define NETIF_F_UPPER_DISABLES NETIF_F_LRO
14
15 /* changeable features with no special hardware requirements */
16 -#define NETIF_F_SOFT_FEATURES (NETIF_F_GSO | NETIF_F_GRO)
17 +#define NETIF_F_SOFT_FEATURES (NETIF_F_GSO | NETIF_F_GRO | NETIF_F_GRO_FRAGLIST)
18
19 /* Changeable features with no special hardware requirements that defaults to off. */
20 -#define NETIF_F_SOFT_FEATURES_OFF (NETIF_F_GRO_FRAGLIST | NETIF_F_GRO_UDP_FWD)
21 +#define NETIF_F_SOFT_FEATURES_OFF (NETIF_F_GRO_UDP_FWD)
22
23 #define NETIF_F_VLAN_FEATURES (NETIF_F_HW_VLAN_CTAG_FILTER | \
24 NETIF_F_HW_VLAN_CTAG_RX | \