From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRiKK-0007ez-JF for qemu-devel@nongnu.org; Wed, 20 Dec 2017 12:38:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRiKG-0004Sr-Gh for qemu-devel@nongnu.org; Wed, 20 Dec 2017 12:38:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40558) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRiKG-0004Rd-8Z for qemu-devel@nongnu.org; Wed, 20 Dec 2017 12:38:40 -0500 Date: Wed, 20 Dec 2017 19:38:35 +0200 From: "Michael S. Tsirkin" Message-ID: <20171220193658-mutt-send-email-mst@kernel.org> References: <1511859789-43680-1-git-send-email-arei.gonglei@huawei.com> <33183CC9F5247A488A2544077AF19020DA4ED5D3@DGGEMA505-MBX.china.huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33183CC9F5247A488A2544077AF19020DA4ED5D3@DGGEMA505-MBX.china.huawei.com> Subject: Re: [Qemu-devel] [PATCH 0/4] cryptodev: add vhost support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gonglei (Arei)" Cc: "qemu-devel@nongnu.org" , "pbonzini@redhat.com" , "Huangweidong (C)" , "stefanha@redhat.com" , "Zhoujian (jay)" , "pasic@linux.vnet.ibm.com" , longpeng , "xin.zeng@intel.com" , "roy.fan.zhang@intel.com" On Mon, Dec 18, 2017 at 09:03:16AM +0000, Gonglei (Arei) wrote: > Ping... > > Fan (working for DPDK parts) is waiting for those patches upstreamed. :) > > Thanks, > -Gonglei As far as I am concerned, the main issue is that it says it assumes polling. virtio does not work like this right now. As long as spec does not support interrupt mode, I don't think we can merge this. > > > -----Original Message----- > > From: Gonglei (Arei) > > Sent: Tuesday, November 28, 2017 5:03 PM > > To: qemu-devel@nongnu.org > > Cc: mst@redhat.com; pbonzini@redhat.com; Huangweidong (C); > > stefanha@redhat.com; Zhoujian (jay); pasic@linux.vnet.ibm.com; longpeng; > > xin.zeng@intel.com; roy.fan.zhang@intel.com; Gonglei (Arei) > > Subject: [PATCH 0/4] cryptodev: add vhost support > > > > I posted the RFC verion five months ago for DPDK > > vhost-crypto implmention, and now it's time to send > > the formal version. Because we need an user space scheme > > for better performance. > > > > The vhost user crypto server side patches had been > > sent to DPDK community, pls see > > > > [RFC PATCH 0/6] lib/librte_vhost: introduce new vhost_user crypto backend > > support > > http://dpdk.org/ml/archives/dev/2017-November/081048.html > > > > You also can get virtio-crypto polling mode driver from: > > > > [PATCH] virtio: add new driver for crypto devices > > http://dpdk.org/ml/archives/dev/2017-November/081985.html > > > > > > Gonglei (4): > > cryptodev: add vhost-user as a new cryptodev backend > > cryptodev: add vhost support > > cryptodev-vhost-user: add crypto session handler > > cryptodev-vhost-user: set the key length > > > > backends/Makefile.objs | 4 + > > backends/cryptodev-builtin.c | 1 + > > backends/cryptodev-vhost-user.c | 381 > > ++++++++++++++++++++++++++++++++++ > > backends/cryptodev-vhost.c | 297 > > ++++++++++++++++++++++++++ > > docs/interop/vhost-user.txt | 19 ++ > > hw/virtio/vhost-user.c | 89 ++++++++ > > hw/virtio/virtio-crypto.c | 70 +++++++ > > include/hw/virtio/vhost-backend.h | 8 + > > include/hw/virtio/virtio-crypto.h | 1 + > > include/sysemu/cryptodev-vhost-user.h | 47 +++++ > > include/sysemu/cryptodev-vhost.h | 154 ++++++++++++++ > > include/sysemu/cryptodev.h | 8 + > > qemu-options.hx | 21 ++ > > vl.c | 4 + > > 14 files changed, 1104 insertions(+) > > create mode 100644 backends/cryptodev-vhost-user.c > > create mode 100644 backends/cryptodev-vhost.c > > create mode 100644 include/sysemu/cryptodev-vhost-user.h > > create mode 100644 include/sysemu/cryptodev-vhost.h > > > > -- > > 1.8.3.1 > >