qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for 8.0 0/8] Refactor cryptodev
@ 2022-11-11  6:45 zhenwei pi
  2022-11-11  6:45 ` [PATCH for 8.0 1/8] cryptodev: Introduce cryptodev.json zhenwei pi
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: zhenwei pi @ 2022-11-11  6:45 UTC (permalink / raw)
  To: arei.gonglei, dgilbert, mst, eblake, armbru, michael.roth
  Cc: qemu-devel, zhenwei pi

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-11-16  2:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11  6:45 [PATCH for 8.0 0/8] Refactor cryptodev zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 1/8] cryptodev: Introduce cryptodev.json zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 2/8] cryptodev: Remove 'name' & 'model' fields zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 3/8] cryptodev: Introduce cryptodev alg type in QAPI zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 4/8] cryptodev: Introduce server " zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 5/8] cryptodev: Introduce 'query-cryptodev' QMP command zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 6/8] cryptodev: Support statistics zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 7/8] cryptodev-builtin: Detect akcipher capability zhenwei pi
2022-11-11  6:45 ` [PATCH for 8.0 8/8] hmp: add cryptodev info command zhenwei pi
2022-11-14 18:16   ` Dr. David Alan Gilbert
2022-11-15  1:51     ` zhenwei pi
2022-11-16  2:17 ` PING: [PATCH for 8.0 0/8] Refactor cryptodev zhenwei pi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).