From: Keir Fraser Subject: Re: [Xen-devel] [RFC PATCH 34/35] Add the Xen virtual network device driver. Date: Wed, 10 May 2006 07:36:57 +0100 Message-ID: References: <20060509085201.446830000@sous-sol.org> <20060509235122.GJ24291@moss.sous-sol.org> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060509235122.GJ24291@moss.sous-sol.org> Sender: netdev-owner@vger.kernel.org To: Chris Wright Cc: virtualization@lists.osdl.org, linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, Herbert Xu , ian.pratt@xensource.com, netdev@vger.kernel.org List-Id: xen-devel@lists.xenproject.org On 10 May 2006, at 00:51, Chris Wright wrote: > * Herbert Xu (herbert@gondor.apana.org.au) wrote: >> Chris Wright wrote: >>> >>> + netdev->features = NETIF_F_IP_CSUM; >> >> Any reason why IP_CSUM was chosen instead of HW_CSUM? Doing the latter >> would seem to be in fact easier for a virtual driver, no? > > That, I really don't know. Checksum offload was added late to the virtual transport and currently not enough info is carried to identify protocol checksum fields in arbitrary locations. When we rev the virtual interface, and include a proper checksum-offset field, we'll be able to switch to NETIF_F_HW_CSUM. -- Keir