I would like to propose an enhancement for vpp to work with dpdk 
multicore-crypto scheduler ( 
http://doc.dpdk.org/guides-18.02/cryptodevs/scheduler.html ).

For the software crypto pmd to be scheduled on multiple cores the following 
dpdk configuration is required:

vdev 
crypto_scheduler,slave=aesni_mb_1,slave=aesni_mb_2,mode=multi-core,corelist=3-4,ordering=enable

This does not work directly with base VPP code, the following enhancements are 
required

1. VPP Changes:

    - Recognize slave-lcore corelist assigned for multi-core crypto and pass 
the configuration during dpdk plugin device init(startup.conf)

    - Start the multi-core crypto scheduler for the correct device_id.

2. DPDK Patch 

    - Enable RTE_LIBRTE_PMD_CRYPTO_SCHEDULER

    - Enable PER_SLAVE_BUFF_SIZE to be configurable from start 
parameters(slave_buff_size=8192)

    - Ordering Fix for Multi Producer Queue

A patch was performance tested off VPP 17.10 (DPDK 17.08) release with 2,3,4 
crypto cores.

If everyone thinks this merits going into 18.07.1, i'll initiate a review 
(there have been a couple of posts on this already)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10353): https://lists.fd.io/g/vpp-dev/message/10353
Mute This Topic: https://lists.fd.io/mt/25177447/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to