From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40073.outbound.protection.outlook.com [40.107.4.73]) by dpdk.org (Postfix) with ESMTP id 939F67CBC; Mon, 5 Mar 2018 16:12:57 +0100 (CET) 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=hM6tn4YSEH5VYtcSuvF1hbwb1jsOz3SfTy9+w5JkWYE=; b=XeYHECJsAeWhHWGWyvUzDe1DCCqRzX39Ot8Uso9D/CZ/aLzC/OO6Fc5Yrbms+JosXHEZbRi/SyhWB0y9pilQ8zX6/tBjCpn+tUH6i1OqqAsAf9l0O+tgp2FDJdnLwg3XuxIUqBCTZr16riV5rjN+S801ZnmS8HFKF7+4kraJbdI= Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com (10.172.215.19) by AM4PR0501MB2290.eurprd05.prod.outlook.com (10.165.82.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 5 Mar 2018 15:12:56 +0000 Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::79a1:db23:42bd:25e2]) by AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::79a1:db23:42bd:25e2%9]) with mapi id 15.20.0548.016; Mon, 5 Mar 2018 15:12:56 +0000 From: Matan Azrad To: Ferruh Yigit , Thomas Monjalon , Gaetan Rivet , Jingjing Wu CC: "dev@dpdk.org" , Neil Horman , "Bruce Richardson" , Konstantin Ananyev , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH v3 1/7] ethdev: fix port data reset timing Thread-Index: AQHTtHSBdFj2ltdPd067KvXG8dkN5qPBt36wgAAGs4CAAAER8A== Date: Mon, 5 Mar 2018 15:12:56 +0000 Message-ID: References: <1515318351-4756-1-git-send-email-matan@mellanox.com> <1516293317-30748-1-git-send-email-matan@mellanox.com> <1516293317-30748-2-git-send-email-matan@mellanox.com> In-Reply-To: Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR0501MB2290; 7:G/okSFCq3cifflpl6YhfPIcWtY5+dCJR9qORGKoUFiPRqP1BXUNv+SD/tDckEplvjBWI+s9/QL+BhB+FY4vLtvqrHFAd4Xn/FLYM3U0wahIbUcADhHFLwCBQt2xHFjj1lGzMrxeZpSYgn63ynnOuhuw0OQX3zRRJyKAYJOPGJ1OXPcRtaK3zu/FRO9iGbe7J0dXtGx6qbqi7UgBRZJtVM98ffC+a3Sw3L4WWrpGKD+3zBtZ8zsbHoa5oJXyOnQVJ x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 115307f7-6fd3-4474-8bfd-08d582ab9326 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:AM4PR0501MB2290; x-ms-traffictypediagnostic: AM4PR0501MB2290: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3231220)(944501244)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:AM4PR0501MB2290; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0501MB2290; x-forefront-prvs: 06022AA85F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(366004)(39380400002)(39860400002)(189003)(199004)(57704003)(33656002)(106356001)(74316002)(2950100002)(316002)(3280700002)(76176011)(7696005)(105586002)(2906002)(6116002)(3846002)(305945005)(7736002)(229853002)(99286004)(8936002)(66066001)(81166006)(6246003)(81156014)(5250100002)(110136005)(53936002)(14454004)(25786009)(9686003)(54906003)(186003)(478600001)(3660700001)(5890100001)(53546011)(102836004)(6506007)(26005)(8676002)(2900100001)(4326008)(68736007)(86362001)(5660300001)(55016002)(6436002)(97736004)(93886005)(59450400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0501MB2290; H:AM4PR0501MB2657.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) x-microsoft-antispam-message-info: OKsuDiO36vrxcJsJS0f7BnJ5ZWsDdfjx6NnUsj+mV8JCDXzlcE5ygIlcy7qXQij/4ZMOJY2Zh2QQnnLgRIpJgAaMO46aTF1U2tmaL/hCUu+5qcIXC98xXnVOI3/H11Jl4RC4s9jL8AwojTmAm7T0l7sXvyL00eZdZbVFudli6ijAU5MLQfjJaNZYAwgqL+1qNL92xfMCnYF+pEe5rlpNZVE7VMvxIQgTRsdxkvOmsgoBYxZDAPB07cXg5dOxfiaiyo1Edy7xcJVQTxYkKA86FoKqW61Poa3cw6dZcETuTjlkUUitak8tDrREe9J4usPGPm4eoDcgGTJ9i2alZBFxvg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 115307f7-6fd3-4474-8bfd-08d582ab9326 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2018 15:12:56.1338 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0501MB2290 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v3 1/7] ethdev: fix port data reset timing 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: Mon, 05 Mar 2018 15:12:57 -0000 SGkgRmVycnVoDQoNCkZyb206IEZlcnJ1aCBZaWdpdCwgU2VudDogTW9uZGF5LCBNYXJjaCA1LCAy MDE4IDU6MDcgUE0NCj4gT24gMy81LzIwMTggMjo1MiBQTSwgTWF0YW4gQXpyYWQgd3JvdGU6DQo+ ID4gSEkNCj4gPg0KPiA+IEZyb206IEZlcnJ1aCBZaWdpdCwgU2VudDogTW9uZGF5LCBNYXJjaCA1 LCAyMDE4IDE6MjQgUE0NCj4gPj4gT24gMS8xOC8yMDE4IDQ6MzUgUE0sIE1hdGFuIEF6cmFkIHdy b3RlOg0KPiA+Pj4gcnRlX2V0aF9kZXZfZGF0YSBzdHJ1Y3R1cmUgaXMgYWxsb2NhdGVkIHBlciBl dGhkZXYgcG9ydCBhbmQgY2FuIGJlDQo+ID4+PiB1c2VkIHRvIGdldCBhIGRhdGEgb2YgdGhlIHBv cnQgaW50ZXJuYWxseS4NCj4gPj4+DQo+ID4+PiBydGVfZXRoX2Rldl9hdHRhY2hfc2Vjb25kYXJ5 IHRyaWVzIHRvIGZpbmQgdGhlIHBvcnQgaWRlbnRpZmllciB1c2luZw0KPiA+Pj4gcnRlX2V0aF9k ZXZfZGF0YSBuYW1lIGZpZWxkIGNvbXBhcmlzb24gYW5kIG1heSBnZXQgYW4gaWRlbnRpZmllciBv Zg0KPiA+Pj4gaW52YWxpZCBwb3J0IGluIGNhc2Ugb2YgdGhpcyBwb3J0IHdhcyByZWxlYXNlZCBi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