1 |
commit: da5f7d3accc013203b1edbe8926be726a0a3507d |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 12 17:25:04 2021 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 12 17:25:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=da5f7d3a |
7 |
|
8 |
Revert ibmvnic: remove duplicate napi_schedule call in open function |
9 |
|
10 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
11 |
|
12 |
0000_README | 4 ++ |
13 |
...nic-remove-duplicate-napi_schedule-call-i.patch | 46 ++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/0000_README b/0000_README |
17 |
index 908e68d..7e89cd1 100644 |
18 |
--- a/0000_README |
19 |
+++ b/0000_README |
20 |
@@ -251,6 +251,10 @@ Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch |
21 |
From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@××××××××.org/raw |
22 |
Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 |
23 |
|
24 |
+Patch: 2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch |
25 |
+From: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/plain/queue-5.10/revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch |
26 |
+Desc: Revert ibmvnic: remove duplicate napi_schedule call in open function |
27 |
+ |
28 |
Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch |
29 |
From: https://bugs.gentoo.org/710790 |
30 |
Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino |
31 |
|
32 |
diff --git a/2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch b/2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch |
33 |
new file mode 100644 |
34 |
index 0000000..6acd432 |
35 |
--- /dev/null |
36 |
+++ b/2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch |
37 |
@@ -0,0 +1,46 @@ |
38 |
+From a795f695bbc648e27d56f99c38fc1afbe832b088 Mon Sep 17 00:00:00 2001 |
39 |
+From: Sasha Levin <sashal@××××××.org> |
40 |
+Date: Wed, 23 Jun 2021 21:13:11 -0700 |
41 |
+Subject: Revert "ibmvnic: remove duplicate napi_schedule call in open |
42 |
+ function" |
43 |
+ |
44 |
+From: Dany Madden <drt@×××××××××.com> |
45 |
+ |
46 |
+[ Upstream commit 2ca220f92878470c6ba03f9946e412323093cc94 ] |
47 |
+ |
48 |
+This reverts commit 7c451f3ef676c805a4b77a743a01a5c21a250a73. |
49 |
+ |
50 |
+When a vnic interface is taken down and then up, connectivity is not |
51 |
+restored. We bisected it to this commit. Reverting this commit until |
52 |
+we can fully investigate the issue/benefit of the change. |
53 |
+ |
54 |
+Fixes: 7c451f3ef676 ("ibmvnic: remove duplicate napi_schedule call in open function") |
55 |
+Reported-by: Cristobal Forno <cforno12@×××××××××.com> |
56 |
+Reported-by: Abdul Haleem <abdhalee@××××××.com> |
57 |
+Signed-off-by: Dany Madden <drt@×××××××××.com> |
58 |
+Signed-off-by: Sukadev Bhattiprolu <sukadev@×××××××××.com> |
59 |
+Signed-off-by: David S. Miller <davem@×××××××××.net> |
60 |
+Signed-off-by: Sasha Levin <sashal@××××××.org> |
61 |
+--- |
62 |
+ drivers/net/ethernet/ibm/ibmvnic.c | 5 +++++ |
63 |
+ 1 file changed, 5 insertions(+) |
64 |
+ |
65 |
+diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c |
66 |
+index 8cc444684491..765b38c8b252 100644 |
67 |
+--- a/drivers/net/ethernet/ibm/ibmvnic.c |
68 |
++++ b/drivers/net/ethernet/ibm/ibmvnic.c |
69 |
+@@ -1166,6 +1166,11 @@ static int __ibmvnic_open(struct net_device *netdev) |
70 |
+ |
71 |
+ netif_tx_start_all_queues(netdev); |
72 |
+ |
73 |
++ if (prev_state == VNIC_CLOSED) { |
74 |
++ for (i = 0; i < adapter->req_rx_queues; i++) |
75 |
++ napi_schedule(&adapter->napi[i]); |
76 |
++ } |
77 |
++ |
78 |
+ adapter->state = VNIC_OPEN; |
79 |
+ return rc; |
80 |
+ } |
81 |
+-- |
82 |
+2.30.2 |
83 |
+ |