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

2015-05-19 Thread David Vrabel
On 19/05/15 11:20, Joao Martins wrote: > > On 18 May 2015, at 17:55, David Vrabel wrote: >> On 12/05/15 18:18, Joao Martins wrote: >>> Instead of grant/revoking the buffer related to the skb, it will use >>> an already granted page and memcpy to it. The grants will be mapped >>> by xen-netback a

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

2015-05-19 Thread Joao Martins
On 18 May 2015, at 17:55, David Vrabel wrote: > On 12/05/15 18:18, Joao Martins wrote: >> Instead of grant/revoking the buffer related to the skb, it will use >> an already granted page and memcpy to it. The grants will be mapped >> by xen-netback and reused overtime, but only unmapped when the

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

2015-05-18 Thread David Vrabel
On 12/05/15 18:18, Joao Martins wrote: > Instead of grant/revoking the buffer related to the skb, it will use > an already granted page and memcpy to it. The grants will be mapped > by xen-netback and reused overtime, but only unmapped when the vif > disconnects, as opposed to every packet. > > T

[Xen-devel] [RFC PATCH 12/13] xen-netfront: implement TX persistent grants

2015-05-12 Thread Joao Martins
Instead of grant/revoking the buffer related to the skb, it will use an already granted page and memcpy to it. The grants will be mapped by xen-netback and reused overtime, but only unmapped when the vif disconnects, as opposed to every packet. This only happens if the backend supports persistent