[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1490069087-4783-1-git-send-email-jasowang@redhat.com>
Date: Tue, 21 Mar 2017 12:04:39 +0800
From: Jason Wang <jasowang@...hat.com>
To: mst@...hat.com, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jason Wang <jasowang@...hat.com>
Subject: [PATCH net-next 0/8] vhost-net rx batching
Hi all:
This series tries to implement rx batching for vhost-net. This is done
by batching the dequeuing from skb_array which was exported by
underlayer socket and pass the sbk back through msg_control to finish
userspace copying.
Tests shows at most 19% improvment on rx pps.
Please review.
Thanks
Jason Wang (8):
ptr_ring: introduce batch dequeuing
skb_array: introduce batch dequeuing
tun: export skb_array
tap: export skb_array
tun: support receiving skb through msg_control
tap: support receiving skb from msg_control
vhost_net: try batch dequing from skb array
vhost_net: use lockless peeking for skb array during busy polling
drivers/net/tap.c | 25 ++++++++++++++---
drivers/net/tun.c | 31 +++++++++++++++------
drivers/vhost/net.c | 71 +++++++++++++++++++++++++++++++++++++++++++----
include/linux/if_tap.h | 5 ++++
include/linux/if_tun.h | 5 ++++
include/linux/ptr_ring.h | 65 +++++++++++++++++++++++++++++++++++++++++++
include/linux/skb_array.h | 25 +++++++++++++++++
7 files changed, 209 insertions(+), 18 deletions(-)
--
2.7.4
Powered by blists - more mailing lists