Home Home > GIT Browse > SLE12-SP4-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-06-10 15:08:25 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-06-10 15:10:33 +0200
commitea98f5762a1052208493bfd0ca1b2e51e452c385 (patch)
tree66b12edcafd18d5615edfc81cb6f6c7b1a2cd13e
parent0316242df8aa4b70004a3a0b9722ecf593c76966 (diff)
ibmvnic: Refresh device multicast list after reset
(bsc#1137752).
-rw-r--r--patches.drivers/ibmvnic-Refresh-device-multicast-list-after-reset.patch38
-rw-r--r--series.conf1
2 files changed, 39 insertions, 0 deletions
diff --git a/patches.drivers/ibmvnic-Refresh-device-multicast-list-after-reset.patch b/patches.drivers/ibmvnic-Refresh-device-multicast-list-after-reset.patch
new file mode 100644
index 0000000000..2b6d40e8ec
--- /dev/null
+++ b/patches.drivers/ibmvnic-Refresh-device-multicast-list-after-reset.patch
@@ -0,0 +1,38 @@
+From be32a24372cf162e825332da1a7ccef058d4f20b Mon Sep 17 00:00:00 2001
+From: Thomas Falcon <tlfalcon@linux.ibm.com>
+Date: Fri, 7 Jun 2019 16:03:54 -0500
+Subject: [PATCH] ibmvnic: Refresh device multicast list after reset
+
+References: bsc#1137752
+Patch-mainline: queued
+Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
+Git-commit: be32a24372cf162e825332da1a7ccef058d4f20b
+
+It was observed that multicast packets were no longer received after
+a device reset. The fix is to resend the current multicast list to
+the backing device after recovery.
+
+Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+Acked-by: Michal Suchanek <msuchanek@suse.de>
+---
+ drivers/net/ethernet/ibm/ibmvnic.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
+index bc2a91205eec..9e9f4096db58 100644
+--- a/drivers/net/ethernet/ibm/ibmvnic.c
++++ b/drivers/net/ethernet/ibm/ibmvnic.c
+@@ -1845,6 +1845,9 @@ static int do_reset(struct ibmvnic_adapter *adapter,
+ return 0;
+ }
+
++ /* refresh device's multicast list */
++ ibmvnic_set_multi(netdev);
++
+ /* kick napi */
+ for (i = 0; i < adapter->req_rx_queues; i++)
+ napi_schedule(&adapter->napi[i]);
+--
+2.20.1
+
diff --git a/series.conf b/series.conf
index 583e28ed22..574ee01361 100644
--- a/series.conf
+++ b/series.conf
@@ -22302,6 +22302,7 @@
# davem/net
patches.drivers/ibmvnic-Do-not-close-unopened-driver-during-reset.patch
+ patches.drivers/ibmvnic-Refresh-device-multicast-list-after-reset.patch
# dhowells/linux-fs keys-uefi
patches.suse/0001-KEYS-Allow-unrestricted-boot-time-addition-of-keys-t.patch