#
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 ...
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
b21302a1 |
| 11-Oct-2019 |
Nipun Gupta <nipun.gupta@nxp.com> |
eventdev: add Tx flag for packets with same destination
This patch introduces a `flag` in the Eth TX adapter enqueue API. Some drivers may support burst functionality only with the packets having sa
eventdev: add Tx flag for packets with same destination
This patch introduces a `flag` in the Eth TX adapter enqueue API. Some drivers may support burst functionality only with the packets having same destination device and queue.
The flag `RTE_EVENT_ETH_TX_ADAPTER_ENQUEUE_SAME_DEST` can be used to indicate this so the underlying driver, for drivers to utilize burst functionality appropriately.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
032a965a |
| 24-Sep-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: support Tx adapter
Convert existing Tx service based pipeline to Tx adapter based APIs and simplify worker functions.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
app/eventdev: support Tx adapter
Convert existing Tx service based pipeline to Tx adapter based APIs and simplify worker functions.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
f26320a6 |
| 24-Sep-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: fix minor typos
Fix minor typos.
Fixes: 314bcf58ca8f ("app/eventdev: add pipeline queue worker functions") Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetw
app/eventdev: fix minor typos
Fix minor typos.
Fixes: 314bcf58ca8f ("app/eventdev: add pipeline queue worker functions") Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
314bcf58 |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add pipeline queue worker functions
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
|
#
d4c003f5 |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: launch pipeline lcores
The event master lcore's test termination and the logic to print the mpps are common for the queue and all types queue test.
Move them as the common function.
app/eventdev: launch pipeline lcores
The event master lcore's test termination and the logic to print the mpps are common for the queue and all types queue test.
Move them as the common function.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
#
f853a011 |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add Tx service setup
Setup one port event port for Tx and link the respective event queue. Register the Tx function as a service to be called from a service core. The Tx function deque
app/eventdev: add Tx service setup
Setup one port event port for Tx and link the respective event queue. Register the Tx function as a service to be called from a service core. The Tx function dequeues the events from the event queue and transmits the packet to its respective ethernet port.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
#
385cefd9 |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add event port and Rx adapter setup
Setup one port per worker and link to all queues and setup producer port based on Rx adapter capabilities.
Signed-off-by: Pavan Nikhilesh <pbhagava
app/eventdev: add event port and Rx adapter setup
Setup one port per worker and link to all queues and setup producer port based on Rx adapter capabilities.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
#
76f98e02 |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add pipeline ethport setup and destroy
Add common ethdev port setup and destroy along with event dev destroy.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by
app/eventdev: add pipeline ethport setup and destroy
Add common ethdev port setup and destroy along with event dev destroy.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
#
38f842bc |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add pipeline opt dump and check functions
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
|
#
e4131b79 |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add mempool setup and destroy
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
|
#
61e9524a |
| 16-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
app/eventdev: add pipeline test setup and destroy
Pipeline test has the queue and all types queue variants. Introduce test_pipeline_common* to share the common code between those tests.
Signed-off-
app/eventdev: add pipeline test setup and destroy
Pipeline test has the queue and all types queue variants. Introduce test_pipeline_common* to share the common code between those tests.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|