diff options
author | John Allen <jallen@linux.vnet.ibm.com> | 2016-04-06 11:49:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-09 00:02:41 -0400 |
commit | 498cd8e49509c761b39dab26be7f739d95940e16 (patch) | |
tree | 8e7d4a69e4e4a6260c3a8ecf8ec59bda3b9e17a0 /drivers/net/ethernet/ibm/ibmvnic.h | |
parent | e013b7780c41b471c4269ac9ccafb65ba7c9ec86 (diff) | |
download | linux-498cd8e49509c761b39dab26be7f739d95940e16.tar.gz linux-498cd8e49509c761b39dab26be7f739d95940e16.tar.bz2 linux-498cd8e49509c761b39dab26be7f739d95940e16.zip |
ibmvnic: Enable use of multiple tx/rx scrqs
Enables the use of multiple transmit and receive scrqs allowing the ibmvnic
driver to take advantage of multiqueue functionality. To achieve this, the
driver must implement the process of negotiating the maximum number of
queues allowed by the server. Initially, the driver will attempt to login
with the maximum number of tx and rx queues supported by the server. If
the server fails to allocate the requested number of scrqs, it will return
partial success in the login response. In this case, we must reinitiate
the login process from the request capabilities stage and attempt to login
requesting fewer scrqs.
Signed-off-by: John Allen <jallen@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 5af8a796e523..0b66a506a4e4 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -980,6 +980,7 @@ struct ibmvnic_adapter { struct ibmvnic_sub_crq_queue **tx_scrq; struct ibmvnic_sub_crq_queue **rx_scrq; int requested_caps; + bool renegotiate; /* rx structs */ struct napi_struct *napi; |