[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/4] cryptodev: add vhost support
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH 0/4] cryptodev: add vhost support |
Date: |
Thu, 21 Dec 2017 16:25:20 +0200 |
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
>