Skip to content

Commit 486aad3

Browse files
asevinceJerin Jacob
authored andcommitted
event/dsw: add capability for independent enqueue
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 Sevincer <[email protected]> Acked-by: Mattias Rönnblom <[email protected]>
1 parent aeaf5cc commit 486aad3

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

doc/guides/eventdevs/features/dsw.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ burst_mode = Y
1111
nonseq_mode = Y
1212
multiple_queue_port = Y
1313
carry_flow_id = Y
14+
independent_enq = Y
1415

1516
[Eth Rx adapter Features]
1617
multi_eventq = Y

doc/guides/rel_notes/release_24_11.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ New Features
7777

7878
* Updated DLB2 driver for independent enqueue feature.
7979

80+
* Updated DSW driver for independent enqueue feature.
81+
8082

8183
Removed Items
8284
-------------

drivers/event/dsw/dsw_evdev.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ dsw_info_get(struct rte_eventdev *dev __rte_unused,
230230
RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE|
231231
RTE_EVENT_DEV_CAP_NONSEQ_MODE|
232232
RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT|
233-
RTE_EVENT_DEV_CAP_CARRY_FLOW_ID
233+
RTE_EVENT_DEV_CAP_CARRY_FLOW_ID |
234+
RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ
234235
};
235236
}
236237

0 commit comments

Comments
 (0)