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 8F17D427E6 for ; Tue, 21 Mar 2023 01:11:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FE15410EE; Tue, 21 Mar 2023 01:11:52 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 56B2A40693; Tue, 21 Mar 2023 01:11:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679357508; x=1710893508; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=wP4gAPA5idgJTewzRuWdR+EIFBfJrQ1dduLsyvGKg70=; b=mNi/zmF8T3sTuta1sTkcAwylXoEsamIRKp5aheR3cwiZrAF7Q4kt70Zz cy4q+zrzY/1W3o3+01mvl+9AyGDM2xJo502VljvExYE0XIL8XBwbvl4zI sxPWl7F1SeliM2t5VsQfsyE1slefk9yCwCIiXcU0geUAkDTVdeNGc0ODI 1BaMoSl2ATW6OOV5JX9RllJqrWBl4qWQmKJnGh8o94ZWcY7vhtCGP7pVX /S6uCJ/DG2+HktNqTkJzlh1Hg45K9suyh7c9/DtJwjn0baEZZt8MsyqRO MZM9RITBhtzABoqQAg1rtG2EELnmXRbE+xszOs0GX32enTvCK6iJW0kvG g==; X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="337525066" X-IronPort-AV: E=Sophos;i="5.98,277,1673942400"; d="scan'208";a="337525066" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 17:11:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="631338026" X-IronPort-AV: E=Sophos;i="5.98,277,1673942400"; d="scan'208";a="631338026" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga003.jf.intel.com with ESMTP; 20 Mar 2023 17:11:36 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 20 Mar 2023 17:11:36 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 20 Mar 2023 17:11:35 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Mon, 20 Mar 2023 17:11:35 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Mon, 20 Mar 2023 17:11:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dw0NFDLEEhikDm9KBQJb8yCNNeB/c90sLHp5msZX1a1/ALzn7rQmBP1Ynf2VEagOawIqxy7+pKn71voPbvaOdTL5YCPEh5WxLvGNERID4FbCWk1TbvXCGdguf7GpQFGmC4+1JmFKMGTqMyA3jZyqVZkms2xSMROT+6bosE4OWm8qjeTN99ppdur+XYKG9is5bA+An1di+wG2bi07Fdy0lb/XM5j5kOrFzXgLSq6wdNjknkplwD/KQxIEkj/pdeh9PJ4Hd48dlAioeV0XTk4Tjab9viA0lFkYzdmbHIC3qMbuBdmG5WWESBoguagHvzPmc0Bad4Wi2UmCNgmYvsRing== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wP4gAPA5idgJTewzRuWdR+EIFBfJrQ1dduLsyvGKg70=; b=ZyWsospXhBPD0MlJVT8FlCt8H9ie3PoVDXj0+DMndpHu3WPRdByfp8LQfVhT7td16Qp1gnY1e+C4sJwnydcJtfNdQLaBTxeFDKReucqs3k9DUl/yceDevP/13zVXblYItKPnwViUHiFVhefIHb7Y5NjPvAXb30roi/bxe51R1Fn9omc7/zJQu+Up5vrSdfnC3QtNiiKtV84BzByOpzRyzSTeAQfGTtByLWU5HVVR2nk14LGA5hmFxC3y3hmOIZgUMywUauvmIZthOF1JgWZLIEE8u8YeyUsiJrKr6ZkyfBy0nYrPxyiyjE0A8thBstQSCgEd9CvZwx0vbQh6PzZtPQ== 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 Received: from DM6PR11MB3530.namprd11.prod.outlook.com (2603:10b6:5:72::19) by SJ2PR11MB7598.namprd11.prod.outlook.com (2603:10b6:a03:4c6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Tue, 21 Mar 2023 00:11:33 +0000 Received: from DM6PR11MB3530.namprd11.prod.outlook.com ([fe80::2a1b:9bf9:445f:567f]) by DM6PR11MB3530.namprd11.prod.outlook.com ([fe80::2a1b:9bf9:445f:567f%3]) with mapi id 15.20.6178.037; Tue, 21 Mar 2023 00:11:33 +0000 From: "Huang, Wei" To: Thomas Monjalon CC: "dev@dpdk.org" , "david.marchand@redhat.com" , "stable@dpdk.org" , "Xu, Rosen" , "Zhang, Tianfei" , "Zhang, Qi Z" Subject: RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation Thread-Topic: [PATCH v1] raw/ifpga: remove virtual device unplug operation Thread-Index: AQHZWHHvun1srISqFUW9KK/CSBP1OK8D2uEAgACG2SA= Date: Tue, 21 Mar 2023 00:11:32 +0000 Message-ID: References: <20230316204445.360330-1-wei.huang@intel.com> <6411222.K2JlShyGXD@thomas> In-Reply-To: <6411222.K2JlShyGXD@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR11MB3530:EE_|SJ2PR11MB7598:EE_ x-ms-office365-filtering-correlation-id: da2ed8b4-aa04-4b33-c064-08db29a0d3f2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kjVczr8qGIMlg8u+5I6QnIZQnrbqArFATSE4LRfSPxB1pRHC2t3EKjDe7mhlnDIdl815YFNPEU9xiGEGO5bxobbOLNKNgV9a3LJ1UfheUQbbuQYAKR+6FS96f3TOEnUeV4cX9pLah4M249H9ttbXAdcoN8IMU+sZbsgpPKylY5L3BrwMzmd+Z2ci5aUfP0OSkWf/d0WpHwt76SIkQwVQBqVh2A1sajN9cCBRRm8RJmhm8sUz2Q9l0PRix8LyJ9js/weGe6ESl4hC58795x5Lhbp3TpGnxrBd+ek+W6GR2Ku0ZvOMIRlMOZ1j02UI+G8ohpf+L5ytjCNLoXNuRdNeY+bU++DYVGUQhc6n1Hhw933OePdFj8KUiU4p3Fqd73UnCkumWCrVsR9qEK6GXnmVTyq5dOy4d5XhYiNhjaEbXNG+SsL7lipYwb4kBm/h3CM5/DjWOrVygdSMJuZm5AmbfXikgQWkNz19O1ywkV6uS2ykjHjDQOjvZqE/ytdhaj1xIox51QX240Mw7rIGBhHudwXpY5y2YZHLhYLeln00zCDouzBE+vYXHpksZDnVlw1GOIok2sZc4ju3ib3Fj+NsmQG0HnR1GpmdyGvjyawjIcvOYqzM3W7IYIpSLcjhFbjmY3385FnspkbdR6s6a0PvcA4um/PPZoF3/XczPR/Vtih3dCY4kLa9Xwpn8Bi5d38ylRXK8TVjv6pzAoS/yW7yaw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3530.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(376002)(39860400002)(396003)(346002)(366004)(451199018)(86362001)(33656002)(38070700005)(6506007)(66556008)(66446008)(76116006)(4326008)(4744005)(52536014)(41300700001)(8936002)(5660300002)(2906002)(478600001)(66476007)(6916009)(66946007)(8676002)(54906003)(316002)(64756008)(38100700002)(83380400001)(53546011)(107886003)(82960400001)(9686003)(26005)(71200400001)(55016003)(122000001)(7696005)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sZmQBU7EPvew2W3nH5lpkngW4dJHswaIMUJvXwphoqLOXxQsB8hMMpoVB8si?= =?us-ascii?Q?32n0pqugns5fsWFNxquCn1u/b2zdInrRpOPEtdvx9kTtX6/uivugqiKSYQjK?= =?us-ascii?Q?2wOTKywxX/xHyfVgzxtzHUr+uEx1fYm71rurTyRHga4atfw2kGNslzEZg1Gi?= =?us-ascii?Q?I4LF8DwLKwvcK7fqB9KHiw/bUAaz02+puAP+rGMWQyg6IEy22wUtEaRULgpk?= =?us-ascii?Q?+WOke3XDIx/lc50nHU1SygfzyuAdx1cAkIrgamK0jFElhh+tf+tvZaLL0nXV?= =?us-ascii?Q?7RtNGMbQQUMR9XnfSGbG24TRzang2T/n/yJJ3SvB7pJII6OWhhkhaXdf0HXB?= =?us-ascii?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qSXWRnIs8MKYTbiZBW?= =?us-ascii?Q?LBuvizaJZiXpbXCvOsvGjZGU6JYqmeL9KoCzbIxEiuMp9q1oKtv/FAsmhZLM?= =?us-ascii?Q?HdiQJqZLQ65Aug1RUI5BC5RbKwBOBCN/5KS/5nINpY0NcurKQl1PM3UfaTZK?= =?us-ascii?Q?1iPnlBXgrLxLHL6aNUX4Ts+Fi7gZ3iUBr5CayzDvivYSVXV0FGV2p0thfG2x?= =?us-ascii?Q?v9EOJkyExh9c3a8tPrDU+MNT7c7b6b/2jWdUvSZKrQ3cZJQdR76IMPyI0dYg?= =?us-ascii?Q?1msu7nAE0TMrfjwt4CkCGY8dYK5TOOwRRDXpLG9KcUSMgLFsjmi8w/SnXRg/?= =?us-ascii?Q?5n7otpe0z50+P+n9juZrQrx94ixl89MLy5MzfctW?= 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: DM6PR11MB3530.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: da2ed8b4-aa04-4b33-c064-08db29a0d3f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2023 00:11:33.0152 (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: otI3ImN3HCSzweJxncc69BqprydcRjNeXbrlDMgIZp25UO1Rf7yKNXyfym/6fYOagJRVig0tu4vzyjQHIJXECg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB7598 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi Tomas, > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, March 21, 2023 00:06 > To: Huang, Wei > Cc: dev@dpdk.org; david.marchand@redhat.com; stable@dpdk.org; Xu, > Rosen ; Zhang, Tianfei ; > Zhang, Qi Z > Subject: Re: [PATCH v1] raw/ifpga: remove virtual device unplug operation >=20 > 16/03/2023 21:44, Wei Huang: > > VDEV bus has implemented cleanup() function to perform cleanup for > > devices on the bus during eal_cleanup(), so there is no need for ifpga > > driver to record virtual devices and unplug them. >=20 > Why no need? > If the application wants to explicitly remove a device, what happens? >=20 > EAL will output an error information "Cannot find plugged device (%s)".