Re: [Xen-devel] [RFC PATCH 08/13] xen-netback: clone skb if skb->xmit_more is set

2015-05-22 Thread Joao Martins
On 19 May 2015, at 17:36, Wei Liu wrote: > On Tue, May 12, 2015 at 07:18:32PM +0200, Joao Martins wrote: >> On xenvif_start_xmit() we have an additional queue to the netback RX >> kthread that will sends the packet. When using burst>1 pktgen sets >> skb->xmit_more to tell the driver that there m

Re: [Xen-devel] [RFC PATCH 08/13] xen-netback: clone skb if skb->xmit_more is set

2015-05-19 Thread Wei Liu
On Tue, May 12, 2015 at 07:18:32PM +0200, Joao Martins wrote: > On xenvif_start_xmit() we have an additional queue to the netback RX > kthread that will sends the packet. When using burst>1 pktgen sets > skb->xmit_more to tell the driver that there more skbs in the queue. > However, pktgen transmit

[Xen-devel] [RFC PATCH 08/13] xen-netback: clone skb if skb->xmit_more is set

2015-05-12 Thread Joao Martins
On xenvif_start_xmit() we have an additional queue to the netback RX kthread that will sends the packet. When using burst>1 pktgen sets skb->xmit_more to tell the driver that there more skbs in the queue. However, pktgen transmits the same skb times, which leads to the BUG below. Long story short