Re: [Xen-devel] [RFC PATCH 03/13] xen-netback: implement TX persistent grants

2015-06-07 Thread Wei Liu
On Wed, Jun 03, 2015 at 05:07:59PM +, Joao Martins wrote: [...] > > > > How much harder would it be to ref-count inflight grants? Would that > > simplify or perplex things? I'm just asking, not suggesting you should > > choose ref-counting over current scheme. > > > > In principle I favour si

Re: [Xen-devel] [RFC PATCH 03/13] xen-netback: implement TX persistent grants

2015-06-03 Thread Joao Martins
On 02 Jun 2015, at 16:53, Wei Liu wrote: > On Fri, May 22, 2015 at 10:24:39AM +, Joao Martins wrote: >> >> On 19 May 2015, at 17:23, Wei Liu wrote: >>> On Tue, May 12, 2015 at 07:18:27PM +0200, Joao Martins wrote: Introduces persistent grants for TX path which follows similar code pat

Re: [Xen-devel] [RFC PATCH 03/13] xen-netback: implement TX persistent grants

2015-06-02 Thread Wei Liu
On Fri, May 22, 2015 at 10:24:39AM +, Joao Martins wrote: > > On 19 May 2015, at 17:23, Wei Liu wrote: > > On Tue, May 12, 2015 at 07:18:27PM +0200, Joao Martins wrote: > >> Introduces persistent grants for TX path which follows similar code path > >> as the grant mapping. > >> > >> It start

Re: [Xen-devel] [RFC PATCH 03/13] xen-netback: implement TX persistent grants

2015-05-22 Thread Joao Martins
On 19 May 2015, at 17:23, Wei Liu wrote: > On Tue, May 12, 2015 at 07:18:27PM +0200, Joao Martins wrote: >> Introduces persistent grants for TX path which follows similar code path >> as the grant mapping. >> >> It starts by checking if there's a persistent grant available for header >> and frag

Re: [Xen-devel] [RFC PATCH 03/13] xen-netback: implement TX persistent grants

2015-05-19 Thread Wei Liu
On Tue, May 12, 2015 at 07:18:27PM +0200, Joao Martins wrote: > Introduces persistent grants for TX path which follows similar code path > as the grant mapping. > > It starts by checking if there's a persistent grant available for header > and frags grefs and if so setting it in tx_pgrants. If no

[Xen-devel] [RFC PATCH 03/13] xen-netback: implement TX persistent grants

2015-05-12 Thread Joao Martins
Introduces persistent grants for TX path which follows similar code path as the grant mapping. It starts by checking if there's a persistent grant available for header and frags grefs and if so setting it in tx_pgrants. If no persistent grant is found in the tree for the header it will resort to g