From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Freimann Subject: [RFC PATCH 00/11] net/virtio: packed ring layout Date: Fri, 5 May 2017 09:57:11 -0400 Message-ID: <1493992642-52756-1-git-send-email-jfreiman@redhat.com> Cc: dev@dpdk.org To: yuanhan.liu@linux.intel.com 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) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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