From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0056.outbound.protection.outlook.com [104.47.1.56]) by dpdk.org (Postfix) with ESMTP id D267A6D45; Mon, 5 Mar 2018 15:52:02 +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=gGUyeFHJw650V2UfIGkV5S9E/QCSr0hoTkPDpDU8fYA=; b=GEMOyEbKtrlvtlExf6fq2W/q1GhJsXnz7pgZVg+YmoJQZFGgCX90dt2Zx6iAXaX0VWCehHp1VAjiQpFrr05ozh88bsVakgfQBeNcWS9ssN3ygCDrgcFPwKto/ijFtZfSJPqIpjJtJPf5ojIanBwGnG0un+px3nMZx4QiNK/RF54= Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com (10.172.215.19) by AM4PR0501MB2818.eurprd05.prod.outlook.com (10.172.216.137) 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 14:52:00 +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 14:52:00 +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: AQHTtHSBdFj2ltdPd067KvXG8dkN5qPBt36w Date: Mon, 5 Mar 2018 14:52:00 +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; AM4PR0501MB2818; 7:hwD1vc6oZNjs78tkSkdJyJ5KOqcqExHrNP9L5Ewy0aJrStveVs3m6DPHaPyaN9WFS7fDsDvjaALCYAsTbVcJn+mUX85JBpIVgynal1l7QP85UaoQiCPoykSUpKAuhGizfrKajgDd3pR5NA3rIGuZ5oYhSNP0xEP2uCWn+ZSKP0gDnOusu1YDt0qK59Mv0fG1FHRnsrB7y3NhanEFsZGWApamOYFpKdmiUllsotzLZfSsQM1Dyy3nExJSp+4Fp7m5 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7184ea6b-7817-46e6-d025-08d582a8a6e6 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:AM4PR0501MB2818; x-ms-traffictypediagnostic: AM4PR0501MB2818: 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)(93006095)(93001095)(3002001)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:AM4PR0501MB2818; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0501MB2818; x-forefront-prvs: 06022AA85F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(39860400002)(366004)(346002)(376002)(199004)(189003)(229853002)(25786009)(105586002)(53936002)(93886005)(55016002)(2900100001)(86362001)(6116002)(99286004)(9686003)(7696005)(2906002)(8936002)(81166006)(81156014)(8676002)(6436002)(76176011)(66066001)(53546011)(5890100001)(478600001)(97736004)(6506007)(3846002)(106356001)(5250100002)(59450400001)(54906003)(110136005)(305945005)(7736002)(186003)(68736007)(74316002)(14454004)(2950100002)(3280700002)(316002)(5660300001)(26005)(33656002)(3660700001)(102836004)(6246003)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0501MB2818; H:AM4PR0501MB2657.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: nRjpuBO6Q63sF56oV4p6vYOIOnmX0sagmhw/4UKTPphib8TMRiHylIcGqpXgJW5JPIaK9O8iRIWcn4CgF0Drl6sUQqTEU6Cqu/PPmPbzfB+xnV1FokgFvc/rXOVugH3iizmFaxatZQXxJP3cflXOUAsFw+CZuFZwKi0oH3RK7awtuvJFB8UHrgFt3TSudeCVFBXhTxxitYn+4C0iJFR5UL3yptzqBOVR1awe+iGzfOfcITm2s1Q6KUc3iRYyPj5HSSgVpstE5SwhXWEdN0nbSNBYtbsA4gGs7GhzWIkl31KJN/U8BhwGLB7tb/7ahCG/qV5GbA9+oV4i0Xt00KKinQ== 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: 7184ea6b-7817-46e6-d025-08d582a8a6e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2018 14:52:00.8273 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0501MB2818 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 14:52:03 -0000 SEkNCg0KRnJvbTogRmVycnVoIFlpZ2l0LCBTZW50OiBNb25kYXksIE1hcmNoIDUsIDIwMTggMToy NCBQTQ0KPiBPbiAxLzE4LzIwMTggNDozNSBQTSwgTWF0YW4gQXpyYWQgd3JvdGU6DQo+ID4gcnRl X2V0aF9kZXZfZGF0YSBzdHJ1Y3R1cmUgaXMgYWxsb2NhdGVkIHBlciBldGhkZXYgcG9ydCBhbmQg Y2FuIGJlDQo+ID4gdXNlZCB0byBnZXQgYSBkYXRhIG9mIHRoZSBwb3J0IGludGVybmFsbHkuDQo+ ID4NCj4gPiBydGVfZXRoX2Rldl9hdHRhY2hfc2Vjb25kYXJ5IHRyaWVzIHRvIGZpbmQgdGhlIHBv cnQgaWRlbnRpZmllciB1c2luZw0KPiA+IHJ0ZV9ldGhfZGV2X2RhdGEgbmFtZSBmaWVsZCBjb21w YXJpc29uIGFuZCBtYXkgZ2V0IGFuIGlkZW50aWZpZXIgb2YNCj4gPiBpbnZhbGlkIHBvcnQgaW4g Y2FzZSBvZiB0aGlzIHBvcnQgd2FzIHJlbGVhc2VkIGJ5IHRoZSBwcmltYXJ5IHByb2Nlc3MNCj4g PiBiZWNhdXNlIHRoZSBwb3J0IHJlbGVhc2UgQVBJIGRvZXNuJ3QgcmVzZXQgdGhlIHBvcnQgZGF0 YS4NCj4gPg0KPiA+IFNvLCBpdCB3aWxsIGJlIGJldHRlciB0byByZXNldCB0aGUgcG9ydCBkYXRh IGluIHJlbGVhc2UgdGltZSBpbnN0ZWFkDQo+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