Commit be32a243 authored by Thomas Falcon's avatar Thomas Falcon Committed by David S. Miller

ibmvnic: Refresh device multicast list after reset

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: default avatarThomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1f94608b
...@@ -1845,6 +1845,9 @@ static int do_reset(struct ibmvnic_adapter *adapter, ...@@ -1845,6 +1845,9 @@ static int do_reset(struct ibmvnic_adapter *adapter,
return 0; return 0;
} }
/* refresh device's multicast list */
ibmvnic_set_multi(netdev);
/* kick napi */ /* kick napi */
for (i = 0; i < adapter->req_rx_queues; i++) for (i = 0; i < adapter->req_rx_queues; i++)
napi_schedule(&adapter->napi[i]); napi_schedule(&adapter->napi[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment