From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 12E37A0547; Fri, 30 Jul 2021 14:30:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD07440042; Fri, 30 Jul 2021 14:30:49 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 6FDD54003F for ; Fri, 30 Jul 2021 14:30:48 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0BA795C0095; Fri, 30 Jul 2021 08:30:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 30 Jul 2021 08:30:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= XlcZgqNmsEG+24x2pEg0FopR4H59YN6UFZCSjbballQ=; b=TU+CHqCRKKNxmN+3 iXtQU9tTfE/QaZ7bYxcDpfSaBF6Co94LRfssgscY4V3Z2TrvrfM8pKWfXY+HIyKf s02cFoSXe7+274s3MV9K+uPPUB/nAEpmXzQzdd4CjRqRwsmqtyHd+eqDuFm4aFhb DVhMyts/RKcU+L79IhuHpMJn8PZ0W2IchtnJPQveFoNUdh6udLqceIzBYEjABpn/ EtGTQil/LzXVW5dMfIUzjvEaIf8x+y4h6lRZ8cG86K8mMWvEUYCFu0hdYY0PENPd njHtPPTyZ74C3lYvoNW/ym9kCGN9kCX50NBFnvTs+bJKcPJ0tj1OdZjcYRKXu8U/ w/FA7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=XlcZgqNmsEG+24x2pEg0FopR4H59YN6UFZCSjbbal lQ=; b=aHolueKLOm5334k5thR8TyVVFuPtI0zu1lZm4kTUfLSHIrbl/Iq0IJBO5 ZZrbnZYbgh3Jw3Sp5iw6P4D5opb4eGnda+Hhq0U5gEwym6eqEZwIlSCUN8nQEO0V DcW4a0O7BTdhJfsIBGbV+Z2O8V1qcQmvCqqy1ITFmdvYxFBN3u+1iegAsdrPMD7d IKoTzYmb24vKrWt2oklR8Cyj5j4QNOCvSm8Cl/QPLN8MIeVUedCmIdjpriwBJcME i+3RkZfmKEZpo9jfODR49OzK1SNHqQQe5av2ty+2lvQuDRexFVZptTXrwtU28D+l rCKofoBMtwZ8J3EEVfC1LgR+HG5Tw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrheehgdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 30 Jul 2021 08:30:46 -0400 (EDT) From: Thomas Monjalon To: "Gributs, Paulis" Cc: "Yigit, Ferruh" , dev@dpdk.org, "Li, Xiaoyun" Date: Fri, 30 Jul 2021 14:30:45 +0200 Message-ID: <11464587.amWTtSoWXQ@thomas> In-Reply-To: References: <20210728134848.353258-1-paulis.gributs@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix vm_hotplug after removal of rte_eth_devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > > After removing rte_eth_devices from testpmd the vm_hotplug no longer > > recovered after removal of a device, this patch fixes this issue. > > > > Fixes: 0a0821bcf312 ("app/testpmd: remove most uses of internal ethdev array") > > > > Signed-off-by: Paulis Gributs > > --- > > app/test-pmd/testpmd.c | 8 +++++--- > > 1 file changed, 5 insertions(+), 3 deletions(-) > > Acked-by: Xiaoyun Li Adding a bit of explanation: "because the port was closed before querying it." About the title, vm_hotplug is nothing in testpmd, and the problem is not limited to VMs. Applied with rewording.