ibmveth: Automatically enable larger rx buffer pools for larger mtu
authorSantiago Leon <santil@us.ibm.com>
Wed, 23 Jul 2008 18:34:23 +0000 (04:34 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Jul 2008 05:44:44 +0000 (15:44 +1000)
commitea866e6526b8a2ead92875732d41b26fdb470312
treeb6645f5f136691defbe6a73941a05d0649811a37
parent22e1a4dd3f2a9009d1d8896a5e833b6094877008
ibmveth: Automatically enable larger rx buffer pools for larger mtu

Activates larger rx buffer pools when the MTU is changed to a larger
value.  This patch de-activates the large rx buffer pools when the MTU
changes to a smaller value.

Signed-off-by: Santiago Leon <santil@us.ibm.com>
Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/net/ibmveth.c