From: Keir Fraser Subject: Re: [NET] front: Fix features on resume when csum is off Date: Wed, 16 Aug 2006 14:00:02 +0100 Message-ID: References: <20060816011122.GA22978@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060816011122.GA22978@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 , Xen Development Mailing List Cc: Anton Burtsev List-Id: xen-devel@lists.xenproject.org On 16/8/06 2:11 am, "Herbert Xu" wrote: > [NET] front: Fix features on resume when csum is off > > When the netfront driver is resumed the features are renegotiated with > the backend. However, I forgot take into account the status of the TX > checksum setting. When TX checksum is disabled by the user, we cannot > enable SG or TSO since both require checksum offload. This patch makes > xennet check the checksum setting before renegotiating SG or TSO. This seems a bit odd. Shouldn't it be up to the network stack to not use SG/TSO if it can't use them with a non-checksumming interface? What is the failure mode currently? -- Keir