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 93B34A0C59; Fri, 30 Jul 2021 04:17:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 533B24003E; Fri, 30 Jul 2021 04:17:57 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id C9B324003C for ; Fri, 30 Jul 2021 04:17:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10060"; a="276791453" X-IronPort-AV: E=Sophos;i="5.84,280,1620716400"; d="scan'208";a="276791453" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 19:17:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,280,1620716400"; d="scan'208";a="435718875" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga002.jf.intel.com with ESMTP; 29 Jul 2021 19:17:51 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 29 Jul 2021 19:17:50 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Thu, 29 Jul 2021 19:17:50 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 29 Jul 2021 19:17:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fwCvGPGrHDzOhxG0CzfZUoIzNWHl8QMIHMRoDi8FAltbq0tVTb3Jdr5JVSeAZFglkmUPfjqhrC9eyT4agARc3ncQxpEBcHaTI0h9+caFSBWMceq9R4gzhzDCO86bYXT9WwR5qNRG9yCTJYDYHc6mjISwfg8bLhttwNAVH9VoyRkf7h2akhkIFDX7AA0R2k0ez3U/LDBqMLJTQ/rbS9QJhHwQqGM5vWpBTnc/2OY7X2NhdYbdbpdHGyUC3EB7qXI463F0i5B91qwYtT2O9tUS6zdsMQ9p7PQzfJoPyGMYvQNBNJOB8NMb4Wivpic7bQtq13Xh2gpBcXgoEG5NFFofBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YUq2iiTDCrQFIihfwZLKWFP9pCn3Y5T61DAKrNGzyL4=; b=ZzM3ttbcjL3WTHPWmKoxZMMV9vWOWLZBUJxm80AJE3CSnAJlxXeeJ6cyntRkWmU8Fi8bFdAG2k4x95nF5nJhATqqFLfKW51hILp+1LyAwba3+ddhb4eF4wwLuXtJkiv9ljxH8Mybh5oUuHgdv+ur/LyEyDCmhLf4whatcXBEa/MAkOhe0ccDUPh+u2bcQAm0zc6DPL+rrH96ZP0evG0AWj6sWbqWmCL0GJm0rW9hGnhplW6tKIzoZxk3RQm/X8pBQibpCgvLNq0JOMAVGE5TqDpcBUdRmdfdyX5rdVbaj6cFeeVKpg1+1URRrDcRQH6M9f/xZelcCDsAi+tgit+v4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YUq2iiTDCrQFIihfwZLKWFP9pCn3Y5T61DAKrNGzyL4=; b=fKSVtGOsDb7Mxg4jhQ4uSs6xh59NfGzUSBSwiyUblS52X1miSMQGLj6pPH4sRjGoQTcqEoVJEN/HcgKkpuuViHkPsgVy+7XG9k7C+NWOmso2N3B+OPLgf4P6nfrnggROOLKRLw38cn11o6FDkDAW2/6VEUudGO8/LZUpQbIHjxA= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB3772.namprd11.prod.outlook.com (2603:10b6:5:143::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.29; Fri, 30 Jul 2021 02:17:50 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::87d:1217:a7cc:dd72]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::87d:1217:a7cc:dd72%8]) with mapi id 15.20.4373.025; Fri, 30 Jul 2021 02:17:50 +0000 From: "Li, Xiaoyun" To: "Gributs, Paulis" , "Yigit, Ferruh" CC: "dev@dpdk.org" , "thomas@monjalon.net" Thread-Topic: [PATCH] app/testpmd: fix vm_hotplug after removal of rte_eth_devices Thread-Index: AQHXg7df74CI1HMqjEC4vnt9iDPlxatayotQ Date: Fri, 30 Jul 2021 02:17:50 +0000 Message-ID: References: <20210728134848.353258-1-paulis.gributs@intel.com> In-Reply-To: <20210728134848.353258-1-paulis.gributs@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f82c8546-6dfc-4cf5-3d88-08d953003ad8 x-ms-traffictypediagnostic: DM6PR11MB3772: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:983; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: y77OID+K1pwHbkKDOEfQjrf3L5sheWUG2ksGWhXPPlaDxwMhQ5ehlpkGcvfMuCMTlmkrWmbU/LGAkdIYmawEy68mqF5Njml2Y5vcn3RIMaAweX9UTMPcA4gKA08b4Wbq8tFNqOsAR1dmsBsZiJTkraFaROrdQhRXbAN3YnTsgS7lQF/OflaNsQHZHRiJmyDCb37IEyPCuogs9L9xmvu1hsB+Qnso861/r4M7SF5aqNiVQGBjD86hFLwndrWiSkeAguGDFjD4+hmKuHDuj9xGdtZSuhMQfIUEXbF14fpksH2lHcxPncgZINjyvJgaYaKE+iKjdNb83sjCPMasoPzti/+s0jhNp3JmEQIRWNveXHJ8fyYk71r+GD5yf0yq8Yhe80gAC8sCbWL17VwoZ7qy+0zYjXS1KRdaCTbbDADgcLiSiYg638JycupVbZFKJgz+3AAu1+cvlTr1s0YIKC5373iQqHjAahrlpCchw5o/lAlpaGxa+p4zWHutAkWesz76i9oV1Pgdgm/9Xi2xE5hYbVbYTHMYUJQO3pFdse8FzEu7IlXlLFPZShGhrDq0HiDglcfnjnwunwyy3DKhcHobPprKzqZNy5fwSqPEgbaE6paVAkn6HqGz/9reLLI8S7/owLULh1xSNzIepHhznVMZzRn1s5tEOBd8bI0SKq5QKGBVrKv9DM/sd7PUWbt+E0ZAUazvfvSiyjNjTmFwx4yvzw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(39860400002)(376002)(346002)(366004)(54906003)(66446008)(6636002)(53546011)(26005)(4744005)(6506007)(110136005)(8676002)(4326008)(316002)(66946007)(52536014)(478600001)(66476007)(64756008)(86362001)(66556008)(8936002)(5660300002)(33656002)(186003)(7696005)(76116006)(2906002)(83380400001)(9686003)(38070700005)(122000001)(55016002)(38100700002)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gQumUDNkwLcUNJ/HBppEskr8lvEGV5ehOqSR/JeVzCH1TcllVaJ5OP5qLfrf?= =?us-ascii?Q?EN1NxRsoo2mhSXqJlV9gbITUWFr/pwn+q38KARsCUf8qrB/ZP9GEMe2DjqkD?= =?us-ascii?Q?VwY7npGRQiZX1ArZeKCc8lbko26JOCfeKPBlBIkX01boxxOSJRcBEBjBqcR+?= =?us-ascii?Q?ttqB6pfN5/f8If5AZtWwjDthn1cwo7/0ljmY4XGB9W5I7TSnUWRr0mjC1abE?= =?us-ascii?Q?1T9vfTm9LrQYPgxV1uuhBFnVZtcJ9gO1QQTbDJFR0rOmbMiLa96kXtSDVAXc?= =?us-ascii?Q?FBBIEujkY8NTEtr6jn9zkw1ZrNumc8HEvgG2BR48f0I57rlCCvaGzGKJxELy?= =?us-ascii?Q?zbRkNvUnq1VT/kDwxGVTE6WQ3vV2K6vi9wXznZNnuptf36R31lQaBGT82kyF?= =?us-ascii?Q?lVd9ZqE/D5sdqJp1ymgTqN6O6FOER6pvrZ3D9nmzbCizVp5xLaGD9aWglVR9?= =?us-ascii?Q?9GjaQDxTbnWE1eYeuSBnlv6HRtSN+Er8ItLAt12YXzYuQiS8IbM7BbrUWAav?= =?us-ascii?Q?KqGJdpI/Of2u9Kh/d0GQmunKtcYyxbpc3gj10S7SnL+AldaFJdHPiaxauhag?= =?us-ascii?Q?uLMgS2+sZNXvYC4tnQrTL5SKWC5QpYx3y4iUOsFHD9ChwCYUYgsSFVejv/7E?= =?us-ascii?Q?xxl1D3r0w+4FQspueCnLpAUj8+evqI1a5NdyoHHC0VQ/Oe+vfw+/oz7HcyC5?= =?us-ascii?Q?W1KrNgYweq6Ev7K+uYjHbOQhUdUV12RVNv0hhSspSqQV37xmh8sqroDwPqHb?= =?us-ascii?Q?uifUJz8jonzKVhui9HgPUF/DMzi0V3juNiwFIY0de3RGNs5MUOVpqyd/0ayL?= =?us-ascii?Q?WsjXUURN+3BBpEz3erLYpdg4OfEkMup0Bc+n5GyLMLRLB3IssV/b0YZWYXvB?= =?us-ascii?Q?s8RUTh1xTat1luxvIs03a74gh1UFYHcBU/7fNjQ4d6TQ3jEJi3P1nvC9aojV?= =?us-ascii?Q?AZ9Ou0jRYL3HdNmwUJnCx+yiri4TnGl345/IHIGzws4QDj6ck0zSV0i1IZAN?= =?us-ascii?Q?pmDw3ub99DJofyHWZWwXn/ggCAR62HhVh93AWnClWq10Kodmg5ym4z/JbNWk?= =?us-ascii?Q?J4bx20o3UV1R2uIn47pSoAv9/euHOvfVf+FSDrNIP/PWWFCPKKWLr01SYcFw?= =?us-ascii?Q?aXznBPYr+YNNy3W9QIr1Q3UmwlzKQUc9QbpiJ7NzKWxApszSr4VQ19xNWCk9?= =?us-ascii?Q?3q062d/Zo2kMHrpCkE0eWN/ubyKDzNeadls8YZFro2DkweKmFTIDJ1cKHkmi?= =?us-ascii?Q?yQtKzekbNI2yV/D4dSlk8pf69jeMft8NTK7TVA8u3gzvwIvm5B6PEiTAMCLr?= =?us-ascii?Q?TUM=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f82c8546-6dfc-4cf5-3d88-08d953003ad8 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2021 02:17:50.1115 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: m/VKFZ9MeQ4X3Uy13u7vMW13sUbwt2w9jSS4BhlLEc6Cq/v5XhIJiphiMWkkSgVpDlRZNinKBGKsi66a6B018w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3772 X-OriginatorOrg: intel.com 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" > -----Original Message----- > From: Gributs, Paulis > Sent: Wednesday, July 28, 2021 21:49 > To: Li, Xiaoyun ; Yigit, Ferruh > Cc: dev@dpdk.org; thomas@monjalon.net; Gributs, Paulis > > Subject: [PATCH] app/testpmd: fix vm_hotplug after removal of rte_eth_dev= ices >=20 > After removing rte_eth_devices from testpmd the vm_hotplug no longer > recovered after removal of a device, this patch fixes this issue. >=20 > Fixes: 0a0821bcf312 ("app/testpmd: remove most uses of internal ethdev ar= ray") >=20 > Signed-off-by: Paulis Gributs > --- > app/test-pmd/testpmd.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) Acked-by: Xiaoyun Li