patch 'event/dlb2: fix missing queue ordering capability flag' has been queued to stable release 20.11.10

luca.boccassi at gmail.com luca.boccassi at gmail.com
Wed Nov 15 12:45:03 CET 2023


Hi,

FYI, your patch has been queued to stable release 20.11.10

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/17/23. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/2d773cdc0a4c148a56f6412788b7ccf05b4f3eb5

Thanks.

Luca Boccassi

---
>From 2d773cdc0a4c148a56f6412788b7ccf05b4f3eb5 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Thu, 9 Nov 2023 17:44:20 +0000
Subject: [PATCH] event/dlb2: fix missing queue ordering capability flag

[ upstream commit a992d9bee8aff7bc12f145c58331f92ba41af8e2 ]

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")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Abdullah Sevincer <abdullah.sevincer at intel.com>
---
 drivers/event/dlb2/dlb2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index b71c697625..bc425bf3d9 100644
--- a/drivers/event/dlb2/dlb2.c
+++ b/drivers/event/dlb2/dlb2.c
@@ -62,6 +62,7 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
 	.max_single_link_event_port_queue_pairs = DLB2_MAX_NUM_DIR_PORTS,
 	.event_dev_cap = (RTE_EVENT_DEV_CAP_QUEUE_QOS |
 			  RTE_EVENT_DEV_CAP_EVENT_QOS |
+			  RTE_EVENT_DEV_CAP_NONSEQ_MODE |
 			  RTE_EVENT_DEV_CAP_BURST_MODE |
 			  RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
 			  RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE |
-- 
2.39.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-11-15 11:44:13.769486223 +0000
+++ 0004-event-dlb2-fix-missing-queue-ordering-capability-fla.patch	2023-11-15 11:44:13.530386716 +0000
@@ -1 +1 @@
-From a992d9bee8aff7bc12f145c58331f92ba41af8e2 Mon Sep 17 00:00:00 2001
+From 2d773cdc0a4c148a56f6412788b7ccf05b4f3eb5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a992d9bee8aff7bc12f145c58331f92ba41af8e2 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index e645f7595a..050ace0904 100644
+index b71c697625..bc425bf3d9 100644
@@ -25,4 +26,4 @@
-@@ -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 |
+@@ -62,6 +62,7 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
+ 	.max_single_link_event_port_queue_pairs = DLB2_MAX_NUM_DIR_PORTS,
+ 	.event_dev_cap = (RTE_EVENT_DEV_CAP_QUEUE_QOS |
+ 			  RTE_EVENT_DEV_CAP_EVENT_QOS |
@@ -30,2 +30,0 @@
- 			  RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
- 			  RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |
@@ -32,0 +32,2 @@
+ 			  RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
+ 			  RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE |


More information about the stable mailing list