Since it will check the feature mask before running out-of-place
test cases and the virtio-crypto device supports OOP_LB_IN_LB_OUT mode.
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_cryptodev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
test/test/test_cryptodev.c | 48
This patch adds the guide for virtio crypto PMD.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
MAINTAINERS | 2 +
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides
The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The linux kernel virtio-crypto driver
has been merged, and this patch introduces virtio crypto
PMD to achieve better performance.
Signed-off-by: Jay Zhou
Reviewed-by
The AES-CBC cipher only algorithm has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++
drivers/crypto/virtio/virtio_cryptodev.c | 11
2 files changed
This patch implements the statistics of the packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 66 +++-
1 file changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/virtio
This patch implements session related operations, which includes creating
and destroying the session. For now, it only supports the session-oriented
API implementation. The control queue used to create or destroy sessions
for symmetric algorithms.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (10):
crypto/virtio: add virtio crypto PMD
crypto/virtio: support virtio device init
crypto/virtio: support basic PMD ops
crypto/virtio: support session related
The AES-CBC with HMAC-SHA1 has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 +
drivers/crypto/virtio/virtio_cryptodev.c | 4 +++-
2 files changed, 24 insertions
control queue. For example, if a virtio crypto device has N queues,
then [0, N-2] is the data queue index, N-1 is the control
queue index.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 437 ++-
drivers
This patch implements the functions of virtio_crypto_pkt_tx_burst()
and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests
are placed in the data queue and are ultimately handled by
the backend crypto accelerators.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan
burst transfer
packets and virtio_crypto_pkt_rx_burst() is used to burst receive packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/Makefile | 7 +
drivers/crypto/virtio/meson.build| 4 +-
drivers/crypto/virtio
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
test/test/test_cryptodev.c | 48
This patch adds the guide for virtio crypto PMD.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
MAINTAINERS | 2 +
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides
This patch implements the functions of virtio_crypto_pkt_tx_burst()
and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests
are placed in the data queue and are ultimately handled by
the backend crypto accelerators.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan
The AES-CBC with HMAC-SHA1 has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 +
drivers/crypto/virtio/virtio_cryptodev.c | 4 +++-
2 files changed, 24 insertions
f the file [Fan]
- update doc/guides/cryptodevs for describing virtio crypto PMD [Fan]
- update copyright
- delete virtio legacy mode code since virtio-crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (10):
crypto/vi
burst transfer
packets and virtio_crypto_pkt_rx_burst() is used to burst receive packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/Makefile | 3 +
drivers/crypto/virtio/meson.build| 3 +-
drivers/crypto/virtio
The AES-CBC cipher only algorithm has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++
drivers/crypto/virtio/virtio_cryptodev.c | 11
2 files changed
control queue. For example, if a virtio crypto device has N queues,
then [0, N-2] is the data queue index, N-1 is the control
queue index.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 437 ++-
drivers
The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The linux kernel virtio-crypto driver
has been merged, and this patch introduces virtio crypto
PMD to achieve better performance.
Signed-off-by: Jay Zhou
Reviewed-by
This patch implements the statistics of the packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 66 +++-
1 file changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/virtio
This patch implements session related operations, which includes creating
and destroying the session. For now, it only supports the session-oriented
API implementation. The control queue used to create or destroy sessions
for symmetric algorithms.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
test/test/test_cryptodev.c | 48
burst transfer
packets and virtio_crypto_pkt_rx_burst() is used to burst receive packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/Makefile | 3 +
drivers/crypto/virtio/virtio_cryptodev.c | 245 +++-
drivers/crypto
This patch implements the statistics of the packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 66 +++-
1 file changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/virtio
The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The linux kernel virtio-crypto driver
has been merged, and this patch introduces virtio crypto
PMD to achieve better performance.
Signed-off-by: Jay Zhou
Reviewed-by
This patch implements the functions of virtio_crypto_pkt_tx_burst()
and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests
are placed in the data queue and are ultimately handled by
the backend crypto accelerators.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan
This patch adds the guide for virtio crypto PMD.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
MAINTAINERS | 2 +
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides
The AES-CBC with HMAC-SHA1 has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 +
drivers/crypto/virtio/virtio_cryptodev.c | 4 +++-
2 files changed, 24 insertions
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/meson.build| 2 +-
drivers/crypto/virtio/meson.build | 12
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/virtio/meson.build
diff --git a/drivers
The AES-CBC cipher only algorithm has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++
drivers/crypto/virtio/virtio_cryptodev.c | 11
2 files changed
control queue. For example, if a virtio crypto device has N queues,
then [0, N-2] is the data queue index, N-1 is the control
queue index.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 437 ++-
drivers
- update copyright
- delete virtio legacy mode code since virtio-crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (11):
crypto/virtio: add virtio crypto PMD
crypto/virtio: support virtio device init
crypto/vi
This patch implements session related operations, which includes creating
and destroying the session. For now, it only supports the session-oriented
API implementation. The control queue used to create or destroy sessions
for symmetric algorithms.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
test/test/test_cryptodev.c | 48
The AES-CBC with HMAC-SHA1 has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 +
drivers/crypto/virtio/virtio_cryptodev.c | 4 +++-
2 files changed, 24 insertions
This patch implements the statistics of the packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 66 +++-
1 file changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/virtio
This patch adds the guide for virtio crypto PMD.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
MAINTAINERS | 2 +
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides
d variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (11):
crypto/virtio: add virtio crypto PMD
crypto/virtio: support virtio device init
crypto/virtio: support basic PMD ops
crypto/virtio: support session related ops
crypto/virtio: support crypto enqueue/dequeue
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/meson.build| 2 +-
drivers/crypto/virtio/meson.build | 12
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/virtio/meson.build
diff --git a/drivers
This patch implements the functions of virtio_crypto_pkt_tx_burst()
and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests
are placed in the data queue and are ultimately handled by
the backend crypto accelerators.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan
The AES-CBC cipher only algorithm has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++
drivers/crypto/virtio/virtio_cryptodev.c | 11
2 files changed
This patch implements session related operations, which includes creating
and destroying the session. For now, it only supports the session-oriented
API implementation. The control queue used to create or destroy sessions
for symmetric algorithms.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The linux kernel virtio-crypto driver
has been merged, and this patch introduces virtio crypto
PMD to achieve better performance.
Signed-off-by: Jay Zhou
Reviewed-by
burst transfer
packets and virtio_crypto_pkt_rx_burst() is used to burst receive packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/Makefile | 3 +
drivers/crypto/virtio/virtio_cryptodev.c | 245 +++-
drivers/crypto
control queue. For example, if a virtio crypto device has N queues,
then [0, N-2] is the data queue index, N-1 is the control
queue index.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 437 ++-
drivers
Moving the virtio crypto header file from vhost lib to compat lib,
then this header file can be shared between vhost crypto backend and
virtio crypto PMD.
Signed-off-by: Jay Zhou
---
lib/librte_compat/Makefile | 3 ++-
lib/librte_compat/meson.build
CC: Zhihong Wang
Fixes: 8b991d412e (vhost: support selective datapath)
Signed-off-by: Jay Zhou
---
lib/librte_vhost/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build
index 66cced1cb..b021894a0 100644
ff-by: Jay Zhou
Signed-off-by: Gonglei
---
lib/librte_vhost/virtio_crypto.h | 422 +++
1 file changed, 422 insertions(+)
create mode 100644 lib/librte_vhost/virtio_crypto.h
diff --git a/lib/librte_vhost/virtio_crypto.h b/lib/librte_vhost/virtio_crypto.h
new file
This patch adds the guide for virtio crypto PMD.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
MAINTAINERS | 2 +
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides
burst transfer
packets and virtio_crypto_pkt_rx_burst() is used to burst receive packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/Makefile | 3 +
drivers/crypto/virtio/virtio_cryptodev.c | 247 -
drivers/crypto
This patch implements the functions of virtio_crypto_pkt_tx_burst()
and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests
are placed in the data queue and are ultimately handled by
the backend crypto accelerators.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan
This patch implements the statistics of the packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 66 +++-
1 file changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/virtio
This patch implements session related operations, which includes creating
and destroying the session. For now, it only supports the session-oriented
API implementation. The control queue used to create or destroy sessions
for symmetric algorithms.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The linux kernel virtio-crypto driver
has been merged, and this patch introduces virtio crypto
PMD to achieve better performance.
Signed-off-by: Jay Zhou
Reviewed-by
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
test/test/test_cryptodev.c | 48
The AES-CBC with HMAC-SHA1 has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 +
drivers/crypto/virtio/virtio_cryptodev.c | 4 +++-
2 files changed, 24 insertions
The AES-CBC cipher only algorithm has been supported now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++
drivers/crypto/virtio/virtio_cryptodev.c | 11
2 files changed
nction and variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (10):
crypto/virtio: add virtio crypto PMD
crypto/virtio: support virtio device init
crypto/virtio: support basic PMD ops
crypto/virtio: support session related ops
crypto/virtio: support crypto enqu
control queue. For example, if a virtio crypto device has N queues,
then [0, N-2] is the data queue index, N-1 is the control
queue index.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_cryptodev.c | 434 ++-
drivers
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_cryptodev.h | 2 +
drivers/crypto/virtio/virtio_rxtx.c | 441 ++-
2 files changed, 433 insertions(+), 10 deletions(-)
diff --git a/drivers/crypto/virtio/virtio_cryptodev.h
b/drivers/crypto/virtio
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 +
drivers/crypto/virtio/virtio_cryptodev.c | 4 +++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/virtio/virtio_crypto_capabilities.h
b/drivers
Signed-off-by: Jay Zhou
---
MAINTAINERS | 2 +
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides/cryptodevs/virtio.rst | 117 ++
doc/guides/rel_notes
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
---
test/test/test_cryptodev.c | 48 +
test/test
Signed-off-by: Jay Zhou
---
MAINTAINERS| 4 +++
config/common_base | 14 +
doc/guides/rel_notes/release_18_05.rst | 3 ++
drivers/crypto/Makefile| 1 +
drivers/crypto/virtio
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_cryptodev.c | 66 +++-
1 file changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/virtio/virtio_cryptodev.c
b/drivers/crypto/virtio/virtio_cryptodev.c
index 11f725a..0ab0d38 100644
--- a
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/Makefile | 3 +
drivers/crypto/virtio/virtio_cryptodev.c | 247 -
drivers/crypto/virtio/virtio_cryptodev.h | 13 +
drivers/crypto/virtio/virtio_logs.h | 91 ++
drivers/crypto/virtio/virtio_pci.c | 460
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_cryptodev.c | 434 ++-
drivers/crypto/virtio/virtio_cryptodev.h | 32 ++-
drivers/crypto/virtio/virtio_rxtx.c | 68 +
3 files changed, 525 insertions(+), 9 deletions(-)
diff --git a/drivers/crypto
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++
drivers/crypto/virtio/virtio_cryptodev.c | 11
2 files changed, 41 insertions(+)
create mode 100644 drivers/crypto/virtio/virtio_crypto_capabilities.h
diff --git a
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_crypto_algs.h | 27 ++
drivers/crypto/virtio/virtio_cryptodev.c | 728 -
drivers/crypto/virtio/virtio_cryptodev.h | 7 +
3 files changed, 759 insertions(+), 3 deletions(-)
create mode 100644 drivers
rtio_crypto.h instead of creating a copy of the file [Fan]
- update doc/guides/cryptodevs for describing virtio crypto PMD [Fan]
- update copyright
- delete virtio legacy mode code since virtio-crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings re
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index b262e55..5424e74 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -724,6 +724,12 @@ F: drivers/crypto/snow3g/
F: doc/guides
This structure will be used in the following patches, especially
at creating and destroying crypto sessions.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_algs.h | 27 +++
1 file changed, 27 insertions
-chaining. The function
virtio_crypto_sym_configure_session() is used to create a session, then
virtio_crypto_pkt_tx_burst() can be used to burst transfer packets and
virtio_crypto_pkt_rx_burst() can be used to burst receive packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides/cryptodevs/virtio.rst | 117 ++
3 files changed, 144 insertions
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
test/test/test_cryptodev.c | 48
The virtio crypto PMD driver can be compiled now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/Makefile| 1 +
drivers/crypto/virtio/Makefile | 31 ++
.../virtio
[Fan]
- update doc/guides/cryptodevs for describing virtio crypto PMD [Fan]
- update copyright
- delete virtio legacy mode code since virtio-crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (7):
crypto/virti
Since there does not have the common virtio library, we have to put
these files here. They are basically the same with virtio net related files
with some minor changes.
Meanwhile, adding virtio crypto PMD related release note for 18.05.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 75d3e92..24c5af8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -718,6 +718,12 @@ F: drivers/crypto/snow3g/
F: doc/guides
The virtio crypto PMD driver can be compiled now.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/Makefile| 1 +
drivers/crypto/virtio/Makefile | 31 ++
.../virtio
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithm are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
test/test/test_cryptodev.c | 49
- delete virtio legacy mode code since virtio-crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (7):
crypto/virtio: add virtio related fundamental functions
crypto/virtio: add crypto related session structure
cr
Since there does not have the common virtio library, we have to put
these files here. They are basically the same with virtio net related files
with some minor changes.
Meanwhile, adding virtio crypto PMD related release note for 18.05.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by
This structure will be used in the following patches, especially
at creating and destroying crypto sessions.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
drivers/crypto/virtio/virtio_crypto_algs.h | 27 +++
1 file changed, 27 insertions
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
---
doc/guides/cryptodevs/features/virtio.ini | 26 +++
doc/guides/cryptodevs/index.rst | 1 +
doc/guides/cryptodevs/virtio.rst | 117 ++
3 files changed, 144 insertions
-chaining. The function
virtio_crypto_sym_configure_session() is used to create a session, then
virtio_crypto_pkt_tx_burst() can be used to burst transfer packets and
virtio_crypto_pkt_rx_burst() can be used to burst receive packets.
Signed-off-by: Jay Zhou
Reviewed-by: Fan Zhang
Acked-by: Fan Zhang
Only RTE_CRYPTO_CIPHER_AES_CBC cipher
algorithms are tested as unit test, it is supported both by the
cryptodev-backend-builtin and cryptodev-vhost-user of qemu side.
Signed-off-by: Jay Zhou
---
test/test/test_cryptodev.c | 49 +
test/test
The virtio crypto PMD driver can be compiled now.
Signed-off-by: Jay Zhou
---
drivers/crypto/Makefile| 1 +
drivers/crypto/virtio/Makefile | 31 ++
.../virtio/rte_pmd_virtio_crypto_version.map | 3 +++
mk/rte.app.mk
Signed-off-by: Jay Zhou
---
doc/guides/cryptodevs/features/virtio.ini | 22 ++
doc/guides/cryptodevs/virtio.rst | 117 ++
2 files changed, 139 insertions(+)
create mode 100644 doc/guides/cryptodevs/features/virtio.ini
create mode 100644 doc/guides
Signed-off-by: Jay Zhou
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index a646ca3..be1b394 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -719,6 +719,12 @@ F: drivers/crypto/snow3g/
F: doc/guides/cryptodevs/snow3g.rst
F: doc/guides
This structure will be used in the following patches, especially
at creating and destroying crypto sessions.
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_crypto_algs.h | 27 +++
1 file changed, 27 insertions(+)
create mode 100644 drivers/crypto/virtio
- delete virtio legacy mode code since virtio-crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings reported by checkpatch
Jay Zhou (7):
crypto/virtio: add virtio related fundamental functions
crpyto/virtio: add crypto related session structure
cr
The idea comes from QAT and virtio-net devices.
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_crypto_capabilities.h | 51 +
drivers/crypto/virtio/virtio_cryptodev.c | 1553
drivers/crypto/virtio/virtio_cryptodev.h | 66 +
drivers/crypto
Since there does not have the common virtio library, we have to put
these files here. They are basically the same with virtio net related files
with some minor changes.
Signed-off-by: Jay Zhou
---
config/common_base | 20 ++
drivers/crypto/virtio/virtio_logs.h | 47
Signed-off-by: Jay Zhou
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4f1f33b..3efc8df 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -718,6 +718,12 @@ F: drivers/crypto/snow3g/
F: doc/guides/cryptodevs/snow3g.rst
F: doc/guides
The virtio crypto PMD driver can be compiled now.
Signed-off-by: Jay Zhou
---
drivers/crypto/Makefile| 1 +
drivers/crypto/virtio/Makefile | 31 ++
.../virtio/rte_pmd_virtio_crypto_version.map | 3 +++
mk/rte.app.mk
nstead of creating a copy of the file [Fan]
- update doc/guides/cryptodevs for describing virtio crypto PMD [Fan]
- update copyright
- delete virtio legacy mode code since virtio-crypto conforms to virtio-1.0
- refine the function and variable names
- fix errors and warnings reported by chec
The idea comes from QAT and virtio-net devices.
Signed-off-by: Jay Zhou
---
drivers/crypto/virtio/virtio_cryptodev.c | 1544 ++
drivers/crypto/virtio/virtio_cryptodev.h | 66 ++
drivers/crypto/virtio/virtio_rxtx.c | 533 +++
3 files changed, 2143
1 - 100 of 107 matches
Mail list logo