From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F23BEA04B6; Thu, 17 Sep 2020 11:18:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF5BA1D5BE; Thu, 17 Sep 2020 11:18:27 +0200 (CEST) Received: from huawei.com (szxga01-in.huawei.com [45.249.212.187]) by dpdk.org (Postfix) with ESMTP id D903E1D5BD for ; Thu, 17 Sep 2020 11:18:25 +0200 (CEST) Received: from DGGEMM406-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id 56118F8C20AFC35E56DF; Thu, 17 Sep 2020 17:18:24 +0800 (CST) Received: from DGGEMM421-HUB.china.huawei.com (10.1.198.38) by DGGEMM406-HUB.china.huawei.com (10.3.20.214) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 17 Sep 2020 17:18:24 +0800 Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.42]) by dggemm421-hub.china.huawei.com ([10.1.198.38]) with mapi id 14.03.0487.000; Thu, 17 Sep 2020 17:18:18 +0800 From: wangyunjian To: Ferruh Yigit , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Lilijun (Jerry)" , xudingke Thread-Topic: [dpdk-dev] [PATCH] net/tap: release port upon close Thread-Index: AQHWfTgAdseuvXFThkuJGNG/o73LEqlpXzOAgAGZczCAAAhmgIABqQLQ Date: Thu, 17 Sep 2020 09:18:18 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60DA50EE3@DGGEMM533-MBX.china.huawei.com> References: <9a94f272bc7c1e5650295ddf3e02fb19b15e7951.1598596042.git.wangyunjian@huawei.com> <34EFBCA9F01B0748BEB6B629CE643AE60DA4D4A1@DGGEMM533-MBX.china.huawei.com> <5b26d986-ffc3-9bac-ed4d-cbc1f0dd342b@intel.com> In-Reply-To: <5b26d986-ffc3-9bac-ed4d-cbc1f0dd342b@intel.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.185.168] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH] net/tap: release port upon close 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBGZXJydWggWWlnaXQgW21haWx0 bzpmZXJydWgueWlnaXRAaW50ZWwuY29tXQ0KPiBTZW50OiBXZWRuZXNkYXksIFNlcHRlbWJlciAx NiwgMjAyMCAxMTo0OCBQTQ0KPiBUbzogd2FuZ3l1bmppYW4gPHdhbmd5dW5qaWFuQGh1YXdlaS5j b20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IHRob21hc0Btb25qYWxvbi5uZXQ7IExpbGlqdW4gKEpl cnJ5KSA8amVycnkubGlsaWp1bkBodWF3ZWkuY29tPjsgeHVkaW5na2UNCj4gPHh1ZGluZ2tlQGh1 YXdlaS5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSF0gbmV0L3RhcDogcmVs ZWFzZSBwb3J0IHVwb24gY2xvc2UNCj4gDQo+IE9uIDkvMTYvMjAyMCA4OjIwIEFNLCB3YW5neXVu amlhbiB3cm90ZToNCj4gPj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPj4gRnJvbTog RmVycnVoIFlpZ2l0IFttYWlsdG86ZmVycnVoLnlpZ2l0QGludGVsLmNvbV0NCj4gPj4gU2VudDog VHVlc2RheSwgU2VwdGVtYmVyIDE1LCAyMDIwIDEwOjUzIFBNDQo+ID4+IFRvOiB3YW5neXVuaml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