From: Wei Liu Subject: Re: [RFC PATCH net-next 0/3] unify netfront and netback checksum setup code Date: Tue, 10 Dec 2013 18:09:21 +0000 Message-ID: <20131210180921.GQ32155@zion.uk.xensource.com> References: <1386689992-45593-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1386689992-45593-1-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: wei.liu2@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Dec 10, 2013 at 03:39:49PM +0000, Paul Durrant wrote: > I'm posting this as RFC to xen-devel before going to netdev to get feedback. > In patch 1 I've basically taken the latest checksum setup code from netback, > with all the recent fixes, and pushed it into net/core/dev.c (which seems > like the right home for such code). Patch 2 and 3 then just modify netback > and netfront to use the new code. > > Does this look like a reasonable approach? I think it would be good to make > the checksum setup code available to all network drivers. There's nothing > Xen specific about it. > > I agree it is generally good to consolidate duplicated code so that we don't need to maintain two copies of idential code. But the acceptance of this series will mainly reuqire acknowledge from core driver maintainers. :-) Wei. > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel