[PATCH v16 2/3] event/dlb2: add support for independent enqueue

2024-10-05 Thread Abdullah Sevincer
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

[PATCH v16 3/3] event/dsw: add capability for independent enqueue

2024-10-05 Thread Abdullah Sevincer
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

[PATCH v16 0/3] Independent Enqueue Support

2024-10-05 Thread Abdullah Sevincer
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:

[PATCH v16 1/3] eventdev: add support for independent enqueue

2024-10-05 Thread Abdullah Sevincer
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

[PATCH v6 0/6] Introduce event pre-scheduling

2024-10-05 Thread pbhagavatula
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

[PATCH v6 4/6] event/cnkx: add pre-schedule support

2024-10-05 Thread pbhagavatula
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 +-

[PATCH v6 2/6] eventdev: add event port pre-schedule modify

2024-10-05 Thread pbhagavatula
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

[PATCH v6 1/6] eventdev: introduce event pre-scheduling

2024-10-05 Thread pbhagavatula
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

[PATCH v6 3/6] eventdev: add event preschedule hint

2024-10-05 Thread pbhagavatula
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

[PATCH v6 5/6] app/test-eventdev: add pre-scheduling support

2024-10-05 Thread pbhagavatula
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

[PATCH v6 6/6] examples: use eventdev pre-scheduling

2024-10-05 Thread pbhagavatula
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

[DPDK/core Bug 1558] 10 second timeout is too short to pass tests on RISC-V devices.

2024-10-05 Thread bugzilla
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

Re: [PATCH v13 2/3] event/dlb2: add support for independent enqueue

2024-10-05 Thread Jerin Jacob
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

[PATCH v7 1/6] eventdev: introduce event pre-scheduling

2024-10-05 Thread pbhagavatula
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

[PATCH v7 2/6] eventdev: add event port pre-schedule modify

2024-10-05 Thread pbhagavatula
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

[PATCH v7 0/6] Introduce event pre-scheduling

2024-10-05 Thread pbhagavatula
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

[PATCH v7 3/6] eventdev: add event preschedule hint

2024-10-05 Thread pbhagavatula
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

[PATCH v7 4/6] event/cnkx: add pre-schedule support

2024-10-05 Thread pbhagavatula
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 +-

[PATCH v7 5/6] app/test-eventdev: add pre-scheduling support

2024-10-05 Thread pbhagavatula
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

[PATCH v7 6/6] examples: use eventdev pre-scheduling

2024-10-05 Thread pbhagavatula
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

Re: [PATCH v7 1/6] eventdev: introduce event pre-scheduling

2024-10-05 Thread Stephen Hemminger
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

[PATCH v15 2/3] event/dlb2: add support for independent enqueue

2024-10-05 Thread Abdullah Sevincer
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

[PATCH v15 3/3] event/dsw: add capability for independent enqueue

2024-10-05 Thread Abdullah Sevincer
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

[PATCH v15 1/3] eventdev: add support for independent enqueue

2024-10-05 Thread Abdullah Sevincer
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

[PATCH v15 0/3] Independent Enqueue Support

2024-10-05 Thread Abdullah Sevincer
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.