patch 'event/cnxk: fix missing xstats operations' has been queued to stable release 21.11.3

Kevin Traynor ktraynor at redhat.com
Tue Oct 25 17:07:14 CEST 2022


Hi,

FYI, your patch has been queued to stable release 21.11.3

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/01/22. 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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/86727609c5f97ef03dd8d8cda169cd913c9da0c7

Thanks.

Kevin

---
>From 86727609c5f97ef03dd8d8cda169cd913c9da0c7 Mon Sep 17 00:00:00 2001
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Date: Tue, 27 Sep 2022 21:01:51 +0530
Subject: [PATCH] event/cnxk: fix missing xstats operations

[ upstream commit edbb4c09c5e4db1cefa1a78f1f25d12305a3dd19 ]

Fix missing xstats ops registration when initializing event device.

Fixes: b5a52c9d97e2 ("event/cnxk: add event port and queue xstats")

Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
 drivers/event/cnxk/cn10k_eventdev.c | 4 ++++
 drivers/event/cnxk/cn9k_eventdev.c  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/drivers/event/cnxk/cn10k_eventdev.c b/drivers/event/cnxk/cn10k_eventdev.c
index 4d878fc2b7..9e51fa2385 100644
--- a/drivers/event/cnxk/cn10k_eventdev.c
+++ b/drivers/event/cnxk/cn10k_eventdev.c
@@ -819,4 +819,8 @@ static struct eventdev_ops cn10k_sso_dev_ops = {
 	.crypto_adapter_queue_pair_del = cn10k_crypto_adapter_qp_del,
 
+	.xstats_get = cnxk_sso_xstats_get,
+	.xstats_reset = cnxk_sso_xstats_reset,
+	.xstats_get_names = cnxk_sso_xstats_get_names,
+
 	.dump = cnxk_sso_dump,
 	.dev_start = cn10k_sso_start,
diff --git a/drivers/event/cnxk/cn9k_eventdev.c b/drivers/event/cnxk/cn9k_eventdev.c
index d2ec4aedd7..73cf61670a 100644
--- a/drivers/event/cnxk/cn9k_eventdev.c
+++ b/drivers/event/cnxk/cn9k_eventdev.c
@@ -1067,4 +1067,8 @@ static struct eventdev_ops cn9k_sso_dev_ops = {
 	.crypto_adapter_queue_pair_del = cn9k_crypto_adapter_qp_del,
 
+	.xstats_get = cnxk_sso_xstats_get,
+	.xstats_reset = cnxk_sso_xstats_reset,
+	.xstats_get_names = cnxk_sso_xstats_get_names,
+
 	.dump = cnxk_sso_dump,
 	.dev_start = cn9k_sso_start,
-- 
2.37.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-10-25 14:19:00.334333189 +0100
+++ 0079-event-cnxk-fix-missing-xstats-operations.patch	2022-10-25 14:18:58.508798439 +0100
@@ -1 +1 @@
-From edbb4c09c5e4db1cefa1a78f1f25d12305a3dd19 Mon Sep 17 00:00:00 2001
+From 86727609c5f97ef03dd8d8cda169cd913c9da0c7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit edbb4c09c5e4db1cefa1a78f1f25d12305a3dd19 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 0586e47cab..bbaa6d0361 100644
+index 4d878fc2b7..9e51fa2385 100644
@@ -21 +22 @@
-@@ -1111,4 +1111,8 @@ static struct eventdev_ops cn10k_sso_dev_ops = {
+@@ -819,4 +819,8 @@ static struct eventdev_ops cn10k_sso_dev_ops = {
@@ -31 +32 @@
-index 29c952c791..764963db85 100644
+index d2ec4aedd7..73cf61670a 100644
@@ -34 +35 @@
-@@ -1200,4 +1200,8 @@ static struct eventdev_ops cn9k_sso_dev_ops = {
+@@ -1067,4 +1067,8 @@ static struct eventdev_ops cn9k_sso_dev_ops = {



More information about the stable mailing list