Re: [PATCH net-next V2 2/3] vhost_net: tx batching

2017-01-03 Thread Stefan Hajnoczi
On Wed, Dec 28, 2016 at 04:09:30PM +0800, Jason Wang wrote: > This patch tries to utilize tuntap rx batching by peeking the tx > virtqueue during transmission, if there's more available buffers in > the virtqueue, set MSG_MORE flag for a hint for backend (e.g tuntap) > to batch the packets. > > Si

[PATCH net-next V2 2/3] vhost_net: tx batching

2016-12-28 Thread Jason Wang
This patch tries to utilize tuntap rx batching by peeking the tx virtqueue during transmission, if there's more available buffers in the virtqueue, set MSG_MORE flag for a hint for backend (e.g tuntap) to batch the packets. Signed-off-by: Jason Wang --- drivers/vhost/net.c | 23 +