]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: handle inconsistent login with reset
authorDany Madden <drt@linux.ibm.com>
Thu, 26 Nov 2020 00:04:24 +0000 (18:04 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Nov 2020 21:26:48 +0000 (13:26 -0800)
commitc9635decfbaec9d6a31987d937e2af42c55b4612
tree86c12cae20c684464353fdf756affe22cb6e39b4
parentae4df5e8b25d3e69a8ea7946358ecf237931c87b
ibmvnic: handle inconsistent login with reset

Inconsistent login with the vnicserver is causing the device to be
removed. This does not give the device a chance to recover from error
state. This patch schedules a FATAL reset instead to bring the adapter
up.

Fixes: ea6726eed812a ("Driver for IBM System i/p VNIC protocol")
Signed-off-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c