aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2023-06-03 14:23:54 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-06-03 14:31:38 +0200
commit171b51519206b5e66ebd01d322f41d790976ce87 (patch)
treee285fc331c4a3b29f03e61e06c4e0b5c129c5162 /target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch
parent6bca11f49615f507dddc8073fe5bd098f2dd45ac (diff)
downloadupstream-171b51519206b5e66ebd01d322f41d790976ce87.tar.gz
upstream-171b51519206b5e66ebd01d322f41d790976ce87.tar.bz2
upstream-171b51519206b5e66ebd01d322f41d790976ce87.zip
kernel: bump 5.10 to 5.10.181
All patches automatically rebased. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch')
-rw-r--r--target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch b/target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch
index 9d5fb6e20c..104b5687da 100644
--- a/target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch
+++ b/target/linux/generic/backport-5.10/601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch
@@ -131,7 +131,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
static int __dev_open(struct net_device *dev, struct netlink_ext_ack *extack)
{
const struct net_device_ops *ops = dev->netdev_ops;
-@@ -4274,6 +4296,21 @@ int gro_normal_batch __read_mostly = 8;
+@@ -4276,6 +4298,21 @@ int gro_normal_batch __read_mostly = 8;
static inline void ____napi_schedule(struct softnet_data *sd,
struct napi_struct *napi)
{
@@ -153,7 +153,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
list_add_tail(&napi->poll_list, &sd->poll_list);
__raise_softirq_irqoff(NET_RX_SOFTIRQ);
}
-@@ -6766,6 +6803,12 @@ void netif_napi_add(struct net_device *d
+@@ -6768,6 +6805,12 @@ void netif_napi_add(struct net_device *d
set_bit(NAPI_STATE_NPSVC, &napi->state);
list_add_rcu(&napi->dev_list, &dev->napi_list);
napi_hash_add(napi);
@@ -166,7 +166,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
}
EXPORT_SYMBOL(netif_napi_add);
-@@ -6782,9 +6825,28 @@ void napi_disable(struct napi_struct *n)
+@@ -6784,9 +6827,28 @@ void napi_disable(struct napi_struct *n)
hrtimer_cancel(&n->timer);
clear_bit(NAPI_STATE_DISABLE, &n->state);
@@ -195,7 +195,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
static void flush_gro_hash(struct napi_struct *napi)
{
int i;
-@@ -6810,6 +6872,11 @@ void __netif_napi_del(struct napi_struct
+@@ -6812,6 +6874,11 @@ void __netif_napi_del(struct napi_struct
flush_gro_hash(napi);
napi->gro_bitmask = 0;
@@ -207,7 +207,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
}
EXPORT_SYMBOL(__netif_napi_del);
-@@ -6891,6 +6958,51 @@ static int napi_poll(struct napi_struct
+@@ -6893,6 +6960,51 @@ static int napi_poll(struct napi_struct
return work;
}