Skip to content

Commit aeaf5cc

Browse files
asevinceJerin Jacob
authored andcommitted
event/dlb2: add support for independent enqueue
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 on enqueue if applications happen to change it. It also adds missing releases in places where events are dropped by the application and it expects implicit release to handle it. By default the feature will be off on all DLB ports and they will behave the same as older releases. To enable reordering feature, applications need to add the flag RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ to port configuration if only the device advertises the capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ. Signed-off-by: Abdullah Sevincer <[email protected]> Acked-by: Mattias Rönnblom <[email protected]>
1 parent 249b200 commit aeaf5cc

File tree

7 files changed

+387
-190
lines changed

7 files changed

+387
-190
lines changed

doc/guides/eventdevs/features/dlb2.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ implicit_release_disable = Y
1515
runtime_port_link = Y
1616
multiple_queue_port = Y
1717
maintenance_free = Y
18+
independent_enq = Y
1819

1920
[Eth Rx adapter Features]
2021

doc/guides/rel_notes/release_24_11.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ New Features
7575
Applications should use ``RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ`` to enable
7676
the feature if the capability ``RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ`` exists.
7777

78+
* Updated DLB2 driver for independent enqueue feature.
79+
7880

7981
Removed Items
8082
-------------

0 commit comments

Comments
 (0)