Skip to contentSkip to conversation

event/dlb2: fix missing queue ordering capability flag

PATCH Applied Bruce Richardson 3 participants 4 messages Nov 9, 2023 – Nov 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 event/dlb2: fix missing queue ordering capability flag

The dlb2 driver did not advertise the fact that events could be enqueued to it for any queues, not just those in numerical sequence. Add the missing bit to the capabilities flag returned from the info_get() function.

Fixes d39e23f26e1e ("event/dlb2: fix advertized capabilities")
Fixes e7c9971a857a ("event/dlb2: add probe-time hardware init")
---
 drivers/event/dlb2/dlb2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/event/dlb2/dlb2.c +1 -0
index e645f7595a..050ace0904 100644
@@ -72,6 +72,7 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
 	.max_single_link_event_port_queue_pairs =
 		DLB2_MAX_NUM_DIR_PORTS(DLB2_HW_V2),
 	.event_dev_cap = (RTE_EVENT_DEV_CAP_EVENT_QOS |
+			  RTE_EVENT_DEV_CAP_NONSEQ_MODE |
 			  RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
 			  RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |
 			  RTE_EVENT_DEV_CAP_BURST_MODE |
Signature · 1 line
2.39.2
#1 lore raw
Quoted 11 lines · Bruce Richardson

The dlb2 driver did not advertise the fact that events could be enqueued to it for any queues, not just those in numerical sequence. Add the missing bit to the capabilities flag returned from the info_get() function.

Fixes d39e23f26e1e ("event/dlb2: fix advertized capabilities")
Fixes e7c9971a857a ("event/dlb2: add probe-time hardware init")

Waiting for Ack/Review from @Abdullah Sevincer to merge.

Quoted 19 lines
---
 drivers/event/dlb2/dlb2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/event/dlb2/dlb2.c +1 -1
index e645f7595a..050ace0904 100644
@@ -72,6 +72,7 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
        .max_single_link_event_port_queue_pairs =
                DLB2_MAX_NUM_DIR_PORTS(DLB2_HW_V2),
        .event_dev_cap = (RTE_EVENT_DEV_CAP_EVENT_QOS |
+                         RTE_EVENT_DEV_CAP_NONSEQ_MODE |
                          RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
                          RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |
                          RTE_EVENT_DEV_CAP_BURST_MODE |
--

2.39.2