ibmvnic: Allocate max queues stats buffers
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Mon, 19 Feb 2018 19:30:47 +0000 (13:30 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 19:21:48 +0000 (14:21 -0500)
commitabcae546f7b49f02f4b73d6cc8b33c2fc5f2f8a4
tree26204bbc63591609f03f6b141c5e81c7cce84399
parent86f669b2b7491b5697d9e63538c960ad7e94c6cc
ibmvnic: Allocate max queues stats buffers

To avoid losing any stats when the number of sub-crqs change, allocate
the max number of stats buffers so a stats buffer exists all possible
sub-crqs.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c