Re: [Xen-devel] [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-30 Thread Zoltan Kiss
On 17/12/13 21:49, Konrad Rzeszutek Wilk wrote: On Thu, Dec 12, 2013 at 11:48:10PM +, Zoltan Kiss wrote: @@ -485,6 +520,22 @@ void xenvif_disconnect(struct xenvif *vif) void xenvif_free(struct xenvif *vif) { + int i, unmap_timeout = 0; + + for (i = 0; i < MAX_PENDING_REQS; +

Re: [Xen-devel] [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-17 Thread Konrad Rzeszutek Wilk
On Thu, Dec 12, 2013 at 11:48:10PM +, Zoltan Kiss wrote: > This patch changes the grant copy on the TX patch to grant mapping > > v2: > - delete branch for handling fragmented packets fit PKT_PROT_LINE sized first > request > - mark the effect of using ballooned pages in a comment > - place

Re: [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-16 Thread Wei Liu
On Mon, Dec 16, 2013 at 06:57:44PM +, Zoltan Kiss wrote: > On 16/12/13 18:21, Wei Liu wrote: > >On Mon, Dec 16, 2013 at 03:38:05PM +, Zoltan Kiss wrote: > >[...] > + for (i = 0; i < MAX_PENDING_REQS; ++i) { > + if (vif->grant_tx_handle[i] != NETBACK_INVALID_HANDLE) { > +

Re: [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-16 Thread Zoltan Kiss
On 16/12/13 18:21, Wei Liu wrote: On Mon, Dec 16, 2013 at 03:38:05PM +, Zoltan Kiss wrote: [...] + for (i = 0; i < MAX_PENDING_REQS; ++i) { + if (vif->grant_tx_handle[i] != NETBACK_INVALID_HANDLE) { + i = 0; + unmap_timeout++; +

Re: [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-16 Thread Wei Liu
On Mon, Dec 16, 2013 at 03:38:05PM +, Zoltan Kiss wrote: [...] > >>+ for (i = 0; i < MAX_PENDING_REQS; ++i) { > >>+ if (vif->grant_tx_handle[i] != NETBACK_INVALID_HANDLE) { > >>+ i = 0; > >>+ unmap_timeout++; > >>+ msleep(1000);

Re: [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-16 Thread Zoltan Kiss
On 13/12/13 15:36, Wei Liu wrote: On Thu, Dec 12, 2013 at 11:48:10PM +, Zoltan Kiss wrote: This patch changes the grant copy on the TX patch to grant mapping v2: - delete branch for handling fragmented packets fit PKT_PROT_LINE sized first

Re: [PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-13 Thread Wei Liu
On Thu, Dec 12, 2013 at 11:48:10PM +, Zoltan Kiss wrote: > This patch changes the grant copy on the TX patch to grant mapping > > v2: > - delete branch for handling fragmented packets fit PKT_PROT_LINE sized first ^ PKT_PROT_LEN > request

[PATCH net-next v2 2/9] xen-netback: Change TX path from grant copy to mapping

2013-12-12 Thread Zoltan Kiss
This patch changes the grant copy on the TX patch to grant mapping v2: - delete branch for handling fragmented packets fit PKT_PROT_LINE sized first request - mark the effect of using ballooned pages in a comment - place setting of skb_shinfo(skb)->tx_flags |= SKBTX_DEV_ZEROCOPY right before n