25500d4b80
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>
9 lines
281 B
Meson
9 lines
281 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 HUAWEI TECHNOLOGIES CO., LTD.
|
|
|
|
includes += include_directories('../../../lib/librte_vhost')
|
|
deps += 'bus_pci'
|
|
name = 'virtio_crypto'
|
|
sources = files('virtio_cryptodev.c', 'virtio_pci.c',
|
|
'virtio_rxtx.c', 'virtqueue.c')
|