From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20082.outbound.protection.outlook.com [40.107.2.82]) by dpdk.org (Postfix) with ESMTP id 27FCE1B606 for ; Wed, 27 Jun 2018 08:05:37 +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:X-MS-Exchange-SenderADCheck; bh=InMMFBKMcfN9CZwBbYyMCimqMMLdlnoHDdc9gxqfMhc=; b=njL8O3F23U49GSOILJc2iFkDvrACt5hfaiOPBmLRyWvjxxrfnuju6rWi2EAVHjYGoQoOBk8W9ic1jp0oMCPG2R+F9xEeM5gdRri8sibfNqKNjnVbYxCTcJSRWNKi+2jXcRDCR1wrAdF+impk4xKmfeEDOvz9Ji+KaL1aZ/ae0pc= Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com (10.168.137.20) by VI1PR0501MB2176.eurprd05.prod.outlook.com (10.169.134.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.23; Wed, 27 Jun 2018 06:05:33 +0000 Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::9dd0:9bdb:fd59:b615]) by VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::9dd0:9bdb:fd59:b615%7]) with mapi id 15.20.0884.024; Wed, 27 Jun 2018 06:05:33 +0000 From: Matan Azrad To: "Guo, Jia" , "stephen@networkplumber.org" , "bruce.richardson@intel.com" , "ferruh.yigit@intel.com" , "konstantin.ananyev@intel.com" , "gaetan.rivet@6wind.com" , "jingjing.wu@intel.com" , Thomas Monjalon , Mordechay Haimovsky , "harry.van.haaren@intel.com" , "qi.z.zhang@intel.com" , "shaopeng.he@intel.com" , "bernard.iremonger@intel.com" CC: "jblunck@infradead.org" , "shreyansh.jain@nxp.com" , "dev@dpdk.org" , "helin.zhang@intel.com" Thread-Topic: [PATCH V3 4/4] app/testpmd: show example to handle hot unplug Thread-Index: AQHUDWPMCmWzcB85SEKRS7u483VQVaRywyCAgAC3uYCAAB5soA== Date: Wed, 27 Jun 2018 06:05:33 +0000 Message-ID: References: <1498711073-42917-1-git-send-email-jia.guo@intel.com> <1530027372-24233-1-git-send-email-jia.guo@intel.com> <1530027372-24233-4-git-send-email-jia.guo@intel.com> <94e4601e-0f20-2693-5672-64ede044c104@intel.com> In-Reply-To: <94e4601e-0f20-2693-5672-64ede044c104@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; VI1PR0501MB2176; 7:AYemqVvgY2PkPxUurMPtEYsvP8odc6JLSIzH92GvVxAPIAcA6bbs8ZwHz7HAQYE8LcnTuAtmh0K3dFHtBpXAiO/bi8784qudSh0zGWeiU2fpt6gDRuYV6ZGsLD8/GLbAl7HvoanAhJ3MeyIOuF1uhamxkfI5WATKOPl5Qe51J7LX7erw0aDA41wWGYJ/2nbmeMt70Te/W4ZNLNrSV22tNP9h4iuA1G+S3NknK+FSy62ouxHu87suXoYaE4EQU05y x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 6dd9fda5-3e72-4b33-4e7b-08d5dbf3fe53 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2176; x-ms-traffictypediagnostic: VI1PR0501MB2176: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:VI1PR0501MB2176; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2176; x-forefront-prvs: 0716E70AB6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(376002)(366004)(396003)(189003)(199004)(51444003)(7736002)(256004)(14444005)(5024004)(5250100002)(2501003)(74316002)(81156014)(8936002)(81166006)(8676002)(54906003)(3846002)(6116002)(305945005)(446003)(99286004)(478600001)(110136005)(6506007)(2906002)(11346002)(33656002)(14454004)(186003)(102836004)(26005)(2900100001)(53546011)(106356001)(2201001)(6246003)(4326008)(105586002)(66066001)(316002)(68736007)(7696005)(76176011)(25786009)(229853002)(86362001)(55016002)(53936002)(97736004)(476003)(486006)(7416002)(5660300001)(93886005)(6436002)(9686003)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2176; H:VI1PR0501MB2608.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: iU0d86XYU7JPGVLf9wNhnyZdwdlfEUyKiSH7SobOLtsGvZPu7Gjt7y2pTg6CoHF7Cw6W3BKsmCXIFdwWrpwkiqwl28l32zWdPUOd/OTZ5SMLjX0ytIJddZJrkNGGhdz/iuk32YwSBRSokEnNAtf2N/7F9nRUpipnS1Owpx4Kn8ImLq05cMC3gLGrrVBsDW6Ia+41CVMqThrbX3CNRZAl0RpbiuqlKV3qVKnJ5iCZNwaHdoGvtMnp5vOYQojeMqK8VCNBKYRw7nWup11IokfyGQncIT1t2waijbnB7CP5LWjSd/cGZpaeHQ22+yxVK+kHcYLxnjmY9hna+jyYigSoi1aL3lPDxgMf+w1LWeOjfhY= 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: 6dd9fda5-3e72-4b33-4e7b-08d5dbf3fe53 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2018 06:05:33.2107 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2176 Subject: Re: [dpdk-dev] [PATCH V3 4/4] app/testpmd: show example to handle hot unplug 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, 27 Jun 2018 06:05:37 -0000 SGkgR3VvDQoNCkZyb206IEd1bywgSmlhDQo+IFNlbnQ6IFdlZG5lc2RheSwgSnVuZSAyNywgMjAx OCA2OjU2IEFNDQo+IFRvOiBNYXRhbiBBenJhZCA8bWF0YW5AbWVsbGFub3guY29tPjsgc3RlcGhl bkBuZXR3b3JrcGx1bWJlci5vcmc7DQo+IGJydWNlLnJpY2hhcmRzb25AaW50ZWwuY29tOyBmZXJy dWgueWlnaXRAaW50ZWwuY29tOw0KPiBrb25zdGFudGluLmFuYW55ZXZAaW50ZWwuY29tOyBnYWV0 YW4ucml2ZXRANndpbmQuY29tOw0KPiBqaW5namluZy53dUBpbnRlbC5jb207IFRob21hcyBNb25q YWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47DQo+IE1vcmRlY2hheSBIYWltb3Zza3kgPG1vdGlo QG1lbGxh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