diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-12-13 18:15:07 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-12-15 20:36:22 +0100 |
commit | 01bebc070c35d87c24a594fff7ee1911965759aa (patch) | |
tree | 98ea69c1909e2ad3726c71d3415b1f509f8150e0 /target/linux/ipq40xx | |
parent | c7727833945deb70eed7520ab44fa08b0870b8a7 (diff) | |
download | upstream-01bebc070c35d87c24a594fff7ee1911965759aa.tar.gz upstream-01bebc070c35d87c24a594fff7ee1911965759aa.tar.bz2 upstream-01bebc070c35d87c24a594fff7ee1911965759aa.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>
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); |