commit: da5f7d3accc013203b1edbe8926be726a0a3507d Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Mon Jul 12 17:25:04 2021 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Mon Jul 12 17:25:04 2021 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=da5f7d3a
Revert ibmvnic: remove duplicate napi_schedule call in open function Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> 0000_README | 4 ++ ...nic-remove-duplicate-napi_schedule-call-i.patch | 46 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/0000_README b/0000_README index 908e68d..7e89cd1 100644 --- a/0000_README +++ b/0000_README @@ -251,6 +251,10 @@ Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch From: https://lore.kernel.org/linux-bluetooth/[email protected]/raw Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 +Patch: 2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch +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 +Desc: Revert ibmvnic: remove duplicate napi_schedule call in open function + Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch From: https://bugs.gentoo.org/710790 Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino diff --git a/2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch b/2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch new file mode 100644 index 0000000..6acd432 --- /dev/null +++ b/2400_revert-ibmvnic-remove-duplicate-napi_schedule-call-i.patch @@ -0,0 +1,46 @@ +From a795f695bbc648e27d56f99c38fc1afbe832b088 Mon Sep 17 00:00:00 2001 +From: Sasha Levin <[email protected]> +Date: Wed, 23 Jun 2021 21:13:11 -0700 +Subject: Revert "ibmvnic: remove duplicate napi_schedule call in open + function" + +From: Dany Madden <[email protected]> + +[ Upstream commit 2ca220f92878470c6ba03f9946e412323093cc94 ] + +This reverts commit 7c451f3ef676c805a4b77a743a01a5c21a250a73. + +When a vnic interface is taken down and then up, connectivity is not +restored. We bisected it to this commit. Reverting this commit until +we can fully investigate the issue/benefit of the change. + +Fixes: 7c451f3ef676 ("ibmvnic: remove duplicate napi_schedule call in open function") +Reported-by: Cristobal Forno <[email protected]> +Reported-by: Abdul Haleem <[email protected]> +Signed-off-by: Dany Madden <[email protected]> +Signed-off-by: Sukadev Bhattiprolu <[email protected]> +Signed-off-by: David S. Miller <[email protected]> +Signed-off-by: Sasha Levin <[email protected]> +--- + drivers/net/ethernet/ibm/ibmvnic.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c +index 8cc444684491..765b38c8b252 100644 +--- a/drivers/net/ethernet/ibm/ibmvnic.c ++++ b/drivers/net/ethernet/ibm/ibmvnic.c +@@ -1166,6 +1166,11 @@ static int __ibmvnic_open(struct net_device *netdev) + + netif_tx_start_all_queues(netdev); + ++ if (prev_state == VNIC_CLOSED) { ++ for (i = 0; i < adapter->req_rx_queues; i++) ++ napi_schedule(&adapter->napi[i]); ++ } ++ + adapter->state = VNIC_OPEN; + return rc; + } +-- +2.30.2 +
