aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2017-01-18 07:02:02 +0000
committerDavid S. Miller <[email protected]>2017-01-18 21:35:30 +0000
commit0ed005ce02fa0a88e5e6b7b5f7ff452171881610 (patch)
treec169b416a25aec7f553c9b999771580fadf86452 /net/dsa/dsa.c
parentvhost: better detection of available buffers (diff)
downloadkernel-0ed005ce02fa0a88e5e6b7b5f7ff452171881610.tar.gz
kernel-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 <[email protected]> Signed-off-by: Jason Wang <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions