Revision tags: v24.11, v24.11-rc4, v24.11-rc3, v24.11-rc2, v24.11-rc1 |
|
#
bca734c2 |
| 23-Aug-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: measure DMA adapter latency
Move DMA ops to use mempool to prevent using the same ops before completion. This also allows us to measure forward latency.
Signed-off-by: Pavan Nikhilesh
app/eventdev: measure DMA adapter latency
Move DMA ops to use mempool to prevent using the same ops before completion. This also allows us to measure forward latency.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Amit Prakash Shukla <amitprakashs@marvell.com>
show more ...
|
Revision tags: v24.07, v24.07-rc4, v24.07-rc3, v24.07-rc2, v24.07-rc1 |
|
#
b6a7e685 |
| 14-May-2024 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
app: use stdatomic API
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.c
app: use stdatomic API
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional rte stdatomic API.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
0efea35a |
| 15-Apr-2024 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
app: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to b
app: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to be imparted on the type regardless of the toolchain being used for both C and C++. Additionally, it avoids confusion by Doxygen when generating documentation.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
Revision tags: v24.03, v24.03-rc4, v24.03-rc3 |
|
#
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 ...
|
Revision tags: v24.03-rc2, v24.03-rc1, v23.11, v23.11-rc4, v23.11-rc3, v23.11-rc2, v23.11-rc1, v23.07, v23.07-rc4, v23.07-rc3, v23.07-rc2, v23.07-rc1, v23.03, v23.03-rc4, v23.03-rc3, v23.03-rc2, v23.03-rc1 |
|
#
69e807df |
| 02-Dec-2022 |
Volodymyr Fialko <vfialko@marvell.com> |
app/eventdev: support vector mode with crypto adapter
Add worker for handling vector events to perf tests, vector events could be generated by crypto adapter producer.
Example: ./dpdk-test-even
app/eventdev: support vector mode with crypto adapter
Add worker for handling vector events to perf tests, vector events could be generated by crypto adapter producer.
Example: ./dpdk-test-eventdev -l 0-2 -a <EVENTDEV> -a <CRYPTODEV> -- \ --prod_type_cryptodev --crypto_adptr_mode 1 --test=perf_queue \ --stlist=a --wlcores 1 --plcores 2 --prod_enq_burst_sz 32 \ --enable_vector --vector_tmo_ns 0 --nb_flows 2
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Shijith Thotton <sthotton@marvell.com>
show more ...
|
Revision tags: v22.11, v22.11-rc4, v22.11-rc3 |
|
#
6776a581 |
| 04-Nov-2022 |
Volodymyr Fialko <vfialko@marvell.com> |
app/eventdev: fix timestamp with crypto producer
With symmetric crypto producer and enabled `--fwd_latency` we will treat rte_mbuf as perf_elt which will lead to rte_mbuf header corruption. Use rte_
app/eventdev: fix timestamp with crypto producer
With symmetric crypto producer and enabled `--fwd_latency` we will treat rte_mbuf as perf_elt which will lead to rte_mbuf header corruption. Use rte_mbuf data to store time stamp information. For asymmetric add space in result data for time stamp.
Fixes: de2bc16e1bd1 ("app/eventdev: add crypto producer mode") Cc: stable@dpdk.org
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
#
a5a54879 |
| 04-Nov-2022 |
Volodymyr Fialko <vfialko@marvell.com> |
app/eventdev: fix asymmetric last stage handling
For asymmetric crypto producer check for event type in `process_crypto_request` will not pass in case of multiple stages, due to overwrite of event t
app/eventdev: fix asymmetric last stage handling
For asymmetric crypto producer check for event type in `process_crypto_request` will not pass in case of multiple stages, due to overwrite of event type during event forward. Use producer type to dispatch.
Fixes: 8f5b549502d1 ("app/eventdev: support asym ops for crypto adapter") Cc: stable@dpdk.org
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
Revision tags: v22.11-rc2, v22.11-rc1 |
|
#
bdce2564 |
| 04-Oct-2022 |
Akhil Goyal <gakhil@marvell.com> |
cryptodev: rework session framework
As per current design, rte_cryptodev_sym_session_create() and rte_cryptodev_sym_session_init() use separate mempool objects for a single session. And structure rt
cryptodev: rework session framework
As per current design, rte_cryptodev_sym_session_create() and rte_cryptodev_sym_session_init() use separate mempool objects for a single session. And structure rte_cryptodev_sym_session is not directly used by the application, it may cause ABI breakage if the structure is modified in future.
To address these two issues, the rte_cryptodev_sym_session_create will take one mempool object that the session and session private data are virtually/physically contiguous, and initializes both fields. The API rte_cryptodev_sym_session_init is removed.
rte_cryptodev_sym_session_create will now return an opaque session pointer which will be used by the app and other APIs.
In data path, opaque session pointer is attached to rte_crypto_op and the PMD can call an internal library API to get the session private data pointer based on the driver id.
Note: currently single session may be used by different device drivers, given it is initialized by them. After the change the session created by one device driver cannot be used or reinitialized by another driver.
Signed-off-by: Akhil Goyal <gakhil@marvell.com> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Kai Ji <kai.ji@intel.com> Tested-by: Gagandeep Singh <g.singh@nxp.com> Tested-by: David Coyle <david.coyle@intel.com> Tested-by: Kevin O'Sullivan <kevin.osullivan@intel.com>
show more ...
|
Revision tags: v22.07, v22.07-rc4, v22.07-rc3, v22.07-rc2, v22.07-rc1 |
|
#
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 ...
|
#
f0b68c0b |
| 13-May-2022 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: clean up worker state before exit
Event ports are configured to implicitly release the scheduler contexts currently held in the next call to rte_event_dequeue_burst(). A worker core mi
app/eventdev: clean up worker state before exit
Event ports are configured to implicitly release the scheduler contexts currently held in the next call to rte_event_dequeue_burst(). A worker core might still hold a scheduling context during exit, as the next call to rte_event_dequeue_burst() is never made. This might lead to deadlock based on the worker exit timing and when there are very less number of flows.
Add clean up function to release any scheduling contexts held by the worker by using RTE_EVENT_OP_RELEASE.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
a734e738 |
| 13-May-2022 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
app/eventdev: simplify signal handling and teardown
Remove rte_*_dev calls from signal handler callback as signal handlers are supposed to be light weight.
Split ethdev teardown into Rx and Tx sect
app/eventdev: simplify signal handling and teardown
Remove rte_*_dev calls from signal handler callback as signal handlers are supposed to be light weight.
Split ethdev teardown into Rx and Tx sections, wait for workers to finish processing after disabling Rx to allow workers to complete processing currently held packets.
Verified SW event device on ARM64 using the following command:
./build/app/dpdk-test-eventdev -l 7-23 -s 0xf00 --vdev=event_sw0 -a 0002:02:00.0 -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=o --wlcores 16-23
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2 |
|
#
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 ...
|
Revision tags: v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
#
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 ...
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1 |
|
#
37f60fd6 |
| 14-Jan-2021 |
Feifei Wang <feifei.wang2@arm.com> |
app/eventdev: replace a barrier with thread fence
Simply replace rte_smp barrier with atomic threand fence.
Signed-off-by: Phil Yang <phil.yang@arm.com> Signed-off-by: Feifei Wang <feifei.wang2@arm
app/eventdev: replace a barrier with thread fence
Simply replace rte_smp barrier with atomic threand fence.
Signed-off-by: Phil Yang <phil.yang@arm.com> Signed-off-by: Feifei Wang <feifei.wang2@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
#
c7c033d1 |
| 14-Jan-2021 |
Feifei Wang <feifei.wang2@arm.com> |
app/eventdev: fix SMP barrier in performance test
This patch fixes RTE SMP barrier bugs for the perf test of eventdev.
For the "perf_process_last_stage" function, wmb after storing processed_pkts s
app/eventdev: fix SMP barrier in performance test
This patch fixes RTE SMP barrier bugs for the perf test of eventdev.
For the "perf_process_last_stage" function, wmb after storing processed_pkts should be moved before it. This is because the worker lcore should ensure it has really finished data processing, e.g. event stored into buffers, before the shared variables "w->processed_pkts"are stored.
For the "perf_process_last_stage_latency", on the one hand, the wmb should be moved before storing into "w->processed_pkts". The reason is the same as above. But on the other hand, for "w->latency", wmb is unnecessary due to data dependency.
Fixes: 2369f73329f8 ("app/testeventdev: add perf queue worker functions") Cc: stable@dpdk.org
Signed-off-by: Feifei Wang <feifei.wang2@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
Revision tags: v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1, v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3 |
|
#
33011cb3 |
| 09-Feb-2020 |
Thomas Monjalon <thomas@monjalon.net> |
replace always-inline attributes
There is a macro __rte_always_inline, forcing functions to be inlined, which is now used where appropriate for consistency.
Signed-off-by: Thomas Monjalon <thomas@m
replace always-inline attributes
There is a macro __rte_always_inline, forcing functions to be inlined, which is now used where appropriate for consistency.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
Revision tags: v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1, v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
#
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 ...
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2 |
|
#
535c630c |
| 24-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: fix port dequeue depth configuration
The port dequeue depth value has to be compared against the maximum allowed dequeue depth reported by the event drivers.
Fixes: 3617aae53f92 ("app
app/eventdev: fix port dequeue depth configuration
The port dequeue depth value has to be compared against the maximum allowed dequeue depth reported by the event drivers.
Fixes: 3617aae53f92 ("app/eventdev: add event Rx adapter setup")
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
Revision tags: v18.02-rc1 |
|
#
3617aae5 |
| 11-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add event Rx adapter setup
Add functions to setup and configure Rx adapter based on the number of ethdev ports setup.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
app/eventdev: add event Rx adapter setup
Add functions to setup and configure Rx adapter based on the number of ethdev ports setup.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
7f3daf34 |
| 11-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add ethernet device tear down
Add ethernet device destroy functions to stop and close ethdev ports if they are configured when prod_type_ethdev option is enabled.
Signed-off-by: Pavan
app/eventdev: add ethernet device tear down
Add ethernet device destroy functions to stop and close ethdev ports if they are configured when prod_type_ethdev option is enabled.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
3fc8de4f |
| 11-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add ethernet device setup helpers
Add ethernet device setup functions to configure ethdev ports incase prod_type_ethdev option is enabled.
Signed-off-by: Pavan Nikhilesh <pbhagavatula
app/eventdev: add ethernet device setup helpers
Add ethernet device setup functions to configure ethdev ports incase prod_type_ethdev option is enabled.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
59f697e3 |
| 11-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: modify setup to support ethdev
Modify app setup to accommodate event port and queue setup based on the number of ethernet ports.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnet
app/eventdev: modify setup to support ethdev
Modify app setup to accommodate event port and queue setup based on the number of ethernet ports.
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>
|
Revision tags: v17.11, v17.11-rc4, v17.11-rc3, v17.11-rc2 |
|
#
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 ...
|
Revision tags: v17.11-rc1, v17.08, v17.08-rc4, v17.08-rc3, v17.08-rc2, v17.08-rc1 |
|
#
3abcd29f |
| 08-Jul-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by:
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|