#
7a7a04d3 |
| 07-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: add pre-scheduling
Add support to configure pre-scheduling for eventdev test application. Option `--preschedule` 0 - Disable pre-scheduling. 1 - Enable pre-scheduling. 2 - Enable
app/eventdev: add pre-scheduling
Add support to configure pre-scheduling for eventdev test application. Option `--preschedule` 0 - Disable pre-scheduling. 1 - Enable pre-scheduling. 2 - Enable pre-schedule with adaptive mode (Default).
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
b25a66c4 |
| 12-Mar-2024 |
Amit Prakash Shukla <amitprakashs@marvell.com> |
app/eventdev: add DMA adapter performance test
Added performance test support for DMA adapter.
Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com> Acked-by: Pavan Nikhilesh <pbhagavatula@
app/eventdev: add DMA adapter performance test
Added performance test support for DMA adapter.
Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
#
f123568c |
| 25-Apr-2023 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: use enqueue new event burst routine
Use the `rte_event_enqueue_new_burst` routine to enqueue events with rte_event::op as RTE_EVENT_OP_NEW. This allows PMDs to use optimized enqueue ro
app/eventdev: use enqueue new event burst routine
Use the `rte_event_enqueue_new_burst` routine to enqueue events with rte_event::op as RTE_EVENT_OP_NEW. This allows PMDs to use optimized enqueue routines.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Shijith Thotton <sthotton@marvell.com>
show more ...
|
#
750ab9d5 |
| 24-Feb-2023 |
Aakash Sasidharan <asasidharan@marvell.com> |
app/eventdev: support non-null cipher algorithms
Testeventdev crypto adapter symmetric tests are only attempting NULL cipher algorithm. This limits crypto adapter usage with only PMDs that can suppo
app/eventdev: support non-null cipher algorithms
Testeventdev crypto adapter symmetric tests are only attempting NULL cipher algorithm. This limits crypto adapter usage with only PMDs that can support NULL cipher algorithm. Also, since NULL cipher algorithm doesn't perform any crypto operation, the performance numbers reported may not reflect the actual crypto capabilities of the device. Extend the application to support non-NULL cipher algorithms.
Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
72b452c5 |
| 27-Aug-2022 |
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> |
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directl
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directly from the files that need them.
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
c9043624 |
| 25-May-2022 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: add Tx first option to pipeline mode
Add Tx first support to pipeline mode tests, the transmission is done on all the ethernet ports. This helps in testing eventdev performance with st
app/eventdev: add Tx first option to pipeline mode
Add Tx first support to pipeline mode tests, the transmission is done on all the ethernet ports. This helps in testing eventdev performance with standalone loopback interfaces.
Example: ./dpdk-test-eventdev ... -- ... --tx_first 512
512 defines the number of packets to transmit. Add an option Tx packet size, the default packet size is 64.
Following example can change packet size value as 320.
Example: ./dpdk-test-eventdev ... -- ... --tx_first 512 --tx_pkt_sz 320
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
8f5b5495 |
| 12-May-2022 |
Akhil Goyal <gakhil@marvell.com> |
app/eventdev: support asym ops for crypto adapter
Test eventdev app is updated to add new option for asymmetric crypto ops for event crypto adapter.
Signed-off-by: Akhil Goyal <gakhil@marvell.com>
app/eventdev: support asym ops for crypto adapter
Test eventdev app is updated to add new option for asymmetric crypto ops for event crypto adapter.
Signed-off-by: Akhil Goyal <gakhil@marvell.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
#
de2bc16e |
| 24-Feb-2022 |
Shijith Thotton <sthotton@marvell.com> |
app/eventdev: add crypto producer mode
In crypto producer mode, producer core enqueues cryptodev with software generated crypto ops and worker core dequeues crypto completion events from the eventde
app/eventdev: add crypto producer mode
In crypto producer mode, producer core enqueues cryptodev with software generated crypto ops and worker core dequeues crypto completion events from the eventdev. Event crypto metadata used for above processing is pre-populated in each crypto session.
Parameter --prod_type_cryptodev can be used to enable crypto producer mode. Parameter --crypto_adptr_mode can be set to select the crypto adapter mode, 0 for OP_NEW and 1 for OP_FORWARD.
This mode can be used to measure the performance of crypto adapter.
Example: ./dpdk-test-eventdev -l 0-2 -w <EVENTDEV> -w <CRYPTODEV> -- \ --prod_type_cryptodev --crypto_adptr_mode 1 --test=perf_atq \ --stlist=a --wlcores 1 --plcores 2
Signed-off-by: Shijith Thotton <sthotton@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com> Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
show more ...
|
#
7be78d02 |
| 29-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
#
20841a25 |
| 15-Oct-2021 |
Rashmi Shetty <rashmi.shetty@intel.com> |
app/eventdev: support burst enqueue
Introduce a new command line option prod_enq_burst_sz to set burst size for eventdev enqueue at producer in perf_queue test. The newly added function perf_produce
app/eventdev: support burst enqueue
Introduce a new command line option prod_enq_burst_sz to set burst size for eventdev enqueue at producer in perf_queue test. The newly added function perf_producer_burst is called when prod_enq_burst_sz is greater than 1.
Signed-off-by: Rashmi Shetty <rashmi.shetty@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
dbd4defe |
| 01-Jul-2021 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: add option to enable per port pool
Add option to configure unique mempool for each ethernet device port. The new option available with `pipeline_atq` and `pipeline_queue` tests.
Signe
app/eventdev: add option to enable per port pool
Add option to configure unique mempool for each ethernet device port. The new option available with `pipeline_atq` and `pipeline_queue` tests.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
32d7dbf2 |
| 23-Apr-2021 |
Min Hu (Connor) <humin29@huawei.com> |
app/eventdev: fix overflow in lcore list parsing
Tainted and unvalidated integer 'idx' used as an index, which may lead to buffer overflow.
This patch fixed it.
Fixes: 89e5eb118017 ("app/testevent
app/eventdev: fix overflow in lcore list parsing
Tainted and unvalidated integer 'idx' used as an index, which may lead to buffer overflow.
This patch fixed it.
Fixes: 89e5eb118017 ("app/testeventdev: add string parsing helpers") Cc: stable@dpdk.org
Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
#
2eaa37b8 |
| 31-Mar-2021 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: add vector mode in pipeline test
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-tes
app/eventdev: add vector mode in pipeline test
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
Additional 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@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
15c19f36 |
| 12-Nov-2020 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: check timer adadpters number
Fix SEGFAULT when nb_timer_adapters command line parameter is set to 0.
Fixes: 98c6292105d4 ("app/eventdev: add options for event timer adapter") Cc: stab
app/eventdev: check timer adadpters number
Fix SEGFAULT when nb_timer_adapters command line parameter is set to 0.
Fixes: 98c6292105d4 ("app/eventdev: add options for event timer adapter") Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
#
cb056611 |
| 15-Oct-2020 |
Stephen Hemminger <stephen@networkplumber.org> |
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
T
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
The "--master-lcore" command line option is also deprecated and any usage will print a warning and use "--main-lcore" as replacement.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
#
fc8b96fb |
| 30-Sep-2019 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: add options for mbuf and packet sizes
Add options to set mbuf size and max packet size which allow the user to enable jumbo frames and Rx/Tx scatter gather. Arrange `struct evt_options
app/eventdev: add options for mbuf and packet sizes
Add options to set mbuf size and max packet size which allow the user to enable jumbo frames and Rx/Tx scatter gather. Arrange `struct evt_options` based on ascending order of data type to make it more readable.
Packet mbuf size can be modified by using `--mbuf_sz=N`. Max packet size can be modified by using `--max_pkt_sz=N`. These options are only applicable `pipeline_atq` and `pipeline_queue` tests.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
6723c0fc |
| 03-Apr-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
replace snprintf with strlcpy
Do a global replace of snprintf(..."%s",...) with strlcpy, adding in the rte_string_fns.h header if needed. The function changes in this patch were auto-generated via
replace snprintf with strlcpy
Do a global replace of snprintf(..."%s",...) with strlcpy, adding in the rte_string_fns.h header if needed. The function changes in this patch were auto-generated via command:
spatch --sp-file devtools/cocci/strlcpy.cocci --dir . --in-place
and then the files edited using awk to add in the missing header:
gawk -i inplace '/include <rte_/ && ! seen { \ print "#include <rte_string_fns.h>"; seen=1} {print}'
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
f0959283 |
| 29-Mar-2019 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: add option for global dequeue timeout
Add option to provide a global dequeue timeout that is used to create the eventdev. The dequeue timeout provided will be common across all the wor
app/eventdev: add option for global dequeue timeout
Add option to provide a global dequeue timeout that is used to create the eventdev. The dequeue timeout provided will be common across all the worker ports. If the eventdev hardware supports power management through dequeue timeout then this option can be used for verifying power demands at various packet rates.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
#
9e596d88 |
| 16-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: fix typos in timer adapter options
The options names in code and doc are not the same.
Fixes: 98c6292105d4 ("app/eventdev: add options for event timer adapter")
Suggested-by: Thomas
app/eventdev: fix typos in timer adapter options
The options names in code and doc are not the same.
Fixes: 98c6292105d4 ("app/eventdev: add options for event timer adapter")
Suggested-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
show more ...
|
#
98c62921 |
| 06-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add options for event timer adapter
Add options to configure expiry timeout, max number of timers and number of event timer adapters through command line parameters.
Signed-off-by: Pa
app/eventdev: add options for event timer adapter
Add options to configure expiry timeout, max number of timers and number of event timer adapters through command line parameters.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
17b22d0b |
| 06-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add burst mode for event timer adapter
Add burst mode for event timer adapter that can be selected by passing --prod_type_timerdev_burst.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@
app/eventdev: add burst mode for event timer adapter
Add burst mode for event timer adapter that can be selected by passing --prod_type_timerdev_burst.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
d008f20b |
| 06-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add event timer adapter as a producer
Add event timer adapter as producer option that can be selected by passing --prod_type_timerdev.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@cav
app/eventdev: add event timer adapter as a producer
Add event timer adapter as producer option that can be selected by passing --prod_type_timerdev.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
b01974da |
| 11-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add ethernet device producer option
Add command line option --prod_type_ethdev to specify that the events are generated by ethernet device.
Signed-off-by: Pavan Nikhilesh <pbhagavatul
app/eventdev: add ethernet device producer option
Add command line option --prod_type_ethdev to specify that the events are generated by ethernet device.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
53a3b7e8 |
| 08-Jan-2018 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
app: use SPDX tag for Cavium copyright files
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
57305d79 |
| 25-Oct-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/testeventdev: use service cores
Use service cores for offloading event scheduling in case of centralized scheduling instead of calling the schedule api directly. This removes the dependency on d
app/testeventdev: use service cores
Use service cores for offloading event scheduling in case of centralized scheduling instead of calling the schedule api directly. This removes the dependency on dedicated scheduler core specified by giving command line option --slcore.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|