From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH v2 0/5] virtio: Tx performance improvements Date: Sun, 18 Oct 2015 22:16:07 -0700 Message-ID: <1445231772-17467-1-git-send-email-stephen@networkplumber.org> Cc: dev@dpdk.org To: huawei.xie@intel.com, changchun.ouyang@intel.com Return-path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id 393BA8E7E for ; Mon, 19 Oct 2015 07:16:05 +0200 (CEST) Received: by pacfv9 with SMTP id fv9so83273360pac.3 for ; Sun, 18 Oct 2015 22:16:04 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This is a tested version of the virtio Tx performance improvements that I posted earlier on the list, and described at the DPDK Userspace meeting in Dublin. Together they get a 25% performance improvement for both small packet and large multi-segment packet case when testing from DPDK guest application to Linux KVM host. Stephen Hemminger (5): virtio: clean up space checks on xmit virtio: don't use unlikely for normal tx stuff virtio: use indirect ring elements virtio: use any layout on transmit virtio: optimize transmit enqueue drivers/net/virtio/virtio_ethdev.c | 38 +++++++--- drivers/net/virtio/virtio_ethdev.h | 4 +- drivers/net/virtio/virtio_rxtx.c | 150 ++++++++++++++++++++----------------- drivers/net/virtio/virtqueue.h | 19 +++++ 4 files changed, 130 insertions(+), 81 deletions(-) -- 2.1.4