summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2017-01-18 15:02:02 +0800
committerDavid S. Miller <davem@davemloft.net>2017-01-18 16:35:30 -0500
commit0ed005ce02fa0a88e5e6b7b5f7ff452171881610 (patch)
treec169b416a25aec7f553c9b999771580fadf86452 /drivers/net/tun.c
parent275bf960ac69744430a6725a4ed7f50d36cf1441 (diff)
downloadlinux-stable-0ed005ce02fa0a88e5e6b7b5f7ff452171881610.tar.gz
linux-stable-0ed005ce02fa0a88e5e6b7b5f7ff452171881610.tar.bz2
linux-stable-0ed005ce02fa0a88e5e6b7b5f7ff452171881610.zip
vhost_net: tx batching
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. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions