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 661D7A0562; Wed, 14 Apr 2021 18:17:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02B3D161BA6; Wed, 14 Apr 2021 18:17:48 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id E19CD4013F for ; Wed, 14 Apr 2021 18:17:45 +0200 (CEST) IronPort-SDR: 9SGi+YsY0uCtD4UQfGn8mOqc1g+Jf0FKxkEuPZxV/p5y4DU71J1yFWbY/jGa68Rc1ol/8TvjxT jbJmnFoOf63g== X-IronPort-AV: E=McAfee;i="6200,9189,9954"; a="174173001" X-IronPort-AV: E=Sophos;i="5.82,222,1613462400"; d="scan'208";a="174173001" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 09:13:17 -0700 IronPort-SDR: /oh+EtudPRvgjQNynIhLrA/UTDZssXqnR40kJYTyPhRMAfGeNpWuoiqvOA0nBED8aqelTszhtk HeXG7V3yVyXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,222,1613462400"; d="scan'208";a="452518001" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP; 14 Apr 2021 09:13:16 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 14 Apr 2021 09:13:16 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 14 Apr 2021 09:13:16 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 14 Apr 2021 09:13:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kkNTJxuPDUr9bZ8/C/B2sBnA04Oe6JDA0UBjDL91jxL+tAl2eGGpqKz5a4FJZNCWBTUjey/pr/Wp+SqwDCqTZo3Y0Z7/jfYuwhIFfHL1vlRhGaXIDvuZysWzoXW2qoGIXPp90Hfg8JrwCGJkqH5x8H+aErDT80fQsHxGn3hkV3JQEZkZ+7H5Ja1xSnyfy6gPxg4L1AKE7TLSxqojcG66rrG3HMcBgO7pTA1qFByImWvOINg0z6ZxrbDsgvjc3VB3EQLRCMOcPXKkZ1L04CmNgGP9XrAI6h73e0j4iu3aaxxkEI5Lqg0kFYYKhULN9kI2j2kXvVXH/boO2BcFYsE05A== 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=TJE1vgxkGcFbkWdtfqD5hXER1yYtvSSCsTNCJxabrS8=; b=F+y9Ii5DN0m/4H+ChgGhYo11OYfI9W83xB03Jue/YUDYGywrYD0LGoj7u86DvEQsZJPW8qdz6t1MVCB6vTpj4PjPu9LyNWlEdJO7kFPe8FMPvcG0xCldBzE7MTC78pLIXFHkYPLXCMVi7THCnTjWmvat9zeFM1LGx9Yk2eY38XEKpv7Kf4YtnLqjhKhHrKoQ8lBOARfwRZZTPhptVDUs6buvFD8QZwdC3pvIVEe8O9tc05/4KI3//V4PD3b9EyoWAkckVW+48fp9P9rg5KUeU5JqQsiIG3BFpHImC0J3fRI7ycm6ybZ3dYJW27fUoJqQVH1Lg9MfBzHMUh7qez1MyA== 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=TJE1vgxkGcFbkWdtfqD5hXER1yYtvSSCsTNCJxabrS8=; b=dRO1x8hjWrAjWcQ+xNQ1dLlmTfDfl2hE1XkVLatkfBaszORslILpvtUXDTewif17aLHUcImyJoSkOuU+ldxK/v2E8NdT1bX8G5aVxmZG7y1kzlE4V3tEs3T3xXGYj+WDC9TkNgBaZM3eRPGBFOxHCuxhMcHV9XCn3mgYVzqij+w= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN7PR11MB2674.namprd11.prod.outlook.com (2603:10b6:406:b2::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17; Wed, 14 Apr 2021 16:13:02 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::2dfc:3be2:c305:6346]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::2dfc:3be2:c305:6346%6]) with mapi id 15.20.4020.023; Wed, 14 Apr 2021 16:13:02 +0000 From: "Wang, Haiyue" To: "Xueming(Steven) Li" , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" , Asaf Penso , Parav Pandit , Ray Kinsella , Neil Horman Thread-Topic: [dpdk-dev] [PATCH v1] bus/auxiliary: introduce auxiliary bus Thread-Index: AQHXMBSKvCrREl25EkK71KLI/BpYYKqzTRNAgADbXYCAAAlMcA== Date: Wed, 14 Apr 2021 16:13:02 +0000 Message-ID: References: <20210311130113.31382-1-xuemingl@nvidia.com> <20210413032329.25551-1-xuemingl@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.0.76 authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.201] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6a864eb1-e5db-4b25-0cfb-08d8ff602e07 x-ms-traffictypediagnostic: BN7PR11MB2674: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nmWNDxc+hX9xQSADMFKmbY1EdNNZK/rM839XrYrVzjY6Jh+6pctyzVZKBEdT/3ajwMXTHrB0yX6mfG47klsn/sWsIA67Y6WugTA8WjsJxab7GedxjokCAamffr+LwF+HGzQy+rnthDm8yKhjK32C+POteDt7yG6yrWKjVj/VX0dOUsKTsp+0WnZz4SKVO4DedPAH8sj2cleALKCK9HHVVQ3kmfdcRABdq6wdi6hUgcbMjpsjIqlKOeAVXntj1FlpknWtUseOlmDoF/rj/GUnwm77ZWwiNffpIYFsEhSn7kLpmjRE3Rzi8jAx7hZ8w50Wti0wrrOFZgeS8Yzf1KCd56Yyi9gab534yKeepcWtSUUtODt3vnDa4UzUtXrVK8t5MjeI8vTd+8tnBhHARxod6JubE4qeX1a8egdzhHj+ydjt034RPwnNLqr1WQes+AxBwhgP3G81i+mA0TbNMZzuWKbbyQYF+g/6VxLnEE1wWgOnkVf4Q88wG1p4CpdmMDcldqksmxLZkOzvW5D+6aEjmctvHXDPjkXSeToJ24F579rcNTSueEYHapNWrXQVJcQA9AKknCnMx6la3Vt8Exs8IEsCcCjPlnBAmCNo5VYPVeY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(366004)(346002)(376002)(136003)(39860400002)(76116006)(186003)(66476007)(478600001)(316002)(66446008)(52536014)(7696005)(83380400001)(71200400001)(64756008)(6506007)(66946007)(53546011)(66556008)(2906002)(5660300002)(122000001)(55016002)(33656002)(8936002)(4326008)(8676002)(4744005)(86362001)(54906003)(110136005)(26005)(38100700002)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Xj99xOatfhjEIpM/Q7MJUwB8jK+XRTJdx7gaVnp5YSv1xUpv81nHwwWPiN7H?= =?us-ascii?Q?V+miir6NkQweCEojuqKDo0ttUpnApSGiqfD8CWTaLNUvP/5B58Ov8L+EmiHP?= =?us-ascii?Q?JE1DYy2WvUOQVIBHpF9zjO+WpaHPusR0aluHpWz7oHjAYpxsIXsUM4un75Qx?= =?us-ascii?Q?ZOzSLxftiVhpuyUde6vhQwATIsUDwUOV0f+lX0fjTmcmFK4bO9hBXEQAhoRx?= =?us-ascii?Q?vK0YfrEz37+zaCvmSh68SD06nfBdZX1aOY9GYKKkNagLbmHzUY/nregBvzyx?= =?us-ascii?Q?xWS9sOF83e6hK9DsdhRuQgldTC1YqzZpaFQDlIW4cPeIuEJcBLP74I9arzSR?= =?us-ascii?Q?KTmHfS/j+RapaxssI58x3twfspi9FVlLUODnJybrS9vNLAMwvBEO+MS3Z74G?= =?us-ascii?Q?+ziwXpfTsvqRRUmydzGSnYnPCPZGDkdBd8G4Mvj5S9pbZP8oGLhTJ9x1K1Qn?= =?us-ascii?Q?zRY7wDv8EYcaUen23g3f2CmMyiaCa7HPjZ+3fTi89XI4f+ZBNcpb8TqSHLA0?= =?us-ascii?Q?wEHf6UqpF5qeZ30Ulw2Di98pxQDWPlk7beMj1inG3gMzR4w0trxl5x+dnSzd?= =?us-ascii?Q?LJbD9bPB3CL2xE+VefJmJ1FYyqVnTRzRBxvPxAiRWiIHudSZlEg7OTNK8XEU?= =?us-ascii?Q?aBGgM0pNV9+ABVshwJLbLMSKSoyZmEdVqZxGuUqt/14d5gj3RNihQkGiMqz2?= =?us-ascii?Q?/zMp+rafIeFkPRBXdJGoyjTOUlIBkdU8wIMLzTGIwO7X7g69l1/3SPFvJTeH?= =?us-ascii?Q?0tvltMSAFyRtPuyl6KHcnfROz7K2vkVMPYvE21imZTsIIdCgxRFg8QWBq6yD?= =?us-ascii?Q?7z4pzZ5EhRUaxvbrBG34s4hppo6AyQ5g5gMC07fXq1f1VU4faYVmi1VQdboU?= =?us-ascii?Q?BxCd8C4xZ/PGeQPaSg1KYQiHJjxnOD0Zlwlf+fcQd90r3EbuwyE1yvhqmqyx?= =?us-ascii?Q?ok5Q4HrIlIkSLgjDNibajH077h36+CSIfgQLiSOxMHG7cLSKiH7JKFzc6Ute?= =?us-ascii?Q?TiBqtS/kuB49i3MY/YQ4jiGebjQbV6stYn8X72c6zgszBXT4BthXYupg427D?= =?us-ascii?Q?NzyGWZb7nbTtsDKbzsRjiPO8AFf8stWOv6TNvlAFKbp8OPi0EI0B0cuRSkUn?= =?us-ascii?Q?ZpIh45rUzMAHqr5bATRotYS3S/I9gd97o2a/mIG0Z5jFgvuxyyqAkTNWtKgS?= =?us-ascii?Q?kj3PsaTtjjHyorMpPI4naSf/cXfy4yxOIY1da2R7f8Dvp6jmgUSSRxv5//zk?= =?us-ascii?Q?n8UT1KZAyzj8sw9Xv2gRbm7i92xxHlFHvHMB3w5qwkfaYLeR9/QlAq1Yxczz?= =?us-ascii?Q?x7Nvi4ozJ5tpMdukw+puYNd7?= x-ms-exchange-transport-forked: True 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: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a864eb1-e5db-4b25-0cfb-08d8ff602e07 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2021 16:13:02.6073 (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: cpl/1ovF/De0zdZ3UaDDjYUC2A7aq3/yZXBaEgqQlLjm4rAofru5M7uUmae/HYErUrHli7PM0EHAlmPbS0+HbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2674 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] bus/auxiliary: introduce auxiliary bus 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: Xueming(Steven) Li > Sent: Wednesday, April 14, 2021 23:39 > To: Wang, Haiyue ; NBU-Contact-Thomas Monjalon > Cc: dev@dpdk.org; Asaf Penso ; Parav Pandit ; Ray Kinsella > ; Neil Horman > Subject: RE: [dpdk-dev] [PATCH v1] bus/auxiliary: introduce auxiliary bus >=20 > Hi Haiyue, >=20 > > > + > > > +/* > > > + * Test whether the auxiliary device exist */ bool > > > +auxiliary_exists(const char *name) > > > > is_auxiliary_support() ? >=20 > This function test whether an auxiliary device exists, name parameter is = device name. > I think auxiliary_dev_exists(name) make more sense. More clear now. ;-) >=20 > Agree with other comments, thanks!