From: Wei Liu Subject: Re: [PATCH net-next v2] xen-netback: add gso_segs calculation Date: Tue, 17 Dec 2013 22:56:29 +0000 Message-ID: <20131217225629.GA20581@zion.uk.xensource.com> References: <1387280675-10295-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: , , Wei Liu , Ian Campbell , David Vrabel , Eric Dumazet To: Paul Durrant Return-path: Received: from smtp02.citrix.com ([66.165.176.63]:22020 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747Ab3LQW4b (ORCPT ); Tue, 17 Dec 2013 17:56:31 -0500 Content-Disposition: inline In-Reply-To: <1387280675-10295-1-git-send-email-paul.durrant@citrix.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Dec 17, 2013 at 11:44:35AM +0000, Paul Durrant wrote: > netback already has code which parses IPv4 and v6 headers to set up checksum > offsets and these are always applied to GSO packets being sent from > frontends. It's therefore suboptimal that GSOs are being marked > SKB_GSO_DODGY to defer the gso_segs calculation when netback already has all > necessary information to hand to do the calculation. This patch adds that > calculation. > > Signed-off-by: Paul Durrant > Cc: Wei Liu > Cc: Ian Campbell > Cc: David Vrabel > Cc: Eric Dumazet Acked-by: Wei Liu