summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch
diff options
context:
space:
mode:
authorWeijie Gao <hackpascal@gmail.com>2024-03-08 22:03:01 +0800
committerRobert Marko <robimarko@gmail.com>2024-03-11 20:17:26 +0100
commit6bac820c0f6aa804eeef022875706ada70f1360f (patch)
tree47f1aea2b476d14b0516cf22e095f169cc4df92d /target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch
parentd9bc5c93de1412ee13acc61e3aa0a52327b44e5e (diff)
downloadopenwrt-6bac820c0f6aa804eeef022875706ada70f1360f.tar.gz
openwrt-6bac820c0f6aa804eeef022875706ada70f1360f.tar.bz2
openwrt-6bac820c0f6aa804eeef022875706ada70f1360f.zip
generic: 6.6: refresh backport patches
Refresh backport patches with make target/linux/refresh. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
Diffstat (limited to 'target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch')
-rw-r--r--target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch b/target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch
index 789b93e9f9..821fd60a2d 100644
--- a/target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch
+++ b/target/linux/generic/backport-6.6/770-net-introduce-napi_is_scheduled-helper.patch
@@ -25,7 +25,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
--- a/drivers/net/ethernet/chelsio/cxgb3/sge.c
+++ b/drivers/net/ethernet/chelsio/cxgb3/sge.c
-@@ -2507,14 +2507,6 @@ static int napi_rx_handler(struct napi_s
+@@ -2501,14 +2501,6 @@ static int napi_rx_handler(struct napi_s
return work_done;
}
@@ -42,7 +42,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
* @adap: the adapter
--- a/drivers/net/wireless/realtek/rtw89/core.c
+++ b/drivers/net/wireless/realtek/rtw89/core.c
-@@ -1479,7 +1479,7 @@ static void rtw89_core_rx_to_mac80211(st
+@@ -1744,7 +1744,7 @@ static void rtw89_core_rx_to_mac80211(st
struct napi_struct *napi = &rtwdev->napi;
/* In low power mode, napi isn't scheduled. Receive it to netif. */
@@ -53,7 +53,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
rtw89_core_hw_to_sband_rate(rx_status);
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
-@@ -468,6 +468,29 @@ static inline bool napi_prefer_busy_poll
+@@ -480,6 +480,29 @@ static inline bool napi_prefer_busy_poll
return test_bit(NAPI_STATE_PREFER_BUSY_POLL, &n->state);
}
@@ -85,7 +85,7 @@ Signed-off-by: Paolo Abeni <pabeni@redhat.com>
/**
--- a/net/core/dev.c
+++ b/net/core/dev.c
-@@ -6533,7 +6533,7 @@ static int __napi_poll(struct napi_struc
+@@ -6555,7 +6555,7 @@ static int __napi_poll(struct napi_struc
* accidentally calling ->poll() when NAPI is not scheduled.
*/
work = 0;