[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86wprmp6z6.fsf@weave.works>
Date: Thu, 07 Jan 2016 00:29:33 +0000
From: David Wragg <david@...ve.works>
To: Jesse Gross <jesse@...nel.org>
Cc: David Miller <davem@...emloft.net>, dev@...nvswitch.org,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [ovs-dev] [PATCH net 0/2] vxlan: Set a large MTU on ovs-created vxlan devices
Jesse Gross <jesse@...nel.org> writes:
> On Wed, Jan 6, 2016 at 3:25 PM, David Wragg <david@...ve.works> wrote:
>> I'm certainly open to suggestions of better ways to solve the problem.
>
> One option is to simply set the MTU on the device from userspace.
If that worked I wouldn't be submitting a patch.
The MTU value of 1500 is not merely the default. It is also the maximum
allowed for a vxlan netdev not associated with an underlying netdev. If
you do e.g. "ip link set dev vxlan-6784 mtu 8950", where vxlan-6784
was created by an ovs vport, it fails with EINVAL.
The first patch of the two submitted removes that limit.
> The reality is that the code you're modifying is compatibility code.
> Maybe we should make this change to preserve the old behavior or old
> callers (although, again, it should not be just for VXLAN). But no new
> features or tunnel types will be supported in this manner.
That's fine. Naturally, the ideal from our point of view is if the
compatibility code is fully compatible, so we don't have to make changes
on our side that involve different code paths for different kernel
versions. That's what my patches are intended to achieve.
But we can live with such changes on our side, as long as there is some
reasonable way to do so. In the case of this vxlan MTU issue, there
doesn't seem to be one.
> New or updated userspace programs should work by simply creating and
> adding tunnel devices to OVS. That won't go through this path at all
> so you're going to need to find another approach in the near future in
> any case.
Ok. But please try to be gentle on the poor souls who have to come up
with a single codebase that works on a range of kernel versions going
back a few years.
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists