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

2021-03-21 Thread Min Hu (Connor)
在 2021/3/22 10:27, Ajit Khaparde 写道: :::snip +* ``--proc-type`` + Specify a given process instance as the primary or secondary DPDK instance. ``auto`` set here is ok. + +* ``-l CORELIST`` + List of cores to run on. the corelist should be different in primary process and

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

2021-03-21 Thread Ajit Khaparde
:::snip > +* ``--proc-type`` > + Specify a given process instance as the primary or secondary DPDK > instance. ``auto`` set here is ok. > + > +* ``-l CORELIST`` > + List of cores to run on. the corelist should be different in primary > process and secondary process. > + > +*

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

2021-03-10 Thread Min Hu (Connor)
From: Lijun Ou This patch adds multi-process support for testpmd. The test cmd example as follows: the primary cmd: ./dpdk-testpmd -a xxx --proc-type=auto -l 0-1 -- -i \ --rxq=4 --txq=4 --num-procs=2 --proc-id=0 the secondary cmd: ./dpdk-testpmd -a xxx --proc-type=auto -l 2-3 -- -i \ --rxq=4 --t