From: Keir Fraser Subject: Re: [1/4] [NET] back: Fix maximum fragment check Date: Sat, 1 Jul 2006 13:17:31 +0100 Message-ID: References: <20060629230834.GA26561@gondor.apana.org.au> <20060630024047.GA29185@gondor.apana.org.au> <20060630124703.GA23466@gondor.apana.org.au> <69ce918a310b3e9597230c7d8521eed3@cl.cam.ac.uk> <20060630132141.GA23719@gondor.apana.org.au> <6119c0c588ef3a01c19119bda86298fd@cl.cam.ac.uk> <20060701032609.GA29803@gondor.apana.org.au> <20060701033315.GA30050@gondor.apana.org.au> <69b713d882b30e730f7e83514eebe737@cl.cam.ac.uk> <20060701095948.GA387@gondor.apana.org.au> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060701095948.GA387@gondor.apana.org.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Herbert Xu Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org On 1 Jul 2006, at 10:59, Herbert Xu wrote: >> netback to advertise support for the ECN flag? I'm not sure exactly >> what it will mean, and whether it can just be ignored by netbacks that >> don't support it? > > If netback does not advertise the flag then netfront will perform > segmentation before passing TCP packets with CWR set through. Ah, okay, can that not be handled properly by some TSO-supporting NICs then? You need to do something smarter than simply duplicate the ECN bits in every segment header? What would happen if netfront sent through a packet with ECE/CWR and didn't set the GSO_ECN flag -- is it safe but stupid, will it break something, should dodgy packets have the GSO_ECN flag recomputed? Thanks! Keir