]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Fix passive VNIC server login process
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 6 Jul 2016 20:35:18 +0000 (15:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 21:42:11 +0000 (17:42 -0400)
commitf712579798c7008c1d3d8330fadff13ee510d060
treee99bb4e42e95b56d021d9098c0cb94430eca242c
parentefc1192ba83a37129ed65beb4fdb0a5e18b3f956
ibmvnic: Fix passive VNIC server login process

In some cases, if there is no VNIC server available during the driver
probe, the driver should wait until it receives an initialization
request from the VNIC Server to start the login process. Recent testing
has show that this is incorrectly handled in the current driver.

The proposed solution handles this initialization request by scheduling
a task in the shared workqueue that completes the login process and
registers the net device.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h