Hi all, I am trying to check crypto multi-core functionality of dpdk with VPP[18.04]
I did following configuration in startup.conf. cpu { ## In the VPP there is one main thread and optionally the user can create worker(s) ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically ## Manual pinning of thread(s) to CPU core(s) ## Set logical CPU core where main thread runs * main-core 1* ## Set logical CPU core(s) where worker threads are running * corelist-workers 2,3* } dpdk { ## Change default settings for all intefaces dev default { . . } *vdev crypto_aesni_mb1,name=aesni_mb_1,socket_id=0 vdev crypto_aesni_mb_pmd2,name=aesni_mb_2,socket_id=0 vdev crypto_scheduler,slave=aesni_mb_1,slave=aesni_mb_2,mode=multi-core,corelist=4-5,ordering=enable* I could see scheduler device created . vpp# show dpdk crypto devices aesni_mb_1 crypto_aesni_mb down numa_node 0, max_queues 8 free_resources 4, used_resources 0 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 aesni_mb_2 crypto_aesni_mb down numa_node 0, max_queues 8 free_resources 4, used_resources 0 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 *crypto_scheduler crypto_scheduler down numa_node 0, max_queues 8 free_resources 4, used_resources 0 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* When I am trying to pump packets I am could see it is going till esp_decrypt but not doing anything after that. show thread output : ID Name Type LWP Sched Policy (Priority) lcore Core Socket State 0 vpp_main 24179 other (0) 1 1 0 1 vpp_wk_0 workers 24184 other (0) 2 2 0 2 vpp_wk_1 workers 24185 other (0) 3 3 0 Can somebody please help here , am I missing some configuration/sequence for *crypto_scheduler *to run with *multi-core in VPP ?* Regards, Bindiya . . -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9702): https://lists.fd.io/g/vpp-dev/message/9702 Mute This Topic: https://lists.fd.io/mt/22682350/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-