#
186b14d6 |
| 24-Jun-2019 |
Fan Zhang <roy.fan.zhang@intel.com> |
cryptodev: make xform key pointer constant
This patch changes the key pointer data types in cipher, auth, and aead xforms from "uint8_t *" to "const uint8_t *" for a more intuitive and safe sessionn
cryptodev: make xform key pointer constant
This patch changes the key pointer data types in cipher, auth, and aead xforms from "uint8_t *" to "const uint8_t *" for a more intuitive and safe sessionn creation.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Liron Himi <lironh@marvell.com>
show more ...
|
#
b063e843 |
| 26-Jun-2018 |
Fan Zhang <roy.fan.zhang@intel.com> |
crypto/virtio: fix IV physical address
The physical address of IV required by Virtio was computed using crypto operations' physical address plus the offset. However not all crypto ops will have phys
crypto/virtio: fix IV physical address
The physical address of IV required by Virtio was computed using crypto operations' physical address plus the offset. However not all crypto ops will have physical address field initialized and compute it runtimely is costly. This patch fixes this problem by adding iv field in virtio_crypto_op_cookie and does a memcpy of iv instead.
Fixes: 82adb12a1fce ("crypto/virtio: support burst enqueue/dequeue") Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Reviewed-by: Jay Zhou <jianjay.zhou@huawei.com>
show more ...
|
#
82adb12a |
| 17-Apr-2018 |
Jay Zhou <jianjay.zhou@huawei.com> |
crypto/virtio: support burst enqueue/dequeue
This patch implements the functions of virtio_crypto_pkt_tx_burst() and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests are placed i
crypto/virtio: support burst enqueue/dequeue
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 <jianjay.zhou@huawei.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
b7fa78c7 |
| 17-Apr-2018 |
Jay Zhou <jianjay.zhou@huawei.com> |
crypto/virtio: support session related ops
This patch implements session related operations, which includes creating and destroying the session. For now, it only supports the session-oriented API im
crypto/virtio: support session related ops
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 <jianjay.zhou@huawei.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
6f0175ff |
| 17-Apr-2018 |
Jay Zhou <jianjay.zhou@huawei.com> |
crypto/virtio: support basic PMD ops
This patch implements the basic operations of virtio crypto PMD, which includes start, stop, close, information getting, queue setup and release of the device. T
crypto/virtio: support basic PMD ops
This patch implements the basic operations of virtio crypto PMD, which includes start, stop, close, information getting, queue setup and release of the device. The virtio crypto device has two types of queues, data queue and control queue. It has one data queue at least and has one and only one 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 <jianjay.zhou@huawei.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
25500d4b |
| 17-Apr-2018 |
Jay Zhou <jianjay.zhou@huawei.com> |
crypto/virtio: support device init
This patch implements the initialization of the virtio crypto device. The virtio crypto device conforms to virtio-1.0, so this patch only supports modern mode oper
crypto/virtio: support device init
This patch implements the initialization of the virtio crypto device. The virtio crypto device conforms to virtio-1.0, so this patch only supports modern mode operation. The cryptodev is created at the virtio crypto pci device probing stage. The function of virtio_crypto_pkt_tx_burst() is used to burst transfer packets and virtio_crypto_pkt_rx_burst() is used to burst receive packets.
Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
8769079a |
| 17-Apr-2018 |
Jay Zhou <jianjay.zhou@huawei.com> |
crypto/virtio: add virtio crypto PMD
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
crypto/virtio: add virtio crypto PMD
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 <jianjay.zhou@huawei.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|