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

2015-06-03 Thread Joao Martins
On 02 Jun 2015, at 17:07, Wei Liu wrote: > On Fri, May 22, 2015 at 10:25:10AM +, Joao Martins wrote: >> >> On 19 May 2015, at 17:32, Wei Liu wrote: >> >>> On Tue, May 12, 2015 at 07:18:28PM +0200, Joao Martins wrote: It starts by doing a lookup in the tree for a gref. If no persisten

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

2015-06-02 Thread Wei Liu
On Fri, May 22, 2015 at 10:25:10AM +, Joao Martins wrote: > > On 19 May 2015, at 17:32, Wei Liu wrote: > > > On Tue, May 12, 2015 at 07:18:28PM +0200, Joao Martins wrote: > >> It starts by doing a lookup in the tree for a gref. If no persistent > >> grant is found on the tree, it will do gra

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

2015-05-22 Thread Joao Martins
On 19 May 2015, at 17:32, Wei Liu wrote: > On Tue, May 12, 2015 at 07:18:28PM +0200, Joao Martins wrote: >> It starts by doing a lookup in the tree for a gref. If no persistent >> grant is found on the tree, it will do grant copy and prepare >> the grant maps. Finally valides the grant map and a

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

2015-05-19 Thread Wei Liu
On Tue, May 12, 2015 at 07:18:28PM +0200, Joao Martins wrote: > It starts by doing a lookup in the tree for a gref. If no persistent > grant is found on the tree, it will do grant copy and prepare > the grant maps. Finally valides the grant map and adds it to the tree. validates? > After mapped t

[Xen-devel] [RFC PATCH 04/13] xen-netback: implement RX persistent grants

2015-05-12 Thread Joao Martins
It starts by doing a lookup in the tree for a gref. If no persistent grant is found on the tree, it will do grant copy and prepare the grant maps. Finally valides the grant map and adds it to the tree. After mapped these grants can be pulled from the tree in the subsequent requests. If it's out of