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 A99F7A0542; Thu, 13 Feb 2020 16:52:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 807A61C037; Thu, 13 Feb 2020 16:52:34 +0100 (CET) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id B488B1C02A for ; Thu, 13 Feb 2020 16:52:32 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 46AF163D; Thu, 13 Feb 2020 10:52:30 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 13 Feb 2020 10:52:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=uCzFpx0DQeJNkt4W/K8xgdV L8G818fSUVC81Ph5Gk7w=; b=Qoc1n6BvBGizfnRDrbiKJHKsn1TJlMOEMrvz+z5 xYhAt0ZFec9CJ+jpYnc2q2R6mGtltYmuahKVRAwkRC7Jr1EtVF1dCrNX0VGoty0v Qo7CXDHqh4VLCZ1FKxz9b2kT5IWmFZA8crGoEr8Pa1aDsxuZl2zbTz+IoLZEg3KR VgsU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=uCzFpx0DQeJNkt4W/ K8xgdVL8G818fSUVC81Ph5Gk7w=; b=aqM0zD/scVkRUcW9aWAs3LMQectf4Dh1e LnpAv5hQWSYnwX7M7z525Scqrz5ysNgYOwwUprUowXN1AuNz0tR7feLBGeGkhooC TukQCD9E+dRlLKYvKtyO6IMZtXGN9wnmQuBwOX/pjS9qzbRHepNWO57LWC84FCx8 uf7tQUPzY9Daj/+7clbp/6uCA5iyeg5art89oktE0rxEHYV8Ad9a+EwYnAfMDEHb z4LRXeIwZrR9Ng9RuM1V+pxXwVVHcIPjTqwMzObTkOC0MZTtDAWfZJZ39PaJ//Dt AV/HTS64q5srfBSP8zh2uIbJEJ0dBQv1H0pSVLmTMV7VwdHSiCCAw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieekgdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhn jhgrlhhonhdrnhgvtheqnecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrd dufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EF423280065; Thu, 13 Feb 2020 10:52:28 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: matan@mellanox.com, ferruh.yigit@intel.com Date: Thu, 13 Feb 2020 16:52:24 +0100 Message-Id: <20200213155226.1024939-1-thomas@monjalon.net> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/2] app/testpmd: fix detach 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" This fix is proposed as an alternative to https://patches.dpdk.org/patch/65088/ The benefit is to fix a race condition in addition. Thomas Monjalon (2): app/testpmd: rename function for detaching by devargs app/testpmd: fix hot-unplug detaching app/test-pmd/cmdline.c | 2 +- app/test-pmd/testpmd.c | 51 +++++++++++++++++++++++++----------------- app/test-pmd/testpmd.h | 2 +- 3 files changed, 32 insertions(+), 23 deletions(-) -- 2.25.0