[dpdk-dev] [PATCH v4 6/8] app/eventdev: add event vector mode in pipeline test

Jerin Jacob jerinjacobk at gmail.com
Tue Mar 23 19:39:18 CET 2021


On Sat, Mar 20, 2021 at 2:28 AM <pbhagavatula at marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> Add event vector support in pipeline tests. By default this mode
> is disabled, it can be enabled by using the option --enable_vector.
> example:
>         dpdk-test-eventdev -l 7-23 -s 0xff00 -- --prod_type_ethdev
>         --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=a
>         --wlcores=20-23  --enable_vector
>
> Addtional options to configure vector size and vector timeout are

### app/eventdev: add event vector mode in pipeline test

WARNING:TYPO_SPELLING: 'Addtional' may be misspelled - perhaps 'Additional'?
#13:
Addtional options to configure vector size and vector timeout are
^^^^^^^^^



> also implemented and can be used by specifying --vector_size and
> --vector_tmo_ns
>
> This patch also adds a new option to set the number of Rx queues
> configured per event eth rx adapter.
> example:
>         dpdk-test-eventdev -l 7-23 -s 0xff00 -- --prod_type_ethdev
>         --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=a
>         --wlcores=20-23  --nb_eth_queues 4
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> ---

Acked-by: Jerin Jacob <jerinj at marvell.com>


> +++ b/doc/guides/tools/testeventdev.rst
> @@ -158,6 +158,26 @@ The following are the application command-line options:
>         Set max packet mbuf size. Can be used configure Rx/Tx scatter gather.
>         Only applicable for `pipeline_atq` and `pipeline_queue` tests.
>
> +* ``--nb_eth_queues``
> +
> +       Configure multiple Rx queues per each ethernet port.
> +       Only applicable for `pipeline_atq` and `pipeline_queue` tests.
> +
> +* ``--enable_vector``
> +
> +       Enable event vector for Rx/Tx adapters.
> +       Only applicable for `pipeline_atq` and `pipeline_queue` tests.
> +
> +* ``--vector_size``
> +
> +       Vector size to configure for the Rx adapter.
> +       Only applicable for `pipeline_atq` and `pipeline_queue` tests.
> +
> +* ``--vector_tmo_ns``
> +
> +       Vector timeout nanoseconds to be configured for the Rx adapter.
> +       Only applicable for `pipeline_atq` and `pipeline_queue` tests.
> +
>

Please add some of the example commands such as following in .rst file
in the relevant section.

        dpdk-test-eventdev -l 7-23 -s 0xff00 -- --prod_type_ethdev
        --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=a
        --wlcores=20-23  --nb_eth_queues 4


More information about the dev mailing list