From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C69D6A00E6 for ; Tue, 11 Jun 2019 20:29:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C41B1D048; Tue, 11 Jun 2019 20:29:08 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70089.outbound.protection.outlook.com [40.107.7.89]) by dpdk.org (Postfix) with ESMTP id C78131D046 for ; Tue, 11 Jun 2019 20:29:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F9cbE0JkDYSTEN7Ad86OJOyo7E9FhiLRf6GdWTD7DME=; b=n3wEVdLWi8NKV9Qn7nIIKWaT36CDKwN6kBV/OOZVkt0eI1gtanbPdpi5i+Jn6/4j4omJmiNHAn/AaBumLgWbTGgB23n7IQTEn4VHltbsPazclq9y7Bc/okQew6g2HagzH8TKciabJS48VSGjWmaEtG9zmumk1GITskTI1+dvxxM= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3602.eurprd05.prod.outlook.com (52.133.43.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Tue, 11 Jun 2019 18:29:05 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::20f4:3214:12c9:100c]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::20f4:3214:12c9:100c%7]) with mapi id 15.20.1987.010; Tue, 11 Jun 2019 18:29:05 +0000 From: Shahaf Shuler To: Matan Azrad , Yongseok Koh CC: "dev@dpdk.org" , Matan Azrad Thread-Topic: [PATCH v1 0/9] mlx5: Handle data-path completions with error Thread-Index: AQHVFreZrWOKOqlxN0S/8Mu2qCER6qaWbVMA Date: Tue, 11 Jun 2019 18:29:05 +0000 Message-ID: References: <1559200565-15703-1-git-send-email-matan@mellanox.com> In-Reply-To: <1559200565-15703-1-git-send-email-matan@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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fbbadddf-e221-457f-61fd-08d6ee9aaf80 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3602; x-ms-traffictypediagnostic: AM0PR0502MB3602: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-forefront-prvs: 006546F32A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(136003)(396003)(376002)(346002)(189003)(199004)(8676002)(3846002)(81166006)(81156014)(26005)(478600001)(8936002)(68736007)(71200400001)(7736002)(6116002)(71190400001)(305945005)(99286004)(6506007)(229853002)(52536014)(5660300002)(256004)(9686003)(6436002)(6246003)(55016002)(14444005)(25786009)(33656002)(14454004)(53936002)(110136005)(54906003)(11346002)(476003)(76176011)(446003)(107886003)(74316002)(186003)(316002)(73956011)(66946007)(7696005)(86362001)(6636002)(4326008)(76116006)(486006)(66476007)(66556008)(102836004)(66446008)(2906002)(66066001)(64756008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3602; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: SBKjSssoz4IWv53sFRHrjvsJwOmyqFp5ynJfBeUQfigfDXEr3xM2cUQV+33pN086sY8YIPtk01tdR+MzrSMp+SbIkKmRohGU9BTw5ll43/5KiOrY038Q3CxpQ8TcDHmemRX0PGrYIy4bjKoM0oSs5DTrSdHy7A5BG6oUmyyGnbdqc0/o6leC9nIVqqFplSa/MvzXwb+HCZNPvsvbb17UT4r6L9m6HP5E0Xz86FGzfvAWsisJw9uEqdzMzS2+BfX2598uoEDYYcJDQa7LWi1EfgYyY4+y+mRxyosCfdUTJcBHmC7Irywq6Q3ymem16S39f7IcD2WaGK1eXtU19cBMzEWJxRKnrHM9VdN740DXUUWWl7I1S8TeNr48yo1KvfhxKHxfd62R1dZ6/90vuCYql89k9PcGP1z99HCyNe7Zhgg= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: fbbadddf-e221-457f-61fd-08d6ee9aaf80 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2019 18:29:05.3796 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: shahafs@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3602 Subject: Re: [dpdk-dev] [PATCH v1 0/9] mlx5: Handle data-path completions with error 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Thursday, May 30, 2019 10:16 AM, Matan Azrad: > Cc: dev@dpdk.org; Matan Azrad > Subject: [PATCH v1 0/9] mlx5: Handle data-path completions with error >=20 > Add support for data-path Rx and Tx completions with error handling: >=20 > 1. Detect the error. > 2. Do not crash. > 3. Report it in statistics counters. > 4. Dump debug information to system log file. > 5. Recover the error under the hood. > 6. Add support for secondary process recovery. >=20 > No performance impact was shown. >=20 > Matan Azrad (9): > net/mlx5: remove Rx queues indexes correlation > net/mlx5: add log file procedure for debug data > net/mlx5: fix device arguments error detection > net/mlx5: mitigate Rx doorbell memory barrier > net/mlx5: separate Rx queue initialization > net/mlx5: extend Rx completion with error handling > net/mlx5: handle Tx completion with error > net/mlx5: recover secondary process Rx errors > net/mlx5: recover secondary process Tx errors >=20 > doc/guides/nics/mlx5.rst | 7 + > drivers/net/mlx5/mlx5.c | 14 +- > drivers/net/mlx5/mlx5.h | 12 + > drivers/net/mlx5/mlx5_mp.c | 46 +++ > drivers/net/mlx5/mlx5_prm.h | 11 + > drivers/net/mlx5/mlx5_rxq.c | 42 +-- > drivers/net/mlx5/mlx5_rxtx.c | 673 > ++++++++++++++++++++++++++++------ > drivers/net/mlx5/mlx5_rxtx.h | 193 +++++----- > drivers/net/mlx5/mlx5_rxtx_vec.c | 5 +- > drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 36 +- > drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 36 +- > drivers/net/mlx5/mlx5_trigger.c | 1 + > drivers/net/mlx5/mlx5_txq.c | 4 +- > 13 files changed, 792 insertions(+), 288 deletions(-) Applied to next-net-mlx, thanks. >=20 > -- > 1.8.3.1