Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61d3e1d9 authored by Nathan Fontenot's avatar Nathan Fontenot Committed by David S. Miller
Browse files

ibmvnic: Remove netdev notify for failover resets



When handling a driver reset due to a failover of the backing
server on the vios, doing the netdev_notify_peers() can cause
network traffic to stall or halt. Remove the netdev notify call
for failover resets.

Signed-off-by: default avatarNathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 40c9db8a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1364,7 +1364,9 @@ static int do_reset(struct ibmvnic_adapter *adapter,
	for (i = 0; i < adapter->req_rx_queues; i++)
		napi_schedule(&adapter->napi[i]);

	if (adapter->reset_reason != VNIC_RESET_FAILOVER)
		netdev_notify_peers(netdev);

	return 0;
}