X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fbackport-5.10%2F602-v5.12-net-add-sysfs-attribute-to-control-napi-threaded-mod.patch;h=eb2f8189d070a3008f99fe194369653744a1eb1c;hb=50cb897d251133752ea2cd338153a6dcb011ea98;hp=9b73f8cbb470da06935d6a31edc2eb2720792283;hpb=706a4ec40cce108f484b40805bfa48619a0a7f09;p=openwrt%2Fopenwrt.git diff --git a/target/linux/generic/backport-5.10/602-v5.12-net-add-sysfs-attribute-to-control-napi-threaded-mod.patch b/target/linux/generic/backport-5.10/602-v5.12-net-add-sysfs-attribute-to-control-napi-threaded-mod.patch index 9b73f8cbb4..eb2f8189d0 100644 --- a/target/linux/generic/backport-5.10/602-v5.12-net-add-sysfs-attribute-to-control-napi-threaded-mod.patch +++ b/target/linux/generic/backport-5.10/602-v5.12-net-add-sysfs-attribute-to-control-napi-threaded-mod.patch @@ -46,7 +46,7 @@ Signed-off-by: David S. Miller + == ================================== --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h -@@ -491,6 +491,8 @@ static inline bool napi_complete(struct +@@ -498,6 +498,8 @@ static inline bool napi_complete(struct return napi_complete_done(n, 0); } @@ -57,7 +57,7 @@ Signed-off-by: David S. Miller * @n: NAPI context --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -4297,8 +4297,9 @@ static inline void ____napi_schedule(str +@@ -4298,8 +4298,9 @@ static inline void ____napi_schedule(str if (test_bit(NAPI_STATE_THREADED, &napi->state)) { /* Paired with smp_mb__before_atomic() in @@ -69,7 +69,7 @@ Signed-off-by: David S. Miller * wake_up_process() when it's not NULL. */ thread = READ_ONCE(napi->thread); -@@ -6772,6 +6773,49 @@ static void init_gro_hash(struct napi_st +@@ -6773,6 +6774,49 @@ static void init_gro_hash(struct napi_st napi->gro_bitmask = 0; }