Thread (76 messages) 76 messages, 9 authors, 2021-09-08

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

From: Min Hu (Connor) <hidden>
Date: 2021-03-10 11:11:33


在 2021/3/5 12:05, Ajit Khaparde 写道:
On Thu, Mar 4, 2021 at 5:03 PM Lijun Ou [off-list ref] wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help