From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0071.outbound.protection.outlook.com [104.47.1.71]) by dpdk.org (Postfix) with ESMTP id 4CA2A1B198 for ; Thu, 18 Jan 2018 19:02:30 +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=SH4Pf0eCVmyWpFyg7tYtiI+8d+p8vsYFcG3Pf/8RdQE=; b=kxrzkyrhD9HvhCKT5/jS9RzSSIMzDjNlWRjzj2OLCrLKW8zYaU3me1yUeFi4Fy941BRXYcJO9tPYonTWyTBUIyDIaZeO9PjqHW6OvL4UValzOaihDIZAF/Y9Wpe3UwYMmvex3BOKtRGpPMyX1iKWE+mz7AVWDZ8tq8TBRebit6A= Received: from AM6PR0502MB3797.eurprd05.prod.outlook.com (52.133.21.26) by AM6PR0502MB3959.eurprd05.prod.outlook.com (52.133.30.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 18 Jan 2018 18:02:29 +0000 Received: from AM6PR0502MB3797.eurprd05.prod.outlook.com ([fe80::6c28:c6b3:de94:a733]) by AM6PR0502MB3797.eurprd05.prod.outlook.com ([fe80::6c28:c6b3:de94:a733%13]) with mapi id 15.20.0428.014; Thu, 18 Jan 2018 18:02:29 +0000 From: Matan Azrad To: Ferruh Yigit , Adrien Mazarguil , Gaetan Rivet CC: Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [PATCH v6 1/6] ethdev: add devop to check removal status Thread-Index: AQHTkIBbt6zcn4UeeEG4zFAx6+cBiaN54JFw Date: Thu, 18 Jan 2018 18:02:28 +0000 Message-ID: References: <1516220357-13013-1-git-send-email-matan@mellanox.com> <1516274834-19755-1-git-send-email-matan@mellanox.com> <1516274834-19755-2-git-send-email-matan@mellanox.com> <2ffac5e9-6be5-0c82-18c4-8b72710630ae@intel.com> In-Reply-To: <2ffac5e9-6be5-0c82-18c4-8b72710630ae@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; AM6PR0502MB3959; 6:avh2s9qroNt46xcw3mx3r2nivsawLaNpFVeyXMI97gp27uTAs4Z95G2xZPK2EUmlPY7MNitQHqYyTATMcHlZXjiX3ovPNTlg5Rqt8VP5YoME94C9uzj8qUqj88NvUKuVHHvhs4HxjS1dTV6k2t29ElvrfZmRlxOvI79HXJo2Vwh9meBbgQcM86Iww4jZBdOuc69YXI6X7+td1Y3J8BevegBBiJpCxEdcCZcFsLwlYWm/K3oCTf3UwrQ6CrkYO0Fwfs+S5CC36bbgDY6pAwqW0VH8pdGfWMuVR+CDqC/34rcBKbyLVhAs1+if72a+fBds6oEmk/WHkBdl0FAds8TfgF81nqkGblX56CQNB11qLjtemb4JITCUo7SV/BZjlJPX; 5:URz1toODOyUG/GoZcqyvQ9rAqbFU4rvpeOP33O73F5TLiXatSaOhjb25WN6R/BFOC6JlIsHuXfj0o4foYJUe7Q6jmYxvgZHn5+jmks2mO8KkvPzFnwMA9/6bBtQAsTVEWdbz3Ceahftrgji0nmOVIaPukvVAqOddLn0fUWR+XRU=; 24:X5WLpXq++Uv/JsC2DHjz43AhjkaIHGB5QSX8c/Im0/Llz26szuFLPw3pUk0eUZ5cMJSFUTwsiEZoP4fqMNOOrdEpA0mMwVMCAthdvt1wkzg=; 7:GBdGXI/D3o/q5zLqaW+76iImgsoMiarVcQ0dzUqs+bkWvqim1zexL0kYRDhKeEYaUEbulzlKaBTHn0B2Y/zIz0mPasqiqj1FybufjPL0oDkjQf9uHJPncn5m8mP0O36YOvOHYoFFE9EBDDKEa79mX0Qw7nOUtcqnVbb4TeJNhZNDrChkhGt3XdZ88R9P9MvShuJqoz/LiQf5NooWSDSThm2Heu1Zhf54wFZamuHfLZCwfDE336+L/yFEoootYDk9 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: ff1c1f8b-9a78-4f9e-81c5-08d55e9da39a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(48565401081)(2017052603307)(7153060)(7193020); SRVR:AM6PR0502MB3959; x-ms-traffictypediagnostic: AM6PR0502MB3959: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(10201501046)(3231023)(944501161)(3002001)(93006095)(93001095)(6055026)(6041268)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:AM6PR0502MB3959; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM6PR0502MB3959; x-forefront-prvs: 05568D1FF7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(396003)(346002)(376002)(366004)(189003)(199004)(5250100002)(2906002)(81166006)(81156014)(99286004)(3660700001)(66066001)(8936002)(6116002)(59450400001)(7696005)(14454004)(33656002)(76176011)(102836004)(3846002)(6506007)(53546011)(478600001)(93886005)(26005)(68736007)(316002)(86362001)(54906003)(8676002)(97736004)(5890100001)(5660300001)(305945005)(74316002)(3280700002)(110136005)(6246003)(106356001)(4326008)(2900100001)(25786009)(9686003)(2950100002)(53936002)(105586002)(6436002)(229853002)(7736002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0502MB3959; H:AM6PR0502MB3797.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: jz/pIFMUrJVAC28u+pcfScdC6CFM6ALd2MdBfq+useldAW8ELJf/L/mUArT8RprgYGq/3K8H6JwWHSme1CyPxg== 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: ff1c1f8b-9a78-4f9e-81c5-08d55e9da39a X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2018 18:02:28.9075 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0502MB3959 Subject: Re: [dpdk-dev] [PATCH v6 1/6] ethdev: add devop to check removal status 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: Thu, 18 Jan 2018 18:02:30 -0000 SGkgRmVycnVoDQoNCkZyb206IEZlcnJ1aCBZaWdpdCwgVGh1cnNkYXksIEphbnVhcnkgMTgsIDIw MTggNzoxOCBQTQ0KPiBPbiAxLzE4LzIwMTggMTE6MjcgQU0sIE1hdGFuIEF6cmFkIHdyb3RlOg0K PiA+IFRoZXJlIGlzIHRpbWUgYmV0d2VlbiB0aGUgcGh5c2ljYWwgcmVtb3ZhbCBvZiB0aGUgZGV2 aWNlIHVudGlsIFBNRHMNCj4gPiBnZXQgYSBSTVYgaW50ZXJydXB0LiBBdCB0aGlzIHRpbWUgRFBE SyBQTURzIGFuZCBhcHBsaWNhdGlvbnMgc3RpbGwNCj4gPiBkb24ndCBrbm93IGFib3V0IHRoZSBy ZW1vdmFsLg0KPiA+D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