From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50056.outbound.protection.outlook.com [40.107.5.56]) by dpdk.org (Postfix) with ESMTP id D9BEE2C18; Wed, 28 Mar 2018 14:07:59 +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=khsiw749/hw/3MRApnZBGI+K/YhrLqBbvwVsGo0troQ=; b=vUhrrzSlkzwDVOkp5HlqcTNSgXCJkVwoBx5vyy945McoQbYfP2BPLZCBo8kFizbpnTbLroCV34KeK2W+8haRcZdVY40JK+smOkbDPa4RWJh9qZWXPUny/Qu9nOp7HvEBcpW/v5rX1f9yUWEk4RcfiFBbXuiRlb50NNSSc9abgkc= Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com (10.172.215.19) by AM4PR0501MB2193.eurprd05.prod.outlook.com (10.165.82.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.10; Wed, 28 Mar 2018 12:07:57 +0000 Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::b109:6e08:774:c81f]) by AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::b109:6e08:774:c81f%2]) with mapi id 15.20.0631.010; Wed, 28 Mar 2018 12:07:57 +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: AQHTtHSBdFj2ltdPd067KvXG8dkN5qPBt36wgAAGs4CAAAER8IAjEFAAgADgnPA= Date: Wed, 28 Mar 2018 12:07:57 +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> <1aac7e4c-6f2a-7f3d-5f7c-e07e48baac6a@intel.com> In-Reply-To: <1aac7e4c-6f2a-7f3d-5f7c-e07e48baac6a@intel.com> 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; AM4PR0501MB2193; 7:G+pPZGmi4h4XiXTzXAd6cwUS1XLbOjsUMzZY8xij8BPbHsoxKZc1GNtZ3pPsxQbJmHhRBRUgkx4fM7d+1/9d6hd2ujPfr9O+vdSDVN32gKqto3zFUg0e3th7nzutOTyyX0vcqwXp6tlhE7KVCH4ldMHU0L8DwiulbHXhRHlSIaP8Yb8/4kjND9VqARHk1dcGem4qWm0QbFy5dsWKB/KofCvPGU//L/bri/k1p4CMIpZsj41PNhPNw/C6SWUIJkCw x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 32e3a5a4-a208-4c4a-1171-08d594a48b47 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM4PR0501MB2193; x-ms-traffictypediagnostic: AM4PR0501MB2193: 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)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:AM4PR0501MB2193; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0501MB2193; x-forefront-prvs: 06259BA5A2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39860400002)(376002)(366004)(39380400002)(199004)(189003)(57704003)(55016002)(53936002)(7736002)(11346002)(316002)(9686003)(2900100001)(5890100001)(81166006)(6246003)(53546011)(6506007)(25786009)(59450400001)(97736004)(4326008)(446003)(8936002)(6306002)(305945005)(106356001)(5250100002)(81156014)(486005)(486005)(6436002)(93886005)(74316002)(8676002)(86362001)(66066001)(476003)(3280700002)(6116002)(2906002)(99286004)(3660700001)(5660300001)(229853002)(68736007)(3846002)(105586002)(966005)(54906003)(33656002)(102836004)(26005)(186003)(478600001)(110136005)(7696005)(14454004)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0501MB2193; H:AM4PR0501MB2657.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: bigLCjyLQbVGCl6AenieSKcqEjyApOCz1S/u4cDJI7lCfFkUOiy3mnfSWkbleydADMTjCsOs1AfUthkuREgWzqYQLuGBXu5R+ICnPpqUXCwp/e5VEJ3iRX62W66x5a7dr7gI8ZfbFjaYrmQpc6rMz9TMgxWYxg83V5s50lL7rYy9PMvSsccSpqF3uXnQuUBcGnT2L8FLW61zfuJ0jHVnWrFAt2skSVSvOOfPHcFEY24atCSROIKC97+vhAGBG9RNPcDpG9437u4HoaSkJGL/Hl2TVpAvEyLa/EFRikuSyAX7q7TNgBAGILrq3TrXwTHVI6sBzckBMznRgWG+VO2KXw== 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: 32e3a5a4-a208-4c4a-1171-08d594a48b47 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2018 12:07:57.3339 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0501MB2193 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: Wed, 28 Mar 2018 12:08:00 -0000 SGkgRmVycnVoDQoNCj4gRnJvbTogRmVycnVoIFlpZ2l0LCBXZWRuZXNkYXksIE1hcmNoIDI4LCAy MDE4IDE6MzggQU0NCj4gT24gMy81LzIwMTggMzoxMiBQTSwgTWF0YW4gQXpyYWQgd3JvdGU6DQo+ ID4gSGkgRmVycnVoDQo+ID4NCj4gPiBGcm9tOiBGZXJydWggWWlnaXQsIFNlbnQ6IE1vbmRheSwg TWFyY2ggNSwgMjAxOCA1OjA3IFBNDQo+ID4+IE9uIDMvNS8yMDE4IDI6NTIgUE0sIE1hdGFuIEF6 cmFkIHdyb3RlOg0KPiA+Pj4gSEkNCj4gPj4+DQo+ID4+PiBGcm9tOiBGZXJydWggWWlnaXQsIFNl bnQ6IE1vbmRheSwgTWFyY2ggNSwgMjAxOCAxOjI0IFBNDQo+ID4+Pj4gT24gMS8xOC8yMDE4IDQ6 MzUgUE0sIE1hdGFuIEF6cmFkIHdyb3RlOg0KPiA+Pj4+PiBydGVfZXRoX2Rldl9kYXRhIHN0cnVj dHVyZSBpcyBhbGxvY2F0ZWQgcGVyIGV0aGRldiBwb3J0IGFuZCBjYW4gYmUNCj4gPj4+Pj4gdXNl ZCB0byBnZXQgYSBkYXRhIG9mIHRoZSBwb3J0IGludGVybmFsbHkuDQo+ID4+Pj4+D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