All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Gonglei <arei.gonglei@huawei.com>
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com,
	weidong.huang@huawei.com, stefanha@redhat.com,
	jianjay.zhou@huawei.com, pasic@linux.vnet.ibm.com,
	longpeng2@huawei.com, xin.zeng@intel.com,
	roy.fan.zhang@intel.com
Subject: Re: [Qemu-devel] [PATCH 0/4] cryptodev: add vhost support
Date: Thu, 21 Dec 2017 16:25:20 +0200	[thread overview]
Message-ID: <20171221162459-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1511859789-43680-1-git-send-email-arei.gonglei@huawei.com>

On Tue, Nov 28, 2017 at 05:03:05PM +0800, Gonglei wrote:
> 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
> 

This makes build on mingw break:

  CC      sparc64-softmmu/hw/scsi/virtio-scsi-dataplane.o
hw/virtio/virtio-crypto.o: In function `virtio_crypto_vhost_status':
/scm/qemu/hw/virtio/virtio-crypto.c:898: undefined reference to `cryptodev_get_vhost'
/scm/qemu/hw/virtio/virtio-crypto.c:910: undefined reference to `cryptodev_vhost_start'
/scm/qemu/hw/virtio/virtio-crypto.c:917: undefined reference to `cryptodev_vhost_stop'
hw/virtio/virtio-crypto.o: In function `virtio_crypto_guest_notifier_pending':
/scm/qemu/hw/virtio/virtio-crypto.c:947: undefined reference to `cryptodev_vhost_virtqueue_pending'
hw/virtio/virtio-crypto.o: In function `virtio_crypto_guest_notifier_mask':
/scm/qemu/hw/virtio/virtio-crypto.c:937: undefined reference to `cryptodev_vhost_virtqueue_mask'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:193: qemu-system-i386.exe] Error 1
make: *** [Makefile:383: subdir-i386-softmmu] Error 2



> 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
> 

  parent reply	other threads:[~2017-12-21 14:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28  9:03 [Qemu-devel] [PATCH 0/4] cryptodev: add vhost support Gonglei
2017-11-28  9:03 ` [Qemu-devel] [PATCH 1/4] cryptodev: add vhost-user as a new cryptodev backend Gonglei
2017-11-28  9:03 ` [Qemu-devel] [PATCH 2/4] cryptodev: add vhost support Gonglei
2017-11-28  9:03 ` [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler Gonglei
2017-11-28 10:01   ` Paolo Bonzini
2017-11-28 10:43     ` Gonglei (Arei)
2017-11-28 10:45       ` Paolo Bonzini
2017-11-28 11:06         ` Gonglei (Arei)
2017-11-28 11:19           ` Paolo Bonzini
2017-11-29  2:33             ` Gonglei (Arei)
2017-11-29  4:10               ` Michael S. Tsirkin
2017-11-29  9:11                 ` Paolo Bonzini
2017-11-29 10:21                   ` Tan, Jianfeng
2017-11-28 19:15         ` Michael S. Tsirkin
2017-11-28  9:03 ` [Qemu-devel] [PATCH 4/4] cryptodev-vhost-user: set the key length Gonglei
2017-11-28 10:10 ` [Qemu-devel] [PATCH 0/4] cryptodev: add vhost support no-reply
2017-12-18  9:03 ` Gonglei (Arei)
2017-12-20 17:38   ` Michael S. Tsirkin
2017-12-21  0:51     ` Gonglei (Arei)
2017-12-21  4:28       ` Michael S. Tsirkin
2017-12-21  9:11       ` Paolo Bonzini
2017-12-21 14:25 ` Michael S. Tsirkin [this message]
2017-12-22  7:39   ` Gonglei (Arei)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171221162459-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=arei.gonglei@huawei.com \
    --cc=jianjay.zhou@huawei.com \
    --cc=longpeng2@huawei.com \
    --cc=pasic@linux.vnet.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=roy.fan.zhang@intel.com \
    --cc=stefanha@redhat.com \
    --cc=weidong.huang@huawei.com \
    --cc=xin.zeng@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.