diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2017-04-21 22:39:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-24 19:52:13 +0300 |
commit | 53da09e92910f675ebb93921007428a3c2a024fb (patch) | |
tree | 3ad8d76980d3d1c95b4f257bfa3b0500a3f7048c /drivers/net/ethernet/ibm/ibmvnic.h | |
parent | 5d5e84eb7276d30a21257515a83b34d1ef77f99b (diff) | |
download | linux-53da09e92910f675ebb93921007428a3c2a024fb.tar.xz |
ibmvnic: Add set_link_state routine for setting adapter link state
Create a common routine for setting the link state for the vnic adapter.
This update moves the sending of the crq and waiting for the link state
response to a common place. The new routine also adds handling of
resending the crq in cases of getting a partial success response.
Signed-off-by: Nathan Fontenot <nfont@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index 387c84303b7f..a69979f6f19d 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -964,6 +964,7 @@ struct ibmvnic_adapter { struct ibmvnic_tx_pool *tx_pool; bool closing; struct completion init_done; + int init_done_rc; struct list_head errors; spinlock_t error_list_lock; |