FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
DPDK Crypto

clear dpdk crypto devices statistics

Summary/usage

clear dpdk crypto devices statistics.

Description

This command is used to clear the DPDK Crypto device statistics.

Example usage
Example of how to clear the DPDK Crypto device statistics: {clear dpdk crypto devices statistics} vpp# clear dpdk crypto devices statistics Example of clearing the DPDK Crypto device statistic data:

Declaration and implementation

Declaration: clear_dpdk_crypto_stats (src/plugins/dpdk/ipsec/cli.c line 151)

Implementation: clear_crypto_stats_fn.

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 576)

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 471)

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 aesni_mb0 crypto_aesni_mb up numa_node 0, max_queues 4 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, aes-gcm-128, aes-gcm-192, aes-gcm-256 Auth: md5-96, sha1-96, sha-256-128, sha-384-192, sha-512-256 enqueue 2 dequeue 2 enqueue_err 0 dequeue_err 0 free_resources 3 :
  • thr_id -1 qp 3 inflight 0
  • thr_id -1 qp 2 inflight 0
  • thr_id -1 qp 1 inflight 0 used_resources 1 :
  • thr_id 1 qp 0 inflight 0 Example of displaying the DPDK Crypto device data when enabled:

Declaration and implementation

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

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 queue-pair  0
  cryptodev_aesni_gcm_ dev-id  1 queue-pair  0

Thread 2 (vpp_wk_1): cryptodev_aesni_mb_p dev-id 0 queue-pair 1 cryptodev_aesni_gcm_ dev-id 1 queue-pair 1

Declaration and implementation

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

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 queue-pair  0
    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 queue-pair  0
    Cipher: aes-gcm-128, aes-gcm-192, aes-gcm-256
    Auth:
Thread 2 (vpp_wk_1): cryptodev_aesni_mb_p dev-id 0 queue-pair 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 queue-pair 1 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 355)

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 Crypto 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 658)

Implementation: show_dpdk_crypto_pools_fn.