From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id BB5532C8 for ; Wed, 21 Jun 2017 04:59:24 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 20 Jun 2017 19:59:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,367,1493708400"; d="scan'208";a="101830258" Received: from dpdk25.sh.intel.com ([10.67.111.75]) by orsmga002.jf.intel.com with ESMTP; 20 Jun 2017 19:59:22 -0700 From: Tiwei Bie To: dev@dpdk.org Date: Wed, 21 Jun 2017 10:57:36 +0800 Message-Id: <1498013885-102779-1-git-send-email-tiwei.bie@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [RFC 00/29] latest virtio1.1 prototype 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: Wed, 21 Jun 2017 02:59:25 -0000 This patchset rebased Yuanhan's virtio1.1 prototype [1] to the current master branch of dpdk-next-virtio tree. It also contains Jens' fixes, my fixes and optimizations. After sending each RFC patchset to the mailing list, I'll also collect them to my github repo [2] to give everyone a repo where can find the latest working code of virtio1.1 prototype. [1] http://dpdk.org/browse/next/dpdk-next-virtio/log/?h=for-testing [2] https://github.com/btw616/dpdk-virtio1.1 Best regards, Tiwei Bie Jens Freimann (1): vhost: descriptor length should include vhost header Tiwei Bie (14): net/virtio: avoid touching packet data net/virtio: fix virtio1.1 feature negotiation net/virtio: the Rx support for virtio1.1 has been added now vhost: VIRTIO_NET_F_MRG_RXBUF is not supported for now vhost: fix vring addr setup net/virtio: free mbuf when need to use vhost: don't copy descs during Rx vhost: fix mbuf leak net/virtio: cleanup txd when free count below threshold net/virtio: refill descs for vhost in batch vhost: remove dead code vhost: various optimizations for Tx vhost: make the code more readable vhost: update and return descs in batch Yuanhan Liu (14): 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 testpmd: add s-txonly net/virtio: implement the Rx code path vhost: a rough implementation on enqueue code path README-virtio-1.1 | 50 ++++ app/test-pmd/Makefile | 1 + app/test-pmd/s-txonly.c | 134 ++++++++++ app/test-pmd/testpmd.c | 1 + app/test-pmd/testpmd.h | 1 + drivers/net/virtio/Makefile | 1 + drivers/net/virtio/virtio-1.1.h | 19 ++ drivers/net/virtio/virtio_ethdev.c | 45 ++-- 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 | 320 +++++++++++------------ drivers/net/virtio/virtio_rxtx_1.1.c | 161 ++++++++++++ drivers/net/virtio/virtio_user/virtio_user_dev.c | 12 +- drivers/net/virtio/virtio_user/virtio_user_dev.h | 3 +- drivers/net/virtio/virtio_user_ethdev.c | 14 +- drivers/net/virtio/virtqueue.h | 11 + lib/librte_vhost/vhost.c | 4 + lib/librte_vhost/vhost.h | 7 +- lib/librte_vhost/vhost_user.c | 16 +- lib/librte_vhost/virtio-1.1.h | 23 ++ lib/librte_vhost/virtio_net.c | 310 +++++++++++++++++++++- 22 files changed, 958 insertions(+), 200 deletions(-) create mode 100644 README-virtio-1.1 create mode 100644 app/test-pmd/s-txonly.c 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 -- 2.7.4