DLB devices need events to be enqueued in the same order they are
dequeued. Applications are not suppose to change event order between
dequeue and to enqueue. Since Eventdev standard does not add such
restrictions independent enqueue support is needed for DLB PMD so that
it restores dequeue order o
To use independent enqueue capability applications need to set flag
RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ during port setup only if the
capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ exists. Hence, this
commit adds the capability of independent enqueue to the DSW driver.
Signed-off-by: Abdullah Sevince
v16: Address comments.
v15: Address comments.
v14: Address comments.
v13: Address comments.
v12: Address comments.
v11: Address comments.
v10: Add acked-by reviewer name.
v9: Address comments.
v8: Address build issues.
v7: Address documentation reviews.
v6: Update patch with more documentation.
v5:
Support for independent enqueue feature and updates Event Device
and PMD feature list.
A new capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ is introduced. It
allows out-of-order enqueuing of RTE_EVENT_OP_FORWARD or RELEASE type
events on an event port where this capability is enabled.
To use this c
From: Pavan Nikhilesh
Event pre-scheduling improves scheduling performance by assigning events
to event ports in advance when dequeues are issued.
This series introduces various types and levels of pre-scheduling to the
eventdev library.
pre-scheduling Types:
* RTE_EVENT_PRESCHEDULE_NONE: No pr
From: Pavan Nikhilesh
Add device level and port level pre-schedule
support for cnxk eventdev.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 10 --
doc/guides/eventdevs/features/cnxk.ini | 1 +
drivers/event/cnxk/cn10k_eventdev.c| 19 +-
From: Pavan Nikhilesh
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
From: Pavan Nikhilesh
Event pre-scheduling improves scheduling performance by assigning events
to event ports in advance when dequeues are issued.
The dequeue operation initiates the pre-schedule operation, which completes
in parallel without affecting the dequeued event flow contexts and
dequeue
From: Pavan Nikhilesh
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 capa
From: Pavan Nikhilesh
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
---
app/test-eventdev/evt_common
From: Pavan Nikhilesh
Enable event pre-scheduling if supported by the event device.
Signed-off-by: Pavan Nikhilesh
---
examples/eventdev_pipeline/pipeline_worker_generic.c | 6 ++
examples/eventdev_pipeline/pipeline_worker_tx.c | 6 ++
examples/ipsec-secgw/event_helper.c
https://bugs.dpdk.org/show_bug.cgi?id=1558
Bug ID: 1558
Summary: 10 second timeout is too short to pass tests on RISC-V
devices.
Product: DPDK
Version: 24.07
Hardware: Other
OS: Linux
Status: UNC
On Fri, Oct 4, 2024 at 6:34 PM Abdullah Sevincer
wrote:
>
> DLB devices need events to be enqueued in the same order they are
> dequeued. Applications are not suppose to change event order between
> dequeue and to enqueue. Since Eventdev standard does not add such
> restrictions independent enqueu
From: Pavan Nikhilesh
Event pre-scheduling improves scheduling performance by assigning events
to event ports in advance when dequeues are issued.
The dequeue operation initiates the pre-schedule operation, which completes
in parallel without affecting the dequeued event flow contexts and
dequeue
From: Pavan Nikhilesh
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
From: Pavan Nikhilesh
Event pre-scheduling improves scheduling performance by assigning events
to event ports in advance when dequeues are issued.
This series introduces various types and levels of pre-scheduling to the
eventdev library.
pre-scheduling Types:
* RTE_EVENT_PRESCHEDULE_NONE: No pr
From: Pavan Nikhilesh
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 capa
From: Pavan Nikhilesh
Add device level and port level pre-schedule
support for cnxk eventdev.
Signed-off-by: Pavan Nikhilesh
---
doc/guides/eventdevs/cnxk.rst | 10 --
doc/guides/eventdevs/features/cnxk.ini | 1 +
drivers/event/cnxk/cn10k_eventdev.c| 19 +-
From: Pavan Nikhilesh
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
---
app/test-eventdev/evt_common
From: Pavan Nikhilesh
Enable event pre-scheduling if supported by the event device.
Signed-off-by: Pavan Nikhilesh
---
examples/eventdev_pipeline/pipeline_worker_generic.c | 6 ++
examples/eventdev_pipeline/pipeline_worker_tx.c | 6 ++
examples/ipsec-secgw/event_helper.c
On Sat, 5 Oct 2024 13:29:56 +0530
wrote:
> +static int
> +preschedule_test(enum rte_event_dev_preschedule_type preschedule_type, const
> char *preschedule_name)
> +{
> +#define NB_EVENTS 1024
> + uint64_t start, total;
> + struct rte_event ev;
> + int rc, cnt;
> +
> + ev.even
DLB devices need events to be enqueued in the same order they are
dequeued. Applications are not suppose to change event order between
dequeue and to enqueue. Since Eventdev standard does not add such
restrictions independent enqueue support is needed for DLB PMD so that
it restores dequeue order o
To use independent enqueue capability applications need to set flag
RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ during port setup only if the
capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ exists. Hence, this
commit adds the capability of independent enqueue to the DSW driver.
Signed-off-by: Abdullah Sevince
Support for independent enqueue feature and updates Event Device
and PMD feature list.
A new capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ is introduced. It
allows out-of-order enqueuing of RTE_EVENT_OP_FORWARD or RELEASE type
events on an event port where this capability is enabled.
To use this c
v15: Address comments.
v13: Address comments.
v13: Address comments.
v12: Address comments.
v11: Address comments.
v10: Add acked-by reviewer name.
v9: Address comments.
v8: Address build issues.
v7: Address documentation reviews.
v6: Update patch with more documentation.
v5: Address build issues.
25 matches
Mail list logo