From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 95BFFA054A for ; Tue, 25 Oct 2022 17:09:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D4C242C4F; Tue, 25 Oct 2022 17:09:50 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id EB5A342C38 for ; Tue, 25 Oct 2022 17:09:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666710588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KN1ulWBQXTpOryOywYH/P1+1jvQsbqM3gAJGVBvc8Y0=; b=CF7vhkf2fBrybux9h0RwBAutDUdj8D7Obiw8gG5FNJZfrzCaHKiPRY3eVEOPohzo0IKnGC x3V9X4x9SRCS9VwAlUNUXmtw8x+SHU9ZjmaB/RXiQu6b78z5HBBHq0l6OY+nWsHROSf+CR qZOXdKCNTS7fIDlCvf/6R9AmNussEY4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-421-hNJT4ZHrPfOgRqOHMsTypQ-1; Tue, 25 Oct 2022 11:09:47 -0400 X-MC-Unique: hNJT4ZHrPfOgRqOHMsTypQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9E9D3185A7AF; Tue, 25 Oct 2022 15:09:46 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.192.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 06033477F55; Tue, 25 Oct 2022 15:09:45 +0000 (UTC) From: Kevin Traynor To: Pavan Nikhilesh Cc: dpdk stable Subject: patch 'event/cnxk: fix missing xstats operations' has been queued to stable release 21.11.3 Date: Tue, 25 Oct 2022 16:07:14 +0100 Message-Id: <20221025150734.142189-79-ktraynor@redhat.com> In-Reply-To: <20221025150734.142189-1-ktraynor@redhat.com> References: <20221025150734.142189-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 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 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 --- 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@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 = {