]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Start completion queue negotiation at server-provided optimum values
authorJohn Allen <jallen@linux.vnet.ibm.com>
Mon, 7 Nov 2016 20:27:28 +0000 (14:27 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 23:52:41 +0000 (18:52 -0500)
commitfd89bd79fbd0a0cab539eadafe6f6b47467a4de0
tree57134d2f110a01d9a75837988d797fdbac40867a
parentcff7f1d87cb7c85cf2ca91de1914bf8bb4bbe756
ibmvnic: Start completion queue negotiation at server-provided optimum values

Use the opt_* fields to determine the starting point for negotiating the
number of tx/rx completion queues with the vnic server. These contain the
number of queues that the vnic server estimates that it will be able to
allocate. While renegotiation may still occur, using the opt_* fields will
reduce the number of times this needs to happen and will prevent driver
probe timeout on systems using large numbers of ibmvnic client devices per
vnic port.

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