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