]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Move login and queue negotiation into ibmvnic_open
authorJohn Allen <jallen@linux.vnet.ibm.com>
Fri, 17 Mar 2017 22:13:40 +0000 (17:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 00:46:13 +0000 (17:46 -0700)
commit976f4f403edf24ce71180445afb06edaff159bbd
treec971f8070787122eac038ff7cb6f8647e9f20de9
parent2ac13f4c7d5d8bf1946df04cb6d0c02f01a15310
ibmvnic: Move login and queue negotiation into ibmvnic_open

VNIC server expects LINK_STATE_UP to be sent within 30s of the login. If we
exceed the timeout, VNIC server will attempt to fail over. Since time
between probe and open of the device is indeterminate, move login and queue
negotiation into ibmvnic open so we can guarantee that login and sending
LINK_STATE_UP occur within the 30s window.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c