]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bd99da96f9bd1e2b5ecadb345ef371898709d11
tree26204bbc63591609f03f6b141c5e81c7cce84399
parentf45456f9615443264d85aa48796c224fa69b74dc
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