X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fbackport-5.10%2F601-v5.12-net-implement-threaded-able-napi-poll-loop-support.patch;h=8543b305b5bc32d42c7d6b334703d498914ae6f6;hb=706a4ec40cce108f484b40805bfa48619a0a7f09;hp=38e276ef72c56064738e06f46a8beb1e4d4ef157;hpb=d075bb3f4a5317fa403cc8fa11bd561607ea6b71;p=openwrt%2Fstaging%2Fansuel.git 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 38e276ef72..8543b305b5 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 static int __dev_open(struct net_device *dev, struct netlink_ext_ack *extack) { const struct net_device_ops *ops = dev->netdev_ops; -@@ -4267,6 +4289,21 @@ int gro_normal_batch __read_mostly = 8; +@@ -4271,6 +4293,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 list_add_tail(&napi->poll_list, &sd->poll_list); __raise_softirq_irqoff(NET_RX_SOFTIRQ); } -@@ -6758,6 +6795,12 @@ void netif_napi_add(struct net_device *d +@@ -6762,6 +6799,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 } EXPORT_SYMBOL(netif_napi_add); -@@ -6774,9 +6817,28 @@ void napi_disable(struct napi_struct *n) +@@ -6778,9 +6821,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 static void flush_gro_hash(struct napi_struct *napi) { int i; -@@ -6802,6 +6864,11 @@ void __netif_napi_del(struct napi_struct +@@ -6806,6 +6868,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 } EXPORT_SYMBOL(__netif_napi_del); -@@ -6883,6 +6950,51 @@ static int napi_poll(struct napi_struct +@@ -6887,6 +6954,51 @@ static int napi_poll(struct napi_struct return work; }