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 36D40A051C for ; Tue, 11 Feb 2020 14:12:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 282F62B89; Tue, 11 Feb 2020 14:12:10 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8E7A02B89 for ; Tue, 11 Feb 2020 14:12:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Feb 2020 05:12:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,428,1574150400"; d="scan'208";a="237393532" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 11 Feb 2020 05:12:07 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Feb 2020 05:12:07 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Feb 2020 05:12:06 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.5]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.158]) with mapi id 14.03.0439.000; Tue, 11 Feb 2020 21:12:04 +0800 From: "Xu, Rosen" To: "luca.boccassi@gmail.com" , "Pei, Andy" CC: dpdk stable Thread-Topic: patch 'net/ipn3ke: fix line side statistics register read' has been queued to stable release 19.11.1 Thread-Index: AQHV4M31KEnnjzNqV0GL6RXoDd+fjKgV+BNQ Date: Tue, 11 Feb 2020 13:12:04 +0000 Message-ID: <0E78D399C70DA940A335608C6ED296D73AD49B2B@SHSMSX104.ccr.corp.intel.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> <20200211112216.3929-47-luca.boccassi@gmail.com> In-Reply-To: <20200211112216.3929-47-luca.boccassi@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzZjNTcxZDEtZGI1OC00MTc5LWJmMjAtODQ1OGJlNjQ4ZDQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT09iSVJkRFVBU1JFcDNqR2hlTnl4M1FBSCs0bzQzSENUeGxCUUN4NWlramxDUTVua2ZPSUxGd2dKSGNkaUlqQiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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 Luca, Thanks a lot. > -----Original Message----- > From: luca.boccassi@gmail.com > Sent: Tuesday, February 11, 2020 19:20 > To: Pei, Andy > Cc: Xu, Rosen ; dpdk stable > Subject: patch 'net/ipn3ke: fix line side statistics register read' has b= een > queued to stable release 19.11.1 >=20 > Hi, >=20 > FYI, your patch has been queued to stable release 19.11.1 >=20 > 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. >=20 > Also note that after the patch there's a diff of the upstream commit vs t= he > 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. >=20 > Thanks. >=20 > Luca Boccassi >=20 > --- > 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 >=20 > [ upstream commit eeb1497641cb6d7945abf62a4ea65f514df807e7 ] >=20 > 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. >=20 > Fixes: 5a6d883878db ("net/ipn3ke: implement statistics") >=20 > Signed-off-by: Andy Pei > Acked-by: Rosen Xu > --- > drivers/net/ipn3ke/ipn3ke_representor.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 =3D 0x00000000; > (*hw->f_mac_read)(hw, > -- > 2.20.1 >=20 > --- > Diff of the applied patch vs upstream commit (please double-check if no= n- > 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 >=20 > +[ 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. >=20 > Fixes: 5a6d883878db ("net/ipn3ke: implement statistics") > -Cc: stable@dpdk.org >=20 > Signed-off-by: Andy Pei > Acked-by: Rosen Xu