[dpdk-dev] [PATCH] app/testpmd: support multi-process

Min Hu (Connor) humin29 at huawei.com
Wed Mar 10 12:11:23 CET 2021



在 2021/3/5 12:05, Ajit Khaparde 写道:
> On Thu, Mar 4, 2021 at 5:03 PM Lijun Ou <oulijun at huawei.com> wrote:
> 
>> This patch adds multi-process support for testpmd.
>> The test cmd example as follows:
>> the primary cmd:
>> ./testpmd -w xxx --file-prefix=xx -l 0-1 -n 2 -- -i\
>> --rxq=16 --txq=16 --num-procs=2 --proc-id=0
>> the secondary cmd:
>> ./testpmd -w xxx --file-prefix=xx -l 2-3 -n 2 -- -i\
>> --rxq=16 --txq=16 --num-procs=2 --proc-id=1
>>
> Can you update this in the testpmd usage guide.
OK, I will do it in V2.
> There are so many things that testpmd can do.
> What will happen to the stats if I quit one of the processes and start
> again?
stats will not change when one quit and start, As they share the same 
buffer to store the stats.

> In case of multiple Rx queues, how will RSS happen?
Primary process and secondary process has seperate queues to use, RSS 
will work in their own queues whether primary and secondary process.

> It will be good to have the behavior of various features documented -
> some of the questions have been already answered.
> They can be documented as well.
OK, I will do it in V2, thanks.
> 
> 


More information about the dev mailing list