summaryrefslogtreecommitdiff
path: root/config/rte_config.h
diff options
context:
space:
mode:
authorJay Zhou <jianjay.zhou@huawei.com>2018-04-17 17:23:17 +0800
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-04-23 18:20:10 +0100
commit8769079ae09569fdfb8125c2dfe1ae83381928fb (patch)
tree57f501f05a78aac898477b57231ed1f747ec70ed /config/rte_config.h
parent9a063cf41cd148d99733901f81ca0cec64e988b4 (diff)
downloaddpdk-8769079ae09569fdfb8125c2dfe1ae83381928fb.zip
dpdk-8769079ae09569fdfb8125c2dfe1ae83381928fb.tar.gz
dpdk-8769079ae09569fdfb8125c2dfe1ae83381928fb.tar.xz
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>
Diffstat (limited to 'config/rte_config.h')
-rw-r--r--config/rte_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/rte_config.h b/config/rte_config.h
index 0d61b84..b1c0b39 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -87,6 +87,10 @@
/* QuickAssist device */
#define RTE_QAT_PMD_MAX_NB_SESSIONS 2048
+/* virtio crypto defines */
+#define RTE_VIRTIO_CRYPTO_PMD_MAX_NB_SESSIONS 1024
+#define RTE_MAX_VIRTIO_CRYPTO 32
+
/* DPAA2_SEC */
#define RTE_DPAA2_SEC_PMD_MAX_NB_SESSIONS 2048