[dpdk-users] Running l2fwd-crypto as a secondary process

Aditya Dhakal adhak001 at ucr.edu
Tue Aug 16 03:46:13 CEST 2016


Hi everyone,

I am trying to run l2fwd-crypto example as a secondary process in DPDK
16.07 and I am using Null cipher for testing proposes.

However, while trying to run the l2fwd-crypto with following command line
options I get errors below:

./l2fwd-crypto -l 6,7 --proc-type=secondary --vdev "cryptodev_null_pmd" --
-r 1 --cipher_op ENCRYPT --cipher_algo NULL --auth_algo NULL

EAL: Detected 24 lcore(s)
EAL: Probing VFIO support...
PMD: Initialising cryptodev_null_pmd on NUMA node 1
PMD:   Max number of queue pairs = 8
PMD:   Max number of sessions = 2048
CRYPTODEV: [cryptodev_null_pmd] cryptodev_null_create() line 207: failed to
create cryptodev vdev
CRYPTODEV: [cryptodev_null_pmd] cryptodev_null_create() line 229: driver
cryptodev_null_pmd: cryptodev_null_create failed
PMD: Closing null crypto device cryptodev_null_pmd_0 on numa socket 1
EAL: failed to initialize cryptodev_null_pmd device
PANIC in rte_eal_init():
Cannot init pmd devices
6: [./l2fwd-crypto() [0x42a5ae]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7ffff7128b45]]
4: [./l2fwd-crypto(main+0x2c) [0x427efc]]
3: [./l2fwd-crypto(rte_eal_init+0xdb0) [0x45cca0]]
2: [./l2fwd-crypto(__rte_panic+0xbe) [0x4246c1]]
1: [./l2fwd-crypto(rte_dump_stack+0x18) [0x463b18]]
Aborted

Does secondary process have restrictions on initializing pmd devices?

Thank you,
Aditya


More information about the users mailing list