From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edward Cree Subject: Re: Generic TSO Date: Mon, 14 Mar 2016 10:32:30 +0000 Message-ID: <56E6933E.3050407@solarflare.com> References: <20160219191806.15687.37621.stgit@localhost.localdomain> <56E31A89.9020602@solarflare.com> <56E3239B.7080009@solarflare.com> <56E32966.7090409@solarflare.com> <56E338A3.5070909@solarflare.com> <56E691F1.2020605@solarflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: Linux Kernel Network Developers To: Alexander Duyck , Tom Herbert Return-path: Received: from nbfkord-smmo03.seg.att.com ([209.65.160.84]:21089 "EHLO nbfkord-smmo03.seg.att.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752344AbcCNKcj (ORCPT ); Mon, 14 Mar 2016 06:32:39 -0400 In-Reply-To: <56E691F1.2020605@solarflare.com> Sender: netdev-owner@vger.kernel.org List-ID: On 14/03/16 10:26, Edward Cree wrote: > On 12/03/16 05:40, Alexander Duyck wrote: >> Well that is the thing. Before we can actually start tinkering with >> the outer header we probably need to make sure we set the DF bit and >> that it would be honored on the outer headers for IPv4. I don't >> believe any of the tunnels are currently doing that so repeating the >> IP ID would be the worst possible scenario until that is resolved >> since VXLAN tunneled frames can be fragmented while TCP frames cannot >> so we really shouldn't be repeating IP IDs for the outer headers. > So how do we progress with that? I'm presuming it's not as simple as > just patching the tunnel drivers to set DF if the inner packet has it, > as that could break existing setups. (I've heard that "but they're > already broken anyway" is not usually an acceptable argument.) Some > sort of configuration option on the tunnel (like we do with udpcsum)? ...and immediately I find out it already exists. (I guess I should have looked there first!) >>From drivers/net/vxlan.c:2001: > else if (info->key.tun_flags & TUNNEL_DONT_FRAGMENT) > df = htons(IP_DF); -Ed