From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0088.outbound.protection.outlook.com [104.47.1.88]) by dpdk.org (Postfix) with ESMTP id 82C35199B4; Wed, 13 Sep 2017 20:17:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yXsD4uFGsv1Rj21ZEnAz8TEnvZDFDhEAB+HQd5ucrqc=; b=sHxqa/mJhXVyTflJTxJKvEEzdonYz+5kyRdUDStoNkcg99pcp5mtme/GE4iLHfmmGkCt3+j9BZ95TrxquNGMzYa9CF+d0+Wmn4KmEJ+kTXekZP5tTypembr4kqjvAnih+LNJssZl9b5imu7PWW8Ef/3CVK2R/v0XDRafl4rsmi0= Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com (10.167.195.147) by VI1PR0501MB2702.eurprd05.prod.outlook.com (10.172.15.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Wed, 13 Sep 2017 18:17:52 +0000 Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::7921:ae50:9b96:93ba]) by VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::7921:ae50:9b96:93ba%14]) with mapi id 15.20.0056.010; Wed, 13 Sep 2017 18:17:52 +0000 From: Yongseok Koh To: Shahaf Shuler CC: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "Adrien Mazarguil" , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v4 3/4] net/mlx5: fix Tx stats error counter logic Thread-Index: AQHTLH4pwwr5mGJ1dUOpSs7tiZ3zv6KzIDoA Date: Wed, 13 Sep 2017 18:17:51 +0000 Message-ID: <387FFFBE-970F-493A-9FDC-7CE3FC3E86FE@mellanox.com> References: <7b6d42c0c5e1a04f8483b6546ea0b1db8fb7ceee.1505133966.git.shahafs@mellanox.com> <05958f0c9e0a99a2ac56152a36cf15237f4d125c.1505299539.git.shahafs@mellanox.com> In-Reply-To: <05958f0c9e0a99a2ac56152a36cf15237f4d125c.1505299539.git.shahafs@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB2702; 6:HHzgqWTqHTkEopYw/Dwj9qroutID31sWjMxa5OO1LezBfEivf/Pj3IKyhhtZvpucp/0/kJPMWVbY4FzsWNZdFfZ2ma52KGAEkHQKOlqznCdvu6+tGQJz/mvQtqD7oAK/S17LI4ld5saA61NU6EcjZi06pR8cAc3l17FJt74LX+7LL3dqST7b+vW2MtOQxgY25VpPvqoIJFCR2PvN8tXfzHPolYk8C1AgiOLHhV0BoZJGUrfzgTrmzbsQG/W+J7R7h39Q7pUUnVvUBCO2l7V8KpFAGJ7t6omzUnoglY+agmpfZ+g/BjnvKGmI/Dp2kTHcSwr6rzHqoyZcqB0cfNjYkw==; 5:xt0IH+5y9vOKtEUqDSS1Hqj76Ill0ISUeVxRM37rjBIx53RpEh81svb0kOjc0q8stBrtos+eRxSkEboOaUfU43deA+D1a5bd4NvZr3fPTCIL3Ajsm+k/vYRvUjfcLDLFFMUGbGgTCyuhMHwdU++DgA==; 24:bfCwJUU+FsnLsPKgIIrvEGqGsER3aWh2jZMdotn+O4j9xMYhJAU04tdO65hF7EV8ndEDmERQnIqk5jLxnfwXBda2Y5WxZoB/JRyu9u06yCQ=; 7:eCK9G9f6AUGcry1bdQGeIw3zGdhJCl59Lec07Y1BSmuR4KIzr1sGimCPYTQHywLCuqBQV8qfpArdWV5edLX07GVpphR1a8GUGXCm6oLeqw0GzAlNd+WJXqgwPmm6WOHT6lPsfbH727/9WKSp4c1SI7IjuZ5GskdPfeXE9bh5YIpDz7GTF/1L3iBErjufSMlzyorJD0PvsK3CjpA5D1lRQfnzykm/LCmnLOud7EMfIEE= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-office365-filtering-correlation-id: 79e2f9c3-d550-4743-8dbb-08d4fad3bf64 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:VI1PR0501MB2702; x-ms-traffictypediagnostic: VI1PR0501MB2702: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0501MB2702; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0501MB2702; x-forefront-prvs: 042957ACD7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(189002)(199003)(377454003)(24454002)(5660300001)(76176999)(105586002)(3660700001)(106356001)(68736007)(7736002)(33656002)(4326008)(2906002)(53546010)(6486002)(305945005)(6862004)(50986999)(99286003)(83716003)(97736004)(6246003)(14454004)(3280700002)(316002)(54356999)(229853002)(110136004)(6506006)(2950100002)(66066001)(53936002)(81166006)(86362001)(189998001)(101416001)(25786009)(6512007)(2900100001)(6116002)(102836003)(81156014)(82746002)(478600001)(3846002)(5250100002)(8676002)(8936002)(6436002)(54906002)(36756003)(6636002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2702; H:VI1PR0501MB2045.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-ID: <2627983F3EB2AE428DEA8BE27823C564@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2017 18:17:51.9664 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2702 Subject: Re: [dpdk-dev] [PATCH v4 3/4] net/mlx5: fix Tx stats error counter logic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 18:17:53 -0000 > On Sep 13, 2017, at 3:50 AM, Shahaf Shuler wrote: >=20 > Tx error counter lacks the logic of incrementation, making it useless for > applications. >=20 > Fixes: 87011737b715 ("mlx5: add software counters") > Cc: stable@dpdk.org > Cc: adrien.mazarguil@6wind.com >=20 > Signed-off-by: Shahaf Shuler > --- Acked-by: Yongseok Koh Thanks, Yongseok