:::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. > + > +* ``--rxq=N`` > + > + Set the number of RX queues per port to N, where 1 <= N <= 65535. > + The default value is 1. N is the sum of queues used by primary and > secondary process. If RxQ is 1, how will it be shared between the primary and secondary processes? Should the number of rings be a multiple of the number of processes?
> + > +* ``--txq=N`` > + > + Set the number of TX queues per port to N, where 1 <= N <= 65535. > + The default value is 1. N is the sum of queues used by primary and > secondary process. Same as above. How will a single ring be used across primary and secondary processes? > + > +* ``--num-procs=N`` > + > + The number of processes which will be used. > + > +* ``--proc-id=id`` > + > + The id of the current process (id < num-procs). id should be > different in primary process and secondary process. > + > +Calculation rule for queue: > +All queues are allocated to different processes based on proc_num and > proc_id. > +Calculation rule for the Testpmd to allocate queues to each process: > +start(queue start id) = proc_id * nb_q / num_procs; > +end(queue end id) = start + nb_q / num_procs; > + > +For example, if supports 4 txq and rxq > +the 0~1 for primary process > +the 2~3 for secondary process > + > +Most dev ops is supported in primary and secondary process. While secondary > process is not permitted > +to allocate or release shared memory, so some ops are not supported as > follows: > +``dev_start`` > +``dev_stop`` > +``rx_queue_setup`` > +``tx_queue_setup`` > +``rx_queue_release`` > +``tx_queue_release`` > + > +RTE_FLOW supported, it applies only on its own process on SW side, but all > on HW size. > +stats supported, stats will not change when one quit and start, As they > share the same buffer to store the stats. > +RSS supported, Primary process and secondary process has separate queues to > use, RSS will work in their own queues whether primary and secondary process. > -- > 2.7.4 >