diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-12-13 18:15:07 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-12-21 12:56:22 +0100 |
commit | 5414aa88aead04f1c54b4654f2e7e94384369527 (patch) | |
tree | b5b6a28da85cc1fbac5d84c69449c4e3405716e1 /target/linux/ipq40xx | |
parent | 4b52d895315e8416ab33e9276198428d7c0a1ba6 (diff) | |
download | upstream-5414aa88aead04f1c54b4654f2e7e94384369527.tar.gz upstream-5414aa88aead04f1c54b4654f2e7e94384369527.tar.bz2 upstream-5414aa88aead04f1c54b4654f2e7e94384369527.zip |
kernel: backport the upstream implementation of threaded NAPI to 5.4
The workqueue based implementation has a few corner cases and typically lower
performance than the upstream one
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 01bebc070c35d87c24a594fff7ee1911965759aa)
Diffstat (limited to 'target/linux/ipq40xx')
-rw-r--r-- | target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch b/target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch index 167673bd11..1e22abdf51 100644 --- a/target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch +++ b/target/linux/ipq40xx/patches-5.4/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch @@ -24,7 +24,7 @@ Reviewed-by: Grant Grundler <grundler@chromium.org> --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h -@@ -776,6 +776,16 @@ struct xps_map { +@@ -767,6 +767,16 @@ struct xps_map { #define XPS_MIN_MAP_ALLOC ((L1_CACHE_ALIGN(offsetof(struct xps_map, queues[1])) \ - sizeof(struct xps_map)) / sizeof(u16)) @@ -41,7 +41,7 @@ Reviewed-by: Grant Grundler <grundler@chromium.org> /* * This structure holds all XPS maps for device. Maps are indexed by CPU. */ -@@ -1379,6 +1389,9 @@ struct net_device_ops { +@@ -1370,6 +1380,9 @@ struct net_device_ops { const struct sk_buff *skb, u16 rxq_index, u32 flow_id); |