1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 HUAWEI TECHNOLOGIES CO., LTD.
5 #ifndef _VIRTIO_CRYPTODEV_H_
6 #define _VIRTIO_CRYPTODEV_H_
8 #include <rte_cryptodev.h>
10 /* Features desired/implemented by this driver. */
11 #define VIRTIO_CRYPTO_PMD_GUEST_FEATURES (1ULL << VIRTIO_F_VERSION_1)
13 #define CRYPTODEV_NAME_VIRTIO_PMD crypto_virtio
15 uint16_t virtio_crypto_pkt_tx_burst(void *tx_queue,
16 struct rte_crypto_op **tx_pkts,
19 uint16_t virtio_crypto_pkt_rx_burst(void *tx_queue,
20 struct rte_crypto_op **tx_pkts,
23 #endif /* _VIRTIO_CRYPTODEV_H_ */