From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 69EBCA051C for ; Tue, 11 Feb 2020 12:25:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 624FD2B9C; Tue, 11 Feb 2020 12:25:14 +0100 (CET) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by dpdk.org (Postfix) with ESMTP id 34DF02B9C for ; Tue, 11 Feb 2020 12:25:13 +0100 (CET) Received: by mail-wm1-f52.google.com with SMTP id q9so3004674wmj.5 for ; Tue, 11 Feb 2020 03:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OXAbD1wrSoEtB8BpOMhUjRwpVVCtbMlYYSAI3gL7nio=; b=r8tpexwmSiU/BGcr93lkztQmkakTZQB6powBjv/MYQ1N/igVZhih0ezEZMZ51HMUjT fmZh97+9i5IOzPr4VvsVdtW7VAIWcs+Um/ooW+3yk6V+/nepwGfZZen2R0j3QM52eAme RULXXmv51lbZmMsBqkE7RdL+H3BNM+PdGrW9Tx0VKJT02zV2ewtSVfLXphATF7HDOEiO O3ZK1OwWEl5f1S8MnmAEyuPpjctJmHVG8vKL3whTnZKOzZKXKVaSvTxzZ4DI7Xp51LfK UrEcC8NnWMLFtK2syIkbeuLOKarLXQPMV65fOiFXD89KWvVZuly6wRIpNukMRbziKgJS xrmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OXAbD1wrSoEtB8BpOMhUjRwpVVCtbMlYYSAI3gL7nio=; b=NfkdCrJeiOZpeEy3DWnPY85VEzgnq0zZs57MOJex2EkXWhprOmPlmrTnDDfAWYLrIJ cdTL8mWV0UZAq2w3MaA2WhNcwOtMamMRgkP60Uq+p84UsjqkI67psacUnwA/UtfjO0WT swy0lyccSSCG1x3ryTloohU7KQPI/Iwn7b61VQqvFro/DoolZdTvSDjU+ylEv8GcfkTj Efxwru3eW4P8vCyi6t2GgSySNRBP9QQawiDP+NQeim4jr4n+I9pY4r1Dq8NqCUed2YNf fZUcS57s9tYJdf1KAbGTDKwkz14t32MB3C4OMUa/FLySJdRt5iyS93gA49Ouvb4XRPYX Ts1w== X-Gm-Message-State: APjAAAV1I6b9VkPohA1Mn5lfoYXbbUcELpqDfc3sEAr24m4D7x2TxFva dnYfiPXPxnN39S2vsgHXAYQ= X-Google-Smtp-Source: APXvYqzSJgS7i74G6D3YMEx85qTvc+Qnlofl1qlOEz/YQShbyh9U1tz1ahrKUBtn8EytjEFjCDvN1Q== X-Received: by 2002:a1c:4d07:: with SMTP id o7mr5288092wmh.174.1581420312909; Tue, 11 Feb 2020 03:25:12 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id r6sm4892207wrq.92.2020.02.11.03.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:25:12 -0800 (PST) From: luca.boccassi@gmail.com To: Andy Pei Cc: Rosen Xu , dpdk stable Date: Tue, 11 Feb 2020 11:19:53 +0000 Message-Id: <20200211112216.3929-47-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ipn3ke: fix line side statistics register read' has been queued to stable release 19.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/13/20. 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. Thanks. Luca Boccassi --- >From aa6b3a7622f6f713c9eb13d573f4bd1108a4518f Mon Sep 17 00:00:00 2001 From: Andy Pei Date: Tue, 31 Dec 2019 14:53:47 +0800 Subject: [PATCH] net/ipn3ke: fix line side statistics register read [ upstream commit eeb1497641cb6d7945abf62a4ea65f514df807e7 ] To read line side statistics register, eth_group_sel args in function ipn3ke_indirect_mac_read should be 0. When eth_group_sel is 1, the nic side register is read. Fixes: 5a6d883878db ("net/ipn3ke: implement statistics") Signed-off-by: Andy Pei Acked-by: Rosen Xu --- drivers/net/ipn3ke/ipn3ke_representor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ipn3ke/ipn3ke_representor.c b/drivers/net/ipn3ke/ipn3ke_representor.c index 8d9ebef915..80122e3fc5 100644 --- a/drivers/net/ipn3ke/ipn3ke_representor.c +++ b/drivers/net/ipn3ke/ipn3ke_representor.c @@ -701,7 +701,7 @@ struct ipn3ke_rpst_hw_port_stats *hw_stats) &tmp, IPN3KE_25G_TX_STATISTICS_STATUS, port_id, - 1); + 0); if (tmp & IPN3KE_25G_TX_STATISTICS_STATUS_SHADOW_REQUEST_MASK) { tmp = 0x00000000; (*hw->f_mac_read)(hw, -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:40.729794725 +0000 +++ 0047-net-ipn3ke-fix-line-side-statistics-register-read.patch 2020-02-11 11:17:38.400001347 +0000 @@ -1,14 +1,15 @@ -From eeb1497641cb6d7945abf62a4ea65f514df807e7 Mon Sep 17 00:00:00 2001 +From aa6b3a7622f6f713c9eb13d573f4bd1108a4518f Mon Sep 17 00:00:00 2001 From: Andy Pei Date: Tue, 31 Dec 2019 14:53:47 +0800 Subject: [PATCH] net/ipn3ke: fix line side statistics register read +[ upstream commit eeb1497641cb6d7945abf62a4ea65f514df807e7 ] + To read line side statistics register, eth_group_sel args in function ipn3ke_indirect_mac_read should be 0. When eth_group_sel is 1, the nic side register is read. Fixes: 5a6d883878db ("net/ipn3ke: implement statistics") -Cc: stable@dpdk.org Signed-off-by: Andy Pei Acked-by: Rosen Xu