FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
DPDK Crypto

clear dpdk crypto placement

Summary/usage

clear dpdk crypto placement <device> [<thread>].

Declaration and implementation

Declaration: clear_dpdk_crypto_placement (src/plugins/dpdk/ipsec/cli.c line 493)

Implementation: clear_dpdk_crypto_placement_fn.

set dpdk crypto placement

Summary/usage

set dpdk crypto placement (<device> <thread> | auto).

Declaration and implementation

Declaration: set_dpdk_crypto_placement (src/plugins/dpdk/ipsec/cli.c line 388)

Implementation: set_dpdk_crypto_placement_fn.

show dpdk crypto devices

Summary/usage

show dpdk crypto devices.

Description

This command is used to display the DPDK Crypto device information.

Example usage
Example of how to display the DPDK Crypto device information: {show dpdk crypto devices} vpp# show dpdk crypto devices cryptodev_aesni_mb_pmd crypto_aesni_mb down numa_node 1, max_queues 8 free_resources 2, used_resources 2 SYMMETRIC_CRYPTO, SYM_OPERATION_CHAINING, CPU_AVX2, CPU_AESNI Cipher: aes-cbc-128, aes-cbc-192, aes-cbc-256, aes-ctr-128, aes-ctr-192, aes-ctr-256 Auth: md5-96, sha1-96, sha-256-128, sha-384-192, sha-512-256

cryptodev_aesni_gcm_pmd crypto_aesni_gcm down numa_node 1, max_queues 8 free_resources 2, used_resources 2 SYMMETRIC_CRYPTO, SYM_OPERATION_CHAINING, CPU_AVX2, CPU_AESNI, MBUF_SCATTER_GATHER Cipher: aes-gcm-128, aes-gcm-192, aes-gcm-256 Auth: Example of displaying the DPDK Crypto device data when enabled:

Declaration and implementation

Declaration: show_dpdk_crypto (src/plugins/dpdk/ipsec/cli.c line 115)

Implementation: show_dpdk_crypto_fn.

show dpdk crypto placement

Summary/usage

show dpdk crypto placement.

Description

This command is used to display the DPDK Crypto device placement.

Example usage
Example of displaying the DPDK Crypto device placement:
vpp# show dpdk crypto placement
vpp# show dpdk crypto placement
Thread 1 (vpp_wk_0):
  cryptodev_aesni_mb_p dev-id  0 inbound-queue  0 outbound-queue  1
  cryptodev_aesni_gcm_ dev-id  1 inbound-queue  0 outbound-queue  1

Thread 2 (vpp_wk_1): cryptodev_aesni_mb_p dev-id 0 inbound-queue 2 outbound-queue 3 cryptodev_aesni_gcm_ dev-id 1 inbound-queue 2 outbound-queue 3

Declaration and implementation

Declaration: show_dpdk_crypto_placement (src/plugins/dpdk/ipsec/cli.c line 238)

Implementation: show_dpdk_crypto_placement_fn.

show dpdk crypto placement verbose

Summary/usage

show dpdk crypto placement verbose.

Description

This command is used to display the DPDK Crypto device placement
with verbose output.

Example usage
Example of displaying the DPDK Crypto device placement verbose:
vpp# show dpdk crypto placement verbose
vpp# show dpdk crypto placement verbose
Thread 1 (vpp_wk_0):
  cryptodev_aesni_mb_p dev-id  0 inbound-queue  0 outbound-queue  1
    Cipher: aes-cbc-128, aes-cbc-192, aes-cbc-256, aes-ctr-128, aes-ctr-192, aes-ctr-256
    Auth: md5-96, sha1-96, sha-256-128, sha-384-192, sha-512-256
    cryptodev_aesni_gcm_ dev-id  1 inbound-queue  0 outbound-queue  1
    Cipher: aes-gcm-128, aes-gcm-192, aes-gcm-256
    Auth:
Thread 2 (vpp_wk_1): cryptodev_aesni_mb_p dev-id 0 inbound-queue 2 outbound-queue 3 Cipher: aes-cbc-128, aes-cbc-192, aes-cbc-256, aes-ctr-128, aes-ctr-192, aes-ctr-256 Auth: md5-96, sha1-96, sha-256-128, sha-384-192, sha-512-256 cryptodev_aesni_gcm_ dev-id 1 inbound-queue 2 outbound-queue 3 Cipher: aes-gcm-128, aes-gcm-192, aes-gcm-256 Auth:

Declaration and implementation

Declaration: show_dpdk_crypto_placement_v (src/plugins/dpdk/ipsec/cli.c line 272)

Implementation: show_dpdk_crypto_placement_v_fn.

show dpdk crypto pools

Summary/usage

show dpdk crypto pools.

Description

This command is used to display the DPDK Crypto pools information.

Example usage
Example of how to display the DPDK Cypto pools information:
vpp# show crypto device mapping
vpp# show dpdk crypto pools
crypto_pool_numa1
available   15872, allocated     512 total   16384
phys_addr 0xf3d2086c0, flags 00000010, nb_mem_chunks 1
elt_size  160, header_size  64, trailer_size 96
private_data_size  64, total_elt_size 320
session_h_pool_numa1 available 19998, allocated 2 total 20000 phys_addr 0xf3c9c4380, flags 00000010, nb_mem_chunks 1 elt_size 40, header_size 64, trailer_size 88 private_data_size 0, total_elt_size 192

session_drv0_pool_numa1
available   19998, allocated       2 total   20000
phys_addr 0xf3ad42d80, flags 00000010, nb_mem_chunks 1
elt_size  512, header_size  64, trailer_size 0
private_data_size   0, total_elt_size 576

Declaration and implementation

Declaration: show_dpdk_crypto_pools (src/plugins/dpdk/ipsec/cli.c line 575)

Implementation: show_dpdk_crypto_pools_fn.