ibmveth: change rx buffer default allocation for CMO
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 29 Apr 2015 21:25:44 +0000 (16:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2015 20:33:45 +0000 (16:33 -0400)
commitcd7c7ec3687986c71b48848637066d4460c92b95
tree1996647d4a1c1308fcd51fd347a20036d5470338
parent79c9cc3cd08cf784fce252378290d9f171d00947
ibmveth: change rx buffer default allocation for CMO

This patch enables 64k rx buffer pools by default.  If Cooperative
Memory Overcommitment (CMO) is enabled, the number of 64k buffers
is reduced to save memory.

Cc: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmveth.c
drivers/net/ethernet/ibm/ibmveth.h