在 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
:::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.
> +
> +*
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
3 matches
Mail list logo