From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50082.outbound.protection.outlook.com [40.107.5.82]) by dpdk.org (Postfix) with ESMTP id DD29C239 for ; Thu, 8 Nov 2018 08:28:55 +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:X-MS-Exchange-SenderADCheck; bh=8p8sERo7oDx5XvheWTiWdteQM941QMcXMU5hEXLnM0U=; b=xmyDPAwEIzm/fTa9Ib4E8Djisv5fYCCfw2YaNsRN2IVfEMQBWX1FKWArtBiVPvlRHCk1LOziw9YWFxXLsYNuD96c9OL4aodU1azrLQNTU7OMQe+7Q2oIFoUJhDhum7usbcwV135bZBrrVbRyH0BnK/OCxT/yMKpwyjbC+/ysQtY= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.41.11) by AM0PR0502MB3954.eurprd05.prod.outlook.com (52.133.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Thu, 8 Nov 2018 07:28:54 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b158:af20:5026:3d25]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b158:af20:5026:3d25%2]) with mapi id 15.20.1294.034; Thu, 8 Nov 2018 07:28:53 +0000 From: Matan Azrad To: "Ananyev, Konstantin" , "Guo, Jia" , "Burakov, Anatoly" , Thomas Monjalon , "Iremonger, Bernard" , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "Yigit, Ferruh" , "dev@dpdk.org" , "Zhang, Helin" , "He, Shaopeng" Thread-Topic: [PATCH 3/3] app/testpmd: fix callback issue for hot-unplug Thread-Index: AQHUdZZ8h+lHSEr6OUWDDdkfR7wInqVCSJ3ggAGjsICAADwdAIABVAXw Date: Thu, 8 Nov 2018 07:28:53 +0000 Message-ID: References: <1541484436-91320-1-git-send-email-jia.guo@intel.com> <1541484436-91320-4-git-send-email-jia.guo@intel.com> <2601191342CEEE43887BDE71AB9772580103069B86@irsmsx105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB9772580103069B86@irsmsx105.ger.corp.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; AM0PR0502MB3954; 6:69I88eGDTftj7C46kDrjmd740xp6VNc8ZYfdi9rjqnclIsmY+l6+fjmiVDYfdZhf0/NBulFPMJM0fcnHwIunEu/WMBMbWIkEj72lGIr0Cg036OKAfdIX0XPR3QKZ3Ag8DlN8AmB8qlWg05FeZd5lBUmU5XGosb2+iqA33pFXMB+qk1QFfvB3YcXm5sIXgVXGqFaRquujqBXXmR+ZADpTKkYm8Hc3Q0gdhbXGNL677kqvIe19lrXmdKFAaOL1Ijh+rhI9kBLToGv+JDsUUARkk3yVMlRwSrepT9VjWNiMUmagjCg5RmlEaCjVd8g7ysf3fLVG0A65hyfSIoJAL7Y91w23/lIuVi9fc420IgqsbA1GEHIlAflTcwWGqRu+KsI6U0nWU+VehWxKEd0zW61yPzw+jXP+M+vu45U3Ic9sc2LvKlNoewo02ND+tSOUqI/GwZv4w341I5tyReHgtn+9Gw==; 5:IGg+0U9d4SdKSt+EiZDT50VCWjVfujpANvDVONbtcIpdgbyejxOSPwn0JYbc+MJIYQwIDEOdvRwUfkDPHpMUkZpUnDyEUs4iszAQc6WbQ/l96XjzvXQMRbMRupkYaC/ruOyM7gNNU7zoWdqM6JkJXutfFbtljB/nTG94bJsZUao=; 7:ocBj2rfdaM/y27+XL822k9xRfRZHFsx4tOFykRfGioPWz37NLgY/5oixqnUqPW8YwBEPx3WPEYUPwuR3m33b7tfL/HDwpacsaCD6bNKM4rNbPXz+prdul6oaLUYZ47eXv/J/INXJeB53GnvLzdH/IQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: d081ecc9-c5d8-4475-4753-08d6454bd5ef x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR0502MB3954; x-ms-traffictypediagnostic: AM0PR0502MB3954: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231382)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:AM0PR0502MB3954; BCL:0; PCL:0; RULEID:; SRVR:AM0PR0502MB3954; x-forefront-prvs: 0850800A29 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(346002)(396003)(366004)(376002)(51444003)(189003)(199004)(13464003)(7696005)(99286004)(33656002)(446003)(11346002)(76176011)(2900100001)(93886005)(54906003)(229853002)(110136005)(97736004)(14454004)(105586002)(486006)(186003)(102836004)(26005)(6506007)(476003)(53546011)(316002)(106356001)(55016002)(9686003)(7416002)(53936002)(305945005)(7736002)(74316002)(6246003)(2906002)(478600001)(86362001)(71200400001)(71190400001)(575784001)(68736007)(6436002)(81156014)(5660300001)(256004)(8676002)(66066001)(8936002)(81166006)(25786009)(4326008)(14444005)(3846002)(6116002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3954; H:AM0PR0502MB4019.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: YREzqxk9NX7gyqyCMCqXEoj3kzCHW0d0ODwm1Hzx2YdvypkzE5lQQsIKDACvNCDbHCJhxuloZ4grAMP0u54+zzQvB+/DUZXRYSp8rDCu6E8RGNrJZTox0RqIdvF7clWvjcwPPtomlXRDZvGwKzdNqMlQUTH4FQXzqI/prDWGWjimjlJ3Gy66XVghaqzuVHgkpWSOialZIb8BIpZEAO3RmrfhCX3K2jJmqOSre7C0zzF87GGXJwILM7gmI4qv7oZiRHL/Ov7PhbWLW4k3t4/QdhXsi2i6Y1Ygy1GQ1IOhsuS999UGAVP2DKHJS8C2jkQ1hzC++5nS1AuKya/989ABC3QEcb3MY116iN628vn0oi0= 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: d081ecc9-c5d8-4475-4753-08d6454bd5ef X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2018 07:28:53.3015 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3954 Subject: Re: [dpdk-dev] [PATCH 3/3] app/testpmd: fix callback issue for 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: Thu, 08 Nov 2018 07:28:56 -0000 DQoNCkZyb206IEFuYW55ZXYsIEtvbnN0YW50aW4NCj4gPiAtLS0tLU9yaWdpbmFsIE1lc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