| 4ade669c | 07-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
eventdev: add event pre-schedule hint
Add a new eventdev API to provide a hint to the eventdev PMD to pre-schedule the next event into the event port, without releasing the current flow context. Eve
eventdev: add event pre-schedule hint
Add a new eventdev API to provide a hint to the eventdev PMD to pre-schedule the next event into the event port, without releasing the current flow context. Event device that support this feature advertises the capability using the RTE_EVENT_DEV_CAP_PRESCHEDULE_EXPLICIT capability flag.
Application can invoke `rte_event_port_preschedule` to hint the PMD, if event device does not support this feature it is treated as a no-op.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| c1bdd86d | 07-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
eventdev: add event port pre-schedule modify
Some event devices allow pre-schedule types to be modified at runtime on an event port. Add `RTE_EVENT_DEV_CAP_PER_PORT_PRESCHEDULE` capability to indica
eventdev: add event port pre-schedule modify
Some event devices allow pre-schedule types to be modified at runtime on an event port. Add `RTE_EVENT_DEV_CAP_PER_PORT_PRESCHEDULE` capability to indicate that the event device supports this feature.
Add `rte_event_port_preschedule_modify()` API to modify the pre-schedule type at runtime. To avoid fastpath capability checks, the API reports -ENOTSUP if the event device does not support this feature.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| 588dcac2 | 07-Jun-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
eventdev/dma: reorganize event DMA ops
Re-organize event DMA ops structure to allow holding source and destination pointers without the need for additional memory, the mempool allocating memory for
eventdev/dma: reorganize event DMA ops
Re-organize event DMA ops structure to allow holding source and destination pointers without the need for additional memory, the mempool allocating memory for rte_event_dma_adapter_ops can size the structure to accommodate all the needed source and destination pointers.
Add multiple words for holding user metadata, adapter implementation specific metadata and event metadata.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Amit Prakash Shukla <amitprakashs@marvell.com>
show more ...
|
| f5d48ed5 | 28-Feb-2024 |
Ganapati Kundapura <ganapati.kundapura@intel.com> |
eventdev/crypto: fix enqueueing
When tail pointer of circular buffer rolls over as the circular buffer becomes full, crypto adapter is enqueueing ops beyond the size of the circular buffer leading t
eventdev/crypto: fix enqueueing
When tail pointer of circular buffer rolls over as the circular buffer becomes full, crypto adapter is enqueueing ops beyond the size of the circular buffer leading to segfault due to invalid ops access.
Fixed by enqueueing ops from head pointer to (size-head) number of ops when circular buffer becomes full and the remaining ops will be flushed in next iteration.
Fixes: 6c3c888656fc ("eventdev/crypto: fix circular buffer full case") Cc: stable@dpdk.org
Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com> Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
show more ...
|
| f5746d3f | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: fix Doxygen processing of vector struct
The event vector struct was missing comments on two members, and also was inadvertently creating a local variable called "__rte_aligned" in the doxy
eventdev: fix Doxygen processing of vector struct
The event vector struct was missing comments on two members, and also was inadvertently creating a local variable called "__rte_aligned" in the doxygen output.
Correct the comment markers to fix the former issue, and fix the latter by putting "#ifdef __DOXYGEN" around the alignment constraint.
Fixes: 1cc44d409271 ("eventdev: introduce event vector capability") Fixes: 3c838062b91f ("eventdev: introduce event vector Rx capability") Fixes: 699155f2d4e2 ("eventdev: fix clang C++ include") Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| 4c50f7af | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: drop anonymous union comment from Doxygen
Make the comments on the unnamed unions in the rte_event structure regular comments rather than doxygen ones. The comments do not add anything mea
eventdev: drop anonymous union comment from Doxygen
Make the comments on the unnamed unions in the rte_event structure regular comments rather than doxygen ones. The comments do not add anything meaningful to the doxygen output.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| 5e467985 | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: clarify object fields and op types comments
Clarify the meaning of the NEW, FORWARD and RELEASE event types. For the fields in "rte_event" struct, enhance the comments on each to clarify t
eventdev: clarify object fields and op types comments
Clarify the meaning of the NEW, FORWARD and RELEASE event types. For the fields in "rte_event" struct, enhance the comments on each to clarify the field's use, and whether it is preserved between enqueue and dequeue, and it's role, if any, in scheduling.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| 0f524a02 | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: improve comments on scheduling types
The description of ordered and atomic scheduling given in the eventdev doxygen documentation was not always clear. Try and simplify this so that it is
eventdev: improve comments on scheduling types
The description of ordered and atomic scheduling given in the eventdev doxygen documentation was not always clear. Try and simplify this so that it is clearer for the end-user of the application
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| 14d67a94 | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: improve Doxygen comments for control API
The doxygen comments for the port attributes, start and stop (and related functions) are improved.
Signed-off-by: Bruce Richardson <bruce.richards
eventdev: improve Doxygen comments for control API
The doxygen comments for the port attributes, start and stop (and related functions) are improved.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| e48762b3 | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: improve Doxygen comments on config functions
Improve the documentation text for the configuration functions and structures for configuring an eventdev, as well as ports and queues. Clarify
eventdev: improve Doxygen comments on config functions
Improve the documentation text for the configuration functions and structures for configuring an eventdev, as well as ports and queues. Clarify text where possible, and ensure references come through as links in the html output.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| 1203462c | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: improve Doxygen comments on configure struct
General rewording and cleanup on the rte_event_dev_config structure. Improved the wording of some sentences and created linked cross-references
eventdev: improve Doxygen comments on configure struct
General rewording and cleanup on the rte_event_dev_config structure. Improved the wording of some sentences and created linked cross-references out of the existing references to the dev_info structure.
As part of the rework, fix issue with how single-link port-queue pairs were counted in the rte_event_dev_config structure. This did not match the actual implementation and, if following the documentation, certain valid port/queue configurations would have been impossible to configure. Fix this by changing the documentation to match the implementation
Bugzilla ID: 1368 Fixes: 75d113136f38 ("eventdev: express DLB/DLB2 PMD constraints") Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| d77c9cbf | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: improve query functions documentation
General improvements to the doxygen docs for eventdev functions for querying basic information: * number of devices * id for a particular device * soc
eventdev: improve query functions documentation
General improvements to the doxygen docs for eventdev functions for querying basic information: * number of devices * id for a particular device * socket id of device * capability information for a device
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| da4b9651 | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: cleanup Doxygen comments on info structure
Some small rewording changes to the doxygen comments on struct rte_event_dev_info.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
eventdev: cleanup Doxygen comments on info structure
Some small rewording changes to the doxygen comments on struct rte_event_dev_info.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| bccda56a | 21-Feb-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: update documentation on device capability flags
Update the device capability docs, to:
* include more cross-references * split longer text into paragraphs, in most cases with each flag ha
eventdev: update documentation on device capability flags
Update the device capability docs, to:
* include more cross-references * split longer text into paragraphs, in most cases with each flag having a single-line summary at the start of the doc block * general comment rewording and clarification as appropriate
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|