]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Enable use of multiple tx/rx scrqs
authorJohn Allen <jallen@linux.vnet.ibm.com>
Wed, 6 Apr 2016 16:49:55 +0000 (11:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Apr 2016 04:02:41 +0000 (00:02 -0400)
commite291736a70f0cb008cf04f67c72517cd0f4550a5
tree8e7d4a69e4e4a6260c3a8ecf8ec59bda3b9e17a0
parent6b671c9000233ed94032420f07e81cac73d9ddaf
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>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h