diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2016-07-06 15:35:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-09 17:42:11 -0400 |
commit | 65dc689182ec5117896d876cc03405ac51427314 (patch) | |
tree | e99bb4e42e95b56d021d9098c0cb94430eca242c /drivers/net/ethernet/ibm/ibmvnic.h | |
parent | ea22d51a7831b062978fcf07c3c5ac7ecbb6cbeb (diff) | |
download | talos-op-linux-65dc689182ec5117896d876cc03405ac51427314.tar.gz talos-op-linux-65dc689182ec5117896d876cc03405ac51427314.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.h')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index 0b66a506a4e4..e82898fd518e 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -1045,4 +1045,6 @@ struct ibmvnic_adapter { u64 opt_rxba_entries_per_subcrq; __be64 tx_rx_desc_req; u8 map_id; + + struct work_struct vnic_crq_init; }; |