From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 286871C4A for ; Fri, 5 May 2017 15:57:24 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 39A95C04B320; Fri, 5 May 2017 13:57:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 39A95C04B320 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jfreiman@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 39A95C04B320 Received: from virtlab417.ml3.eng.bos.redhat.com (virtlab417.ml3.eng.bos.redhat.com [10.19.176.175]) by smtp.corp.redhat.com (Postfix) with ESMTP id CED51785E5; Fri, 5 May 2017 13:57:23 +0000 (UTC) From: Jens Freimann To: yuanhan.liu@linux.intel.com Cc: dev@dpdk.org Date: Fri, 5 May 2017 09:57:11 -0400 Message-Id: <1493992642-52756-1-git-send-email-jfreiman@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 05 May 2017 13:57:24 +0000 (UTC) Subject: [dpdk-dev] [RFC PATCH 00/11] net/virtio: packed ring layout X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2017 13:57:25 -0000 Hi Yuanhan, I rebased your patches on next-virtio/for-testing to current master, made sure every patch compiles and still works. I'm implementing the receive path now to eventually get some benchmark results for that as well (Patches not included yet) Any comments to the existing patches are welcome, I will change them accordingly. regards, Jens Yuanhan Liu (11): net/virtio: vring init for 1.1 net/virtio: implement 1.1 guest Tx net/virtio-user: add option to enable 1.1 vhost: enable 1.1 for testing vhost: set desc addr for 1.1 vhost: implement virtio 1.1 dequeue path vhost: mark desc being used xxx: batch the desc_hw update? xxx: virtio: remove overheads vhost: prefetch desc add virtio 1.1 test guide README-virtio-1.1 | 50 ++++++ drivers/net/virtio/Makefile | 1 + drivers/net/virtio/virtio-1.1.h | 19 +++ drivers/net/virtio/virtio_ethdev.c | 44 +++-- drivers/net/virtio/virtio_ethdev.h | 3 + drivers/net/virtio/virtio_pci.h | 7 + drivers/net/virtio/virtio_ring.h | 15 +- drivers/net/virtio/virtio_rxtx.c | 191 ++------------------- drivers/net/virtio/virtio_rxtx_1.1.c | 161 ++++++++++++++++++ drivers/net/virtio/virtio_user/virtio_user_dev.c | 9 +- drivers/net/virtio/virtio_user/virtio_user_dev.h | 3 +- drivers/net/virtio/virtio_user_ethdev.c | 14 +- drivers/net/virtio/virtqueue.h | 10 ++ lib/librte_vhost/vhost.h | 5 + lib/librte_vhost/vhost_user.c | 1 + lib/librte_vhost/virtio-1.1.h | 23 +++ lib/librte_vhost/virtio_net.c | 208 +++++++++++++++++++++++ 17 files changed, 567 insertions(+), 197 deletions(-) create mode 100644 README-virtio-1.1 create mode 100644 drivers/net/virtio/virtio-1.1.h create mode 100644 drivers/net/virtio/virtio_rxtx_1.1.c create mode 100644 lib/librte_vhost/virtio-1.1.h -- 1.8.3.1