WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [SPAM] Re: [PATCH v6] xen network backend driver

To: David Miller <davem@xxxxxxxxxxxxx>
Subject: [Xen-devel] [SPAM] Re: [PATCH v6] xen network backend driver
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Wed, 16 Mar 2011 09:17:25 +0000
Cc: "jeremy@xxxxxxxx" <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "herbert@xxxxxxxxxxxxxxxxxxx" <herbert@xxxxxxxxxxxxxxxxxxx>, "eric.dumazet@xxxxxxxxx" <eric.dumazet@xxxxxxxxx>, "konrad.wilk@xxxxxxxxxx" <konrad.wilk@xxxxxxxxxx>, "netdev@xxxxxxxxxxxxxxx" <netdev@xxxxxxxxxxxxxxx>, "mirqus@xxxxxxxxx" <mirqus@xxxxxxxxx>, "romieu@xxxxxxxxxxxxx" <romieu@xxxxxxxxxxxxx>, "bhutchings@xxxxxxxxxxxxxx" <bhutchings@xxxxxxxxxxxxxx>, "shemminger@xxxxxxxxxx" <shemminger@xxxxxxxxxx>
Delivery-date: Wed, 16 Mar 2011 02:18:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Low
In-reply-to: <20110315.193855.104049587.davem@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <1300183578.17339.2239.camel@xxxxxxxxxxxxxxxxxxxxxx> <20110315.193855.104049587.davem@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2011-03-16 at 02:38 +0000, David Miller wrote:
> From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
> Date: Tue, 15 Mar 2011 10:06:18 +0000
> 
> > netback is the host side counterpart to the frontend driver in
> > drivers/net/xen-netfront.c. The PV protocol is also implemented by
> > frontend drivers in other OSes too, such as the BSDs and even Windows.
> > 
> > The patch is based on the driver from the xen.git pvops kernel tree but
> > has been put through the checkpatch.pl wringer plus several manual
> > cleanup passes and review iterations. The driver has been moved from
> > drivers/xen/netback to drivers/net/xen-netback.
> > 
> > One major change from xen.git is that the guest transmit path (i.e. what
> > looks like receive to netback) has been significantly reworked to remove
> > the dependency on the out of tree PageForeign page flag (a core kernel
> > patch which enables a per page destructor callback on the final
> > put_page). This page flag was used in order to implement a grant map
> > based transmit path (where guest pages are mapped directly into SKB
> > frags). Instead this version of netback uses grant copy operations into
> > regular memory belonging to the backend domain. Reinstating the grant
> > map functionality is something which I would like to revisit in the
> > future.
> > 
> > Note that this driver depends on 2e820f58f7ad "xen/irq: implement
> > bind_interdomain_evtchn_to_irqhandler for backend drivers" which is in
> > linux next via the "xen-two" tree and is intended for the 2.6.39 merge
> > window:
> >         git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git 
> > stable/backends
> > this branch has only that single commit since 2.6.38-rc2 and is safe for
> > cross merging into the net branch.
> > 
> > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> > Reviewed-by: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
> 
> Ok, I merged that xen commit into my tree and then added this
> driver.

Awesome, thanks!

For the ML archives: the history which led to this patch was
2e820f58f7ad..db3afbafeffd which I have pushed to:
        git://xenbits.xen.org/people/ianc/linux-2.6.git 
upstream/dom0/backend/netback-history
        
The base of the cleanup/upstreaming work (i.e. the commit which
corresponds to xen.git 072407c789a0) is
        git://xenbits.xen.org/people/ianc/linux-2.6.git 
upstream/dom0/backend/netback-history-base
        
Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>