projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.14 to 4.14.138
[openwrt/openwrt.git]
/
target
/
linux
/
mediatek
/
patches-4.14
/
0048-net-core-add-RPS-balancer.patch
diff --git
a/target/linux/mediatek/patches-4.14/0048-net-core-add-RPS-balancer.patch
b/target/linux/mediatek/patches-4.14/0048-net-core-add-RPS-balancer.patch
index aeb81e14bf5d1c43b4fa933f473953916400f797..6e254726e83b91d9ac2dc59c45d28d4f87a15d0e 100644
(file)
--- a/
target/linux/mediatek/patches-4.14/0048-net-core-add-RPS-balancer.patch
+++ b/
target/linux/mediatek/patches-4.14/0048-net-core-add-RPS-balancer.patch
@@
-10,7
+10,7
@@
Signed-off-by: John Crispin <john@phrozen.org>
--- a/net/core/dev.c
+++ b/net/core/dev.c
--- a/net/core/dev.c
+++ b/net/core/dev.c
-@@ -3
551,6 +3551
,58 @@ set_rps_cpu(struct net_device *dev, stru
+@@ -3
658,6 +3658
,58 @@ set_rps_cpu(struct net_device *dev, stru
return rflow;
}
return rflow;
}
@@
-69,7
+69,7
@@
Signed-off-by: John Crispin <john@phrozen.org>
/*
* get_rps_cpu is called from netif_receive_skb and returns the target
* CPU from the RPS map of the receiving queue for a given skb.
/*
* get_rps_cpu is called from netif_receive_skb and returns the target
* CPU from the RPS map of the receiving queue for a given skb.
-@@ -3
640,7 +3692
,7 @@ static int get_rps_cpu(struct net_device
+@@ -3
747,7 +3799
,7 @@ static int get_rps_cpu(struct net_device
try_rps:
if (map) {
try_rps:
if (map) {
@@
-78,7
+78,7
@@
Signed-off-by: John Crispin <john@phrozen.org>
if (cpu_online(tcpu)) {
cpu = tcpu;
goto done;
if (cpu_online(tcpu)) {
cpu = tcpu;
goto done;
-@@ -8
431,6 +8483
,9 @@ static int __init net_dev_init(void)
+@@ -8
846,6 +8898
,9 @@ static int __init net_dev_init(void)
sd->backlog.weight = weight_p;
}
sd->backlog.weight = weight_p;
}