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 9E6A7A0613 for ; Sun, 25 Aug 2019 13:41:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 557601BFB3; Sun, 25 Aug 2019 13:41:27 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 4B12D1BFB3 for ; Sun, 25 Aug 2019 13:41:25 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7PBdcbE024922; Sun, 25 Aug 2019 04:41:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=swTj9q9pIII4Muo59oVsKji4h8ilhIdKiA6AcKZyQOg=; b=KqEha2JZbwpu3V2FKMOJsKmlSsLvAQ0FH1nEuCnUJ/GtJy36kepNBLMWbNWKBmX02ld7 SkSu4TaYhXTM8lqrQOIPwEioVm0+bNWmdGVAdU7cqPn2rhBGwfGWDmfas+gUZt//y1Gf vfnCqBxv9NpvCABiuCIlF8iOC1aRqaCU9lEy/I4QOMmZpiNJYlRvOEngyZCpP60dK1wE dUbqMxDiYyUAZRw3mFfnnoCmWtqaPOsUrCCH0sBc02dYQpX5dM6DtORRerxoqoeorDob u8S+Z2FOjAFNpRKCXJE89mq5AiPDLIQVowmsXg4p6R9y5N5IM4zRk/jFc9caGNWlkoUp qw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2uk2kpudyn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 25 Aug 2019 04:41:24 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 25 Aug 2019 04:41:23 -0700 Received: from NAM05-DM3-obe.outbound.protection.outlook.com (104.47.49.51) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 25 Aug 2019 04:41:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TccKwUzfpzpmwPPJoGEoNLxN+OzxQKHrzO0qyQqoLyUGfgc0mTbE3cRVBZFcJE+KudLtZDowPsY7QZN4PUyXBtwX2RGjODbaklV0mC31zUUOfZVlhC1dmgGPh4w/cVbRB2zpmr0vUjrcbyWVr77KtDma7KThAVheCVVXcWD+ZZgMz/BNWHwe1aZjej3dBxs6BJZMWVct20OVRec7SZ+nyIJgveWfdbDu81KGJCF5nCGInEdy6B6QiOSuA9vLnllYpjAs4hpwFSejbdOUMhC1cM/7vaNNHah2O7Gs3Cch9lyPCZAnKcLD0ElI4JkjIAAxz0E/squYHa8Wo0hVz1skZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=swTj9q9pIII4Muo59oVsKji4h8ilhIdKiA6AcKZyQOg=; b=J+ABx+hcpM74RY1u4oUO+8OneTf4lbSsbKF/QhdD8IEuu8xRmtaRBrNGKOI6uj7KzKfuN7Qd9kiGLJKvaNefAjYl1209sig2z8IoT8rvJ4zin74MGURrYE47+0Fo64kp38lneMviJObs+mA+yKo9+/1e8OtdlDI5LXWO5S5WHs5t8YHxVd+xYa2cCIwm+6WRfBdpTHtoLu9pS/5L3DA/xnnEhb9xq6p8KXMPmFT1CBuJ4THO7xvZYhjLy0qS39IhquLI6Eb6OrE2ORgqcJZTUsjWC0Fyc6ay2mnLyrkqOUMQUvCsGFOic8p6WDwBEisBUhnKJk0GSczPcIan6W78iQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=swTj9q9pIII4Muo59oVsKji4h8ilhIdKiA6AcKZyQOg=; b=TUqSYv8ob9SZbMtg0PkmgoVgWveU1uyABwPVThR2mA49uqSWuVt0i2S0MaJxqoKAs2SD8vkoj40pmTSepoy0ylBj/cQ95WTihumOkCT90lJzAp2BKq6UxQPrwQX6jFBM2f7UQazw1hnrchfAOK60XwOQysypOFoBYLRNXXg4jbk= Received: from MN2PR18MB2398.namprd18.prod.outlook.com (20.179.81.144) by MN2PR18MB3374.namprd18.prod.outlook.com (10.255.238.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Sun, 25 Aug 2019 11:41:21 +0000 Received: from MN2PR18MB2398.namprd18.prod.outlook.com ([fe80::f0c8:59aa:9dfb:c4c0]) by MN2PR18MB2398.namprd18.prod.outlook.com ([fe80::f0c8:59aa:9dfb:c4c0%5]) with mapi id 15.20.2178.020; Sun, 25 Aug 2019 11:41:20 +0000 From: Liron Himi To: Kevin Traynor CC: Yuri Chipchev , dpdk stable , "Liron Himi" Thread-Topic: [EXT] patch 'net/mvneta: fix ierror statistics' has been queued to LTS release 18.11.3 Thread-Index: AQHVWZd7kx/Czt743EGkXhK0ZPET6qcLwKVA Date: Sun, 25 Aug 2019 11:41:20 +0000 Message-ID: References: <20190823094336.12078-1-ktraynor@redhat.com> <20190823094336.12078-35-ktraynor@redhat.com> In-Reply-To: <20190823094336.12078-35-ktraynor@redhat.com> Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [212.199.69.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d3543828-cc0b-49ba-3484-08d729512668 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR18MB3374; x-ms-traffictypediagnostic: MN2PR18MB3374: x-ms-exchange-purlcount: 3 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 01401330D1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39850400004)(396003)(366004)(136003)(28163001)(13464003)(199004)(189003)(53936002)(107886003)(478600001)(6436002)(53376002)(6916009)(9686003)(55016002)(6306002)(6246003)(3846002)(6116002)(66066001)(86362001)(966005)(14454004)(33656002)(229853002)(99286004)(446003)(11346002)(7736002)(71190400001)(52536014)(71200400001)(5660300002)(486006)(14444005)(305945005)(54906003)(81156014)(81166006)(186003)(316002)(8676002)(26005)(2906002)(53546011)(6506007)(8936002)(102836004)(66946007)(76116006)(76176011)(66476007)(66556008)(64756008)(66446008)(4326008)(25786009)(74316002)(256004)(476003)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB3374; H:MN2PR18MB2398.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: /6t+cniRYzFz+CUU51EIG9QPZhxHiQC1pqNcuGaKVQEc0PH7POmwq3HyqsanjJ0QlAdh2R4DGX/l4TF7c0dkDjWHJlby0DHoZMzOvsAuQaC5bmdVJivegjaGZY09NB/9cDDa84x+wKxNoLWsAl/B7cS9Dzx95v7ig9yjifNiIVVSoB/bQTtEYqxW8PedrcBdHfHVuEgsvTSvttWTlqkq4S8DdRrUJ+6Med7fvy2k9cbwmsM7HSnwAmFG3e4PRwgGIJsJKDgzPQUAg2XcSSAd/GKYSeIdEW0ppl4mgcUAYfXi7/HeMMGo2YeLjvny7N9ailcWxlisDmEhM/8tybYnhxtkWHAbYpc65HZ2xOyjqm75hUMadEschFbdsAo+SzO2lrG+lC7DPiu9/6Iu370k5dwoatQrpzDYLexbTtG1pqc= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d3543828-cc0b-49ba-3484-08d729512668 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2019 11:41:20.7858 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gJQsYBbG+KzQz+s4BMwpgoB6y6zZ3ey48ZuItrXxvp2JP/cKKCxwJM4Wjwie5yHDqZhPZmrdABydEwSKmqbJAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3374 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-25_08:2019-08-23,2019-08-25 signatures=0 Subject: Re: [dpdk-stable] [EXT] patch 'net/mvneta: fix ierror statistics' has been queued to LTS release 18.11.3 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" queued commit looks okay. Regards, Liron -----Original Message----- From: Kevin Traynor =20 Sent: Friday, August 23, 2019 12:43 To: Liron Himi Cc: Yuri Chipchev ; dpdk stable Subject: [EXT] patch 'net/mvneta: fix ierror statistics' has been queued to= LTS release 18.11.3 External Email ---------------------------------------------------------------------- Hi, FYI, your patch has been queued to LTS release 18.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 08/28/19. So please shout i= f 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 rebasi= ng (ie: not only metadata diffs), please double check that the rebase was corr= ectly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/a9b869ed83f19ecac2= 255ff4fe4063be7a547fff Thanks. Kevin Traynor --- >From a9b869ed83f19ecac2255ff4fe4063be7a547fff Mon Sep 17 00:00:00 2001 From: Liron Himi Date: Mon, 1 Jul 2019 11:00:22 +0300 Subject: [PATCH] net/mvneta: fix ierror statistics [ upstream commit 09a6afe7e4bff1d4b2961e031fcae1b7a1f042d3 ] Error packets were counted twice due to use of redundant counters. Fixes: e9d5faffd10c ("net/mvneta: support basic stats") Signed-off-by: Liron Himi Reviewed-by: Yuri Chipchev Tested-by: Liron Himi --- drivers/net/mvneta/mvneta_ethdev.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/mvneta/mvneta_ethdev.c b/drivers/net/mvneta/mvneta= _ethdev.c index 2d7666454..919856885 100644 --- a/drivers/net/mvneta/mvneta_ethdev.c +++ b/drivers/net/mvneta/mvneta_ethdev.c @@ -707,8 +707,5 @@ mvneta_stats_get(struct rte_eth_dev *dev, struct rte_et= h_stats *stats) ppio_stats.rx_overrun - priv->prev_stats.imissed; - - stats->ierrors =3D ppio_stats.rx_packets_err + - ppio_stats.rx_errors + - ppio_stats.rx_crc_error - + stats->ierrors =3D ppio_stats.rx_packets_err - priv->prev_stats.ierrors; stats->oerrors =3D ppio_stats.tx_errors - priv->prev_stats.oerrors; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- - 2019-08-22 19:38:22.720052952 +0100 +++ 0035-net-mvneta-fix-ierror-statistics.patch 2019-08-22 19:38:20.4560264= 27 +0100 @@ -1 +1 @@ -From 09a6afe7e4bff1d4b2961e031fcae1b7a1f042d3 Mon Sep 17 00:00:00 2001 +From a9b869ed83f19ecac2255ff4fe4063be7a547fff Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 09a6afe7e4bff1d4b2961e031fcae1b7a1f042d3 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 965744406..d6e64a849 100644 +index 2d7666454..919856885 100644 @@ -22 +23 @@ -@@ -708,8 +708,5 @@ mvneta_stats_get(struct rte_eth_dev *dev, struct rte_e= th_stats *stats) +@@ -707,8 +707,5 @@ mvneta_stats_get(struct rte_eth_dev *dev, struct=20 +rte_eth_stats *stats)