forked from immortalwrt/immortalwrt
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.70 Removed upstreamed: generic/backport-6.6/902-net-llc-reset-skb-transport_header.patch[1] generic/pending-6.6/605-netfilter-nft_set_hash-unaligned-atomic-read-on-stru.patch[2] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.70&id=0c896816aa193e6459fc947747e5753c06b395b9 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.70&id=4f49349c1963e507aa37c1ec05178faeb0103959 Build system: x86/64 Build-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <[email protected]> Link: openwrt/openwrt#17545 Signed-off-by: Robert Marko <[email protected]>
- Loading branch information
Showing
39 changed files
with
93 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-6.6 = .69 | ||
LINUX_KERNEL_HASH-6.6.69 = 9c6305567b75d99514cde6eb9de39973f3d5c857a75bd9dcdfca57041f8d4f34 | ||
LINUX_VERSION-6.6 = .70 | ||
LINUX_KERNEL_HASH-6.6.70 = 84d23ee07fb26febbcb6d1295ba15efdc67ac382b4137b2c8853146c10fd2f97 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ Signed-off-by: Andi Shyti <[email protected]> | |
|
||
--- a/drivers/i2c/busses/Kconfig | ||
+++ b/drivers/i2c/busses/Kconfig | ||
@@ -839,7 +839,7 @@ config I2C_MT65XX | ||
@@ -841,7 +841,7 @@ config I2C_MT65XX | ||
|
||
config I2C_MT7621 | ||
tristate "MT7621/MT7628 I2C Controller" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ Signed-off-by: Christian Marangi <[email protected]> | |
|
||
--- a/include/linux/spinlock.h | ||
+++ b/include/linux/spinlock.h | ||
@@ -515,6 +515,10 @@ DEFINE_LOCK_GUARD_1(raw_spinlock_irq, ra | ||
raw_spin_lock_irq(_T->lock), | ||
raw_spin_unlock_irq(_T->lock)) | ||
@@ -519,6 +519,10 @@ DEFINE_LOCK_GUARD_1(raw_spinlock_irq, ra | ||
|
||
DEFINE_LOCK_GUARD_1_COND(raw_spinlock_irq, _try, raw_spin_trylock_irq(_T->lock)) | ||
|
||
+DEFINE_LOCK_GUARD_1(raw_spinlock_bh, raw_spinlock_t, | ||
+ raw_spin_lock_bh(_T->lock), | ||
|
@@ -23,9 +23,9 @@ Signed-off-by: Christian Marangi <[email protected]> | |
DEFINE_LOCK_GUARD_1(raw_spinlock_irqsave, raw_spinlock_t, | ||
raw_spin_lock_irqsave(_T->lock, _T->flags), | ||
raw_spin_unlock_irqrestore(_T->lock, _T->flags), | ||
@@ -528,6 +532,10 @@ DEFINE_LOCK_GUARD_1(spinlock_irq, spinlo | ||
spin_lock_irq(_T->lock), | ||
spin_unlock_irq(_T->lock)) | ||
@@ -540,6 +544,10 @@ DEFINE_LOCK_GUARD_1(spinlock_irq, spinlo | ||
DEFINE_LOCK_GUARD_1_COND(spinlock_irq, _try, | ||
spin_trylock_irq(_T->lock)) | ||
|
||
+DEFINE_LOCK_GUARD_1(spinlock_bh, spinlock_t, | ||
+ spin_lock_bh(_T->lock), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17583,7 +17583,7 @@ Signed-off-by: Phil Elwell <[email protected]> | |
* For devices with more than one control interface, we assume the | ||
--- a/sound/usb/quirks.c | ||
+++ b/sound/usb/quirks.c | ||
@@ -2247,6 +2247,8 @@ static const struct usb_audio_quirk_flag | ||
@@ -2249,6 +2249,8 @@ static const struct usb_audio_quirk_flag | ||
QUIRK_FLAG_ALIGN_TRANSFER), | ||
DEVICE_FLG(0x534d, 0x2109, /* MacroSilicon MS2109 */ | ||
QUIRK_FLAG_ALIGN_TRANSFER), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
|
||
--- a/drivers/usb/host/xhci.c | ||
+++ b/drivers/usb/host/xhci.c | ||
@@ -1497,6 +1497,109 @@ command_cleanup: | ||
@@ -1498,6 +1498,109 @@ command_cleanup: | ||
} | ||
|
||
/* | ||
|
@@ -125,7 +125,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
* non-error returns are a promise to giveback() the urb later | ||
* we drop ownership so next owner (or urb unlink) can get it | ||
*/ | ||
@@ -5347,6 +5450,7 @@ static const struct hc_driver xhci_hc_dr | ||
@@ -5360,6 +5463,7 @@ static const struct hc_driver xhci_hc_dr | ||
.endpoint_reset = xhci_endpoint_reset, | ||
.check_bandwidth = xhci_check_bandwidth, | ||
.reset_bandwidth = xhci_reset_bandwidth, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
|
||
--- a/drivers/usb/host/xhci-ring.c | ||
+++ b/drivers/usb/host/xhci-ring.c | ||
@@ -738,9 +738,9 @@ deq_found: | ||
@@ -739,9 +739,9 @@ deq_found: | ||
} | ||
|
||
if ((ep->ep_state & SET_DEQ_PENDING)) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
|
||
--- a/drivers/usb/host/xhci.c | ||
+++ b/drivers/usb/host/xhci.c | ||
@@ -1586,7 +1586,7 @@ static void xhci_fixup_endpoint(struct u | ||
@@ -1587,7 +1587,7 @@ static void xhci_fixup_endpoint(struct u | ||
return; | ||
} | ||
ctrl_ctx->add_flags = xhci_get_endpoint_flag_from_index(ep_index); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
erst_base = xhci_read_64(xhci, &ir->ir_set->erst_base); | ||
--- a/drivers/usb/host/xhci.h | ||
+++ b/drivers/usb/host/xhci.h | ||
@@ -1425,8 +1425,9 @@ struct urb_priv { | ||
@@ -1426,8 +1426,9 @@ struct urb_priv { | ||
* Each segment table entry is 4*32bits long. 1K seems like an ok size: | ||
* (1K bytes * 8bytes/bit) / (4*32 bits) = 64 segment entries in the table, | ||
* meaning 64 ring segments. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && | ||
--- a/drivers/usb/host/xhci-ring.c | ||
+++ b/drivers/usb/host/xhci-ring.c | ||
@@ -728,6 +728,15 @@ static int xhci_move_dequeue_past_td(str | ||
@@ -729,6 +729,15 @@ static int xhci_move_dequeue_past_td(str | ||
} while (!cycle_found || !td_last_trb_found); | ||
|
||
deq_found: | ||
|
@@ -52,7 +52,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
addr = xhci_trb_virt_to_dma(new_seg, new_deq); | ||
--- a/drivers/usb/host/xhci.h | ||
+++ b/drivers/usb/host/xhci.h | ||
@@ -1663,6 +1663,9 @@ struct xhci_hcd { | ||
@@ -1664,6 +1664,9 @@ struct xhci_hcd { | ||
#define XHCI_CDNS_SCTX_QUIRK BIT_ULL(48) | ||
#define XHCI_ETRON_HOST BIT_ULL(49) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && | ||
--- a/drivers/usb/host/xhci.h | ||
+++ b/drivers/usb/host/xhci.h | ||
@@ -1665,6 +1665,7 @@ struct xhci_hcd { | ||
@@ -1666,6 +1666,7 @@ struct xhci_hcd { | ||
|
||
/* Downstream VLI fixes */ | ||
#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(56) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && | ||
--- a/drivers/usb/host/xhci-ring.c | ||
+++ b/drivers/usb/host/xhci-ring.c | ||
@@ -3674,6 +3674,48 @@ static int xhci_align_td(struct xhci_hcd | ||
@@ -3714,6 +3714,48 @@ static int xhci_align_td(struct xhci_hcd | ||
return 1; | ||
} | ||
|
||
|
@@ -124,7 +124,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
/* This is very similar to what ehci-q.c qtd_fill() does */ | ||
int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, | ||
struct urb *urb, int slot_id, unsigned int ep_index) | ||
@@ -3830,6 +3872,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd * | ||
@@ -3870,6 +3912,8 @@ int xhci_queue_bulk_tx(struct xhci_hcd * | ||
} | ||
|
||
check_trb_math(urb, enqd_len); | ||
|
@@ -133,7 +133,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, | ||
start_cycle, start_trb); | ||
return 0; | ||
@@ -3979,6 +4023,8 @@ int xhci_queue_ctrl_tx(struct xhci_hcd * | ||
@@ -4019,6 +4063,8 @@ int xhci_queue_ctrl_tx(struct xhci_hcd * | ||
/* Event on completion */ | ||
field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state); | ||
|
||
|
@@ -144,7 +144,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
return 0; | ||
--- a/drivers/usb/host/xhci.h | ||
+++ b/drivers/usb/host/xhci.h | ||
@@ -1666,6 +1666,7 @@ struct xhci_hcd { | ||
@@ -1667,6 +1667,7 @@ struct xhci_hcd { | ||
/* Downstream VLI fixes */ | ||
#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(56) | ||
#define XHCI_VLI_SS_BULK_OUT_BUG BIT_ULL(57) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -333,15 +333,15 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
/* Global Debug LSP MUX Select */ | ||
#define DWC3_GDBGLSPMUX_ENDBC BIT(15) /* Host only */ | ||
#define DWC3_GDBGLSPMUX_HOSTSELECT(n) ((n) & 0x3fff) | ||
@@ -1062,6 +1065,7 @@ struct dwc3_scratchpad_array { | ||
@@ -1066,6 +1069,7 @@ struct dwc3_scratchpad_array { | ||
* @tx_max_burst_prd: max periodic ESS transmit burst size | ||
* @tx_fifo_resize_max_num: max number of fifos allocated during txfifo resize | ||
* @clear_stall_protocol: endpoint number that requires a delayed status phase | ||
+ * @axi_max_pipe: set to override the maximum number of pipelined AXI transfers | ||
* @hsphy_interface: "utmi" or "ulpi" | ||
* @connected: true when we're connected to a host, false otherwise | ||
* @softconnect: true when gadget connect is called, false when disconnect runs | ||
@@ -1299,6 +1303,7 @@ struct dwc3 { | ||
@@ -1303,6 +1307,7 @@ struct dwc3 { | ||
u8 tx_max_burst_prd; | ||
u8 tx_fifo_resize_max_num; | ||
u8 clear_stall_protocol; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
#define DWC3_GUCTL1_RESUME_OPMODE_HS_HOST BIT(10) | ||
|
||
/* Global Status Register */ | ||
@@ -1117,10 +1118,12 @@ struct dwc3_scratchpad_array { | ||
@@ -1121,10 +1122,12 @@ struct dwc3_scratchpad_array { | ||
* generation after resume from suspend. | ||
* @ulpi_ext_vbus_drv: Set to confiure the upli chip to drives CPEN pin | ||
* VBUS with an external supply. | ||
|
@@ -62,7 +62,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
* @tx_de_emphasis_quirk: set if we enable Tx de-emphasis quirk | ||
* @tx_de_emphasis: Tx de-emphasis value | ||
* 0 - -6dB de-emphasis | ||
@@ -1347,6 +1350,7 @@ struct dwc3 { | ||
@@ -1351,6 +1354,7 @@ struct dwc3 { | ||
unsigned ulpi_ext_vbus_drv:1; | ||
unsigned parkmode_disable_ss_quirk:1; | ||
unsigned parkmode_disable_hs_quirk:1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ Signed-off-by: Phil Elwell <[email protected]> | |
|
||
--- a/mm/vmscan.c | ||
+++ b/mm/vmscan.c | ||
@@ -4716,7 +4716,7 @@ void lru_gen_look_around(struct page_vma | ||
@@ -4723,7 +4723,7 @@ void lru_gen_look_around(struct page_vma | ||
if (!folio) | ||
continue; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
#define DWC3_GUCTL1_PARKMODE_DISABLE_SS BIT(17) | ||
#define DWC3_GUCTL1_PARKMODE_DISABLE_HS BIT(16) | ||
#define DWC3_GUCTL1_PARKMODE_DISABLE_FSLS BIT(15) | ||
@@ -1118,6 +1120,8 @@ struct dwc3_scratchpad_array { | ||
@@ -1122,6 +1124,8 @@ struct dwc3_scratchpad_array { | ||
* generation after resume from suspend. | ||
* @ulpi_ext_vbus_drv: Set to confiure the upli chip to drives CPEN pin | ||
* VBUS with an external supply. | ||
|
@@ -66,7 +66,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
* @parkmode_disable_ss_quirk: If set, disable park mode feature for all | ||
* Superspeed instances. | ||
* @parkmode_disable_hs_quirk: If set, disable park mode feature for all | ||
@@ -1348,6 +1352,8 @@ struct dwc3 { | ||
@@ -1352,6 +1356,8 @@ struct dwc3 { | ||
unsigned dis_tx_ipgap_linecheck_quirk:1; | ||
unsigned resume_hs_terminations:1; | ||
unsigned ulpi_ext_vbus_drv:1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
|
||
--- a/drivers/usb/host/xhci-ring.c | ||
+++ b/drivers/usb/host/xhci-ring.c | ||
@@ -505,6 +505,19 @@ void xhci_ring_ep_doorbell(struct xhci_h | ||
@@ -506,6 +506,19 @@ void xhci_ring_ep_doorbell(struct xhci_h | ||
|
||
trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
--- a/net/core/dev.c | ||
+++ b/net/core/dev.c | ||
@@ -4481,13 +4481,7 @@ static inline void ____napi_schedule(str | ||
@@ -4483,13 +4483,7 @@ static inline void ____napi_schedule(str | ||
*/ | ||
thread = READ_ONCE(napi->thread); | ||
if (thread) { | ||
|
@@ -47,7 +47,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wake_up_process(thread); | ||
return; | ||
} | ||
@@ -6643,8 +6637,6 @@ static int napi_poll(struct napi_struct | ||
@@ -6645,8 +6639,6 @@ static int napi_poll(struct napi_struct | ||
|
||
static int napi_thread_wait(struct napi_struct *napi) | ||
{ | ||
|
@@ -56,7 +56,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
set_current_state(TASK_INTERRUPTIBLE); | ||
|
||
while (!kthread_should_stop()) { | ||
@@ -6653,15 +6645,13 @@ static int napi_thread_wait(struct napi_ | ||
@@ -6655,15 +6647,13 @@ static int napi_thread_wait(struct napi_ | ||
* Testing SCHED bit is not enough because SCHED bit might be | ||
* set by some other busy poll thread or by napi_disable(). | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,15 +108,15 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
static inline void rps_lock_irqsave(struct softnet_data *sd, | ||
unsigned long *flags) | ||
{ | ||
@@ -4449,6 +4475,7 @@ EXPORT_SYMBOL(__dev_direct_xmit); | ||
@@ -4451,6 +4477,7 @@ EXPORT_SYMBOL(__dev_direct_xmit); | ||
/************************************************************************* | ||
* Receiver routines | ||
*************************************************************************/ | ||
+static DEFINE_PER_CPU(struct task_struct *, backlog_napi); | ||
|
||
int netdev_max_backlog __read_mostly = 1000; | ||
EXPORT_SYMBOL(netdev_max_backlog); | ||
@@ -4481,12 +4508,16 @@ static inline void ____napi_schedule(str | ||
@@ -4483,12 +4510,16 @@ static inline void ____napi_schedule(str | ||
*/ | ||
thread = READ_ONCE(napi->thread); | ||
if (thread) { | ||
|
@@ -133,7 +133,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
list_add_tail(&napi->poll_list, &sd->poll_list); | ||
WRITE_ONCE(napi->list_owner, smp_processor_id()); | ||
/* If not called from net_rx_action() | ||
@@ -4732,6 +4763,11 @@ static void napi_schedule_rps(struct sof | ||
@@ -4734,6 +4765,11 @@ static void napi_schedule_rps(struct sof | ||
|
||
#ifdef CONFIG_RPS | ||
if (sd != mysd) { | ||
|
@@ -145,7 +145,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
sd->rps_ipi_next = mysd->rps_ipi_list; | ||
mysd->rps_ipi_list = sd; | ||
|
||
@@ -5955,7 +5991,7 @@ static void net_rps_action_and_irq_enabl | ||
@@ -5957,7 +5993,7 @@ static void net_rps_action_and_irq_enabl | ||
#ifdef CONFIG_RPS | ||
struct softnet_data *remsd = sd->rps_ipi_list; | ||
|
||
|
@@ -154,7 +154,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
sd->rps_ipi_list = NULL; | ||
|
||
local_irq_enable(); | ||
@@ -5970,7 +6006,7 @@ static void net_rps_action_and_irq_enabl | ||
@@ -5972,7 +6008,7 @@ static void net_rps_action_and_irq_enabl | ||
static bool sd_has_rps_ipi_waiting(struct softnet_data *sd) | ||
{ | ||
#ifdef CONFIG_RPS | ||
|
@@ -163,7 +163,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
#else | ||
return false; | ||
#endif | ||
@@ -6014,7 +6050,7 @@ static int process_backlog(struct napi_s | ||
@@ -6016,7 +6052,7 @@ static int process_backlog(struct napi_s | ||
* We can use a plain write instead of clear_bit(), | ||
* and we dont need an smp_mb() memory barrier. | ||
*/ | ||
|
@@ -172,7 +172,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
again = false; | ||
} else { | ||
skb_queue_splice_tail_init(&sd->input_pkt_queue, | ||
@@ -6680,43 +6716,48 @@ static void skb_defer_free_flush(struct | ||
@@ -6682,43 +6718,48 @@ static void skb_defer_free_flush(struct | ||
} | ||
} | ||
|
||
|
@@ -250,7 +250,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
return 0; | ||
} | ||
|
||
@@ -11297,7 +11338,7 @@ static int dev_cpu_dead(unsigned int old | ||
@@ -11299,7 +11340,7 @@ static int dev_cpu_dead(unsigned int old | ||
|
||
list_del_init(&napi->poll_list); | ||
if (napi->poll == process_backlog) | ||
|
@@ -259,7 +259,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
else | ||
____napi_schedule(sd, napi); | ||
} | ||
@@ -11305,12 +11346,14 @@ static int dev_cpu_dead(unsigned int old | ||
@@ -11307,12 +11348,14 @@ static int dev_cpu_dead(unsigned int old | ||
raise_softirq_irqoff(NET_TX_SOFTIRQ); | ||
local_irq_enable(); | ||
|
||
|
@@ -278,7 +278,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
/* Process offline CPU's input_pkt_queue */ | ||
while ((skb = __skb_dequeue(&oldsd->process_queue))) { | ||
@@ -11573,6 +11616,38 @@ static struct pernet_operations __net_in | ||
@@ -11575,6 +11618,38 @@ static struct pernet_operations __net_in | ||
* | ||
*/ | ||
|
||
|
@@ -317,7 +317,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
/* | ||
* This is called single threaded during boot, so no need | ||
* to take the rtnl semaphore. | ||
@@ -11623,7 +11698,10 @@ static int __init net_dev_init(void) | ||
@@ -11625,7 +11700,10 @@ static int __init net_dev_init(void) | ||
init_gro_hash(&sd->backlog); | ||
sd->backlog.poll = process_backlog; | ||
sd->backlog.weight = weight_p; | ||
|
Oops, something went wrong.