Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-20 Thread Julien Grall
On 20/05/15 09:26, Wei Liu wrote: > On Tue, May 19, 2015 at 11:56:39PM +0100, Julien Grall wrote: > >> diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h index 0eda6e9..c2a5402 100644 --- a/drivers/net/xen-netback/common.h +++ b/drivers/net/x

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-20 Thread Julien Grall
On 19/05/15 23:56, Julien Grall wrote: >> If you're wgetting from another host, I would suggest wgetting from Dom0 >> to limit the problem between Dom0 and DomU. > > Thanks to Wei, I was able to narrow the problem. It looks like the > problem is not coming from netback but somewhere else down in

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-20 Thread Wei Liu
On Tue, May 19, 2015 at 11:56:39PM +0100, Julien Grall wrote: > > >>diff --git a/drivers/net/xen-netback/common.h > >>b/drivers/net/xen-netback/common.h > >>index 0eda6e9..c2a5402 100644 > >>--- a/drivers/net/xen-netback/common.h > >>+++ b/drivers/net/xen-netback/common.h > >>@@ -204,7 +204,7 @@

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-19 Thread Julien Grall
Hi, On 18/05/2015 13:54, Wei Liu wrote: On Mon, May 18, 2015 at 01:11:26PM +0100, Julien Grall wrote: On 15/05/15 16:31, Wei Liu wrote: On Fri, May 15, 2015 at 01:35:42PM +0100, Julien Grall wrote: On 15/05/15 03:35, Wei Liu wrote: On Thu, May 14, 2015 at 06:01:01PM +0100, Julien Grall wrote

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-18 Thread Wei Liu
On Mon, May 18, 2015 at 01:11:26PM +0100, Julien Grall wrote: > Hi Wei, > > On 15/05/15 16:31, Wei Liu wrote: > > On Fri, May 15, 2015 at 01:35:42PM +0100, Julien Grall wrote: > >> On 15/05/15 03:35, Wei Liu wrote: > >>> On Thu, May 14, 2015 at 06:01:01PM +0100, Julien Grall wrote: > The PV n

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-18 Thread Julien Grall
Hi Wei, On 15/05/15 16:31, Wei Liu wrote: > On Fri, May 15, 2015 at 01:35:42PM +0100, Julien Grall wrote: >> On 15/05/15 03:35, Wei Liu wrote: >>> On Thu, May 14, 2015 at 06:01:01PM +0100, Julien Grall wrote: The PV network protocol is using 4KB page granularity. The goal of this patch i

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-15 Thread Ian Campbell
On Fri, 2015-05-15 at 16:31 +0100, Wei Liu wrote: > On Fri, May 15, 2015 at 01:35:42PM +0100, Julien Grall wrote: > > Hi Wei, > > > > Thanks you for the review. > > > > On 15/05/15 03:35, Wei Liu wrote: > > > On Thu, May 14, 2015 at 06:01:01PM +0100, Julien Grall wrote: > > >> The PV network prot

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-15 Thread Wei Liu
On Fri, May 15, 2015 at 01:35:42PM +0100, Julien Grall wrote: > Hi Wei, > > Thanks you for the review. > > On 15/05/15 03:35, Wei Liu wrote: > > On Thu, May 14, 2015 at 06:01:01PM +0100, Julien Grall wrote: > >> The PV network protocol is using 4KB page granularity. The goal of this > >> patch is

Re: [Xen-devel] [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-15 Thread Julien Grall
Hi Wei, Thanks you for the review. On 15/05/15 03:35, Wei Liu wrote: > On Thu, May 14, 2015 at 06:01:01PM +0100, Julien Grall wrote: >> The PV network protocol is using 4KB page granularity. The goal of this >> patch is to allow a Linux using 64KB page granularity working as a >> network backend

Re: [RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-14 Thread Wei Liu
On Thu, May 14, 2015 at 06:01:01PM +0100, Julien Grall wrote: > The PV network protocol is using 4KB page granularity. The goal of this > patch is to allow a Linux using 64KB page granularity working as a > network backend on a non-modified Xen. > > It's only necessary to adapt the ring size and b

[RFC 21/23] net/xen-netback: Make it running on 64KB page granularity

2015-05-14 Thread Julien Grall
The PV network protocol is using 4KB page granularity. The goal of this patch is to allow a Linux using 64KB page granularity working as a network backend on a non-modified Xen. It's only necessary to adapt the ring size and break skb data in small chunk of 4KB. The rest of the code is relying on