FD.io VPP
v17.01-9-ge7dcee4
Vector Packet Processing
|
This document is meant to contain all related information about implementation and usability.
DPDK Cryptodev is an asynchronous crypto API that supports both Hardware and Software implementations (for more details refer to DPDK Cryptography Device Library documentation).
When DPDK Cryptodev support is enabled, the node graph is modified by adding and replacing some of the nodes.
The following nodes are replaced:
The following nodes are added:
To enable DPDK Cryptodev support (disabled by default), we need the following env option:
vpp_uses_dpdk_cryptodev=yes
A couple of ways to achive this:
VPP allocates crypto resources based on a best effort approach:
0: dpdk_ipsec_init: not enough cryptodevs for ipsec
No especial IPsec configuration is required.
Once DPDK Cryptodev is enabled, the user just needs to provide cryptodevs in the startup.conf.
Example startup.conf:
In the above configuration:
For further details refer to DPDK Crypto Device Driver documentation
The following CLI command displays the Cryptodev/Worker mapping:
show crypto device mapping [verbose]