[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for 8.0 0/8] Refactor cryptodev
From: |
zhenwei pi |
Subject: |
[PATCH for 8.0 0/8] Refactor cryptodev |
Date: |
Fri, 11 Nov 2022 14:45:45 +0800 |
The main changes in this series:
- introduce cryptodev.json to describe the attributes of crypto device, then
drop duplicated type declare, remove some virtio related dependence.
- add statistics: OPS and bandwidth.
- add QMP command: query-cryptodev
- add HMP info command: cryptodev
- misc fix: detect akcipher capability instead of exposing akcipher service
unconditionally.
Zhenwei Pi (8):
cryptodev: Introduce cryptodev.json
cryptodev: Remove 'name' & 'model' fields
cryptodev: Introduce cryptodev alg type in QAPI
cryptodev: Introduce server type in QAPI
cryptodev: Introduce 'query-cryptodev' QMP command
cryptodev: Support statistics
cryptodev-builtin: Detect akcipher capability
hmp: add cryptodev info command
MAINTAINERS | 1 +
backends/cryptodev-builtin.c | 46 +++++++---
backends/cryptodev-lkcf.c | 11 +--
backends/cryptodev-vhost-user.c | 13 ++-
backends/cryptodev-vhost.c | 4 +-
backends/cryptodev.c | 101 ++++++++++++++++++----
hmp-commands-info.hx | 14 ++++
hw/virtio/virtio-crypto.c | 41 +++++++--
include/monitor/hmp.h | 1 +
include/sysemu/cryptodev.h | 61 ++++++++------
monitor/hmp-cmds.c | 36 ++++++++
qapi/cryptodev.json | 144 ++++++++++++++++++++++++++++++++
qapi/meson.build | 1 +
qapi/qapi-schema.json | 1 +
14 files changed, 401 insertions(+), 74 deletions(-)
create mode 100644 qapi/cryptodev.json
--
2.20.1
- [PATCH for 8.0 0/8] Refactor cryptodev,
zhenwei pi <=
- [PATCH for 8.0 2/8] cryptodev: Remove 'name' & 'model' fields, zhenwei pi, 2022/11/11
- [PATCH for 8.0 4/8] cryptodev: Introduce server type in QAPI, zhenwei pi, 2022/11/11
- [PATCH for 8.0 1/8] cryptodev: Introduce cryptodev.json, zhenwei pi, 2022/11/11
- [PATCH for 8.0 3/8] cryptodev: Introduce cryptodev alg type in QAPI, zhenwei pi, 2022/11/11
- [PATCH for 8.0 6/8] cryptodev: Support statistics, zhenwei pi, 2022/11/11
- [PATCH for 8.0 7/8] cryptodev-builtin: Detect akcipher capability, zhenwei pi, 2022/11/11
- [PATCH for 8.0 8/8] hmp: add cryptodev info command, zhenwei pi, 2022/11/11
- [PATCH for 8.0 5/8] cryptodev: Introduce 'query-cryptodev' QMP command, zhenwei pi, 2022/11/11