Re: [PATCH] ibmveth: Fix off-by-one error in ibmveth_change_mtu()

2015-04-15 Thread David Gibson
On Tue, Apr 14, 2015 at 10:33:18AM -0500, Thomas Falcon wrote: > On 04/13/2015 12:39 AM, David Gibson wrote: > > AFAIK the PAPR document which defines the virtual device interface used by > > the ibmveth driver doesn't specify a specific maximum MTU. So, in the > > ibmveth driver, the maximum allo

Re: [PATCH] ibmveth: Fix off-by-one error in ibmveth_change_mtu()

2015-04-14 Thread Thomas Falcon
On 04/13/2015 12:39 AM, David Gibson wrote: > AFAIK the PAPR document which defines the virtual device interface used by > the ibmveth driver doesn't specify a specific maximum MTU. So, in the > ibmveth driver, the maximum allowed MTU is determined by the maximum > allocated buffer size of 64k (co

[PATCH] ibmveth: Fix off-by-one error in ibmveth_change_mtu()

2015-04-12 Thread David Gibson
AFAIK the PAPR document which defines the virtual device interface used by the ibmveth driver doesn't specify a specific maximum MTU. So, in the ibmveth driver, the maximum allowed MTU is determined by the maximum allocated buffer size of 64k (corresponding to one page in the common case) minus th