#
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 ...
|