crypto/virtio: support burst enqueue/dequeue
authorJay Zhou <jianjay.zhou@huawei.com>
Tue, 17 Apr 2018 09:23:21 +0000 (17:23 +0800)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:10 +0000 (18:20 +0100)
commit82adb12a1fce1a8a45da2f8d72a56ba1f640c9d6
treed4fd25e89f518424203612b003aabe1f33fb9a2e
parentb7fa78c7d3b0d74c777fb2d7285c0075441423f1
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>
drivers/crypto/virtio/virtio_cryptodev.h
drivers/crypto/virtio/virtio_rxtx.c