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 D1DCCA034F; Thu, 24 Jun 2021 10:42:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B830840DFD; Thu, 24 Jun 2021 10:42:38 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2042.outbound.protection.outlook.com [40.107.237.42]) by mails.dpdk.org (Postfix) with ESMTP id 339D240DDE for ; Thu, 24 Jun 2021 10:42:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FG7YqKovlhr4GCo12NHDllVuyMVjVM8mDrjLRGwtaZv4AU5XP0XAjhs5r0tjr9oDHw1cgYVNotprkOlg6JSlvYGdVu7+ZjlFHXWFSNp1J4rKu7PAL/AQB2DyMc8VB9u8ssE/KpEIHRax799aqXeiOxHt+jyFpyj8FNkrY3C/Scjf80uhwJ8BnG1fxImHiK7gOSloxaPrBpPiqZFM/DR/pKnQB93dnv6ry5ql398Cs9zGmzbPsSXSloA2eMw2pHIi3TUetKk6AMd/wPe3756FQK86ygxuArXvJYPZTB30Wh+sMMqtOjX9ffldO3WdvbY5XrDRgi1/XrLJRZGgxmg1sQ== 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=5HhaVbyZKTXIIuoUDziC8Kx7yh8MWS/ZYutVnjQCT1c=; b=MxPheEj6exuSZW5vmYG2OgSWkH7Mq7L/c7lTGcOTBUE8aOtN41GeVOsVC9njkg7nAmu6l1ajP9Sfp/yEMKyAttPxkV6UqsbtPsT/EmZEIrnseLl8lg4hU6cz5kSdkleXsNnftctbWmjsJL4ccL2SIptQ4asrDZ2CnZ95uObiQnRqT6i3LiHj+P13mOLdal3bcrOOAbmq9WvPxcubd11hrd68xyhhI9pzkvDAbfVyalTDhr3CbNQ9UHVKtYm1mgQts2Mjq1b7zbV3Zrgv9SIfSpEOIKreK+xzSxD1vSDt4wTSgIe+bf7BeOfG7jVXgxLj4fsewU3ISHutnwbnisD25Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5HhaVbyZKTXIIuoUDziC8Kx7yh8MWS/ZYutVnjQCT1c=; b=GRzVqfScXYCapA7hJIFULjyv1MXK0L+9vJsBr6dJdrc0MK1QTUnyiV+Mb3rlK2+JLi1oslq9g10WsI7pLilOQHPVujrgCuRcsjToiPl9xazZdh9YXh/8GHANkSBlKYHZZuepPmVW2y5+5GBZwa7aofoTFP077EIBl84rjePqZkx6ELwI76t42pZBkpVvOt/T1A/MK6dNSs06ypwhyOSpQmVVvLgYWEA6yIzrpEz8rMoXOZ4GTHlrkLy1ExMwwiXFABjEEX4XISIj8D4SagYA8x8jRlQPYOXiwK6ZhAl756OugTX8aPTqlyQOV+TWKUBr3hYQpLm090pxP+PpN6IcuQ== Received: from DM4PR12MB5373.namprd12.prod.outlook.com (2603:10b6:5:39a::17) by DM4PR12MB5245.namprd12.prod.outlook.com (2603:10b6:5:398::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Thu, 24 Jun 2021 08:42:36 +0000 Received: from DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::ac75:9b9a:a03f:1676]) by DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::ac75:9b9a:a03f:1676%3]) with mapi id 15.20.4264.020; Thu, 24 Jun 2021 08:42:36 +0000 From: "Xueming(Steven) Li" To: NBU-Contact-Thomas Monjalon CC: Parav Pandit , "dev@dpdk.org" , Wang Haiyue , Kinsella Ray , "david.marchand@redhat.com" , "ferruh.yigit@intel.com" Thread-Topic: [dpdk-dev] [PATCH v4 2/2] bus/auxiliary: introduce auxiliary bus Thread-Index: AQHXYFPoPDXyKh+1HU2NeXbKFwGSdKser4eAgAFaAXCAAUWIAIAAblkggAEIsYCAACJ1Rw== Date: Thu, 24 Jun 2021 08:42:36 +0000 Message-ID: References: <20210510134732.2174-1-xuemingl@nvidia.com> <2209356.FqHIJRZBcD@thomas> , <2300002.O0bGQxM10Q@thomas> In-Reply-To: <2300002.O0bGQxM10Q@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [154.18.175.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 66f2909c-26f0-4146-7245-08d936ec0443 x-ms-traffictypediagnostic: DM4PR12MB5245: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: f7b9a5GzXIazVLc2/h7wAIHI+SlJQ4q8wJrT8nf9X2qAaEXh2KT2/swMhI/tTtgrsmOtvj7rMFIF0qIMxapdbti2QoLyUmELX1M4Tn0vmNbL8M8/EdHTOCT7IelFHdfk2ykFvEOBp8zEDUUjs1ZXG9SUhnwnQJiPcWE31qfstGnoCC+x0Qi3tHBFzJyE7a7M6KrdRYxUgSM+hVvVVIS7JhWfACwRGq+NRJBHzj1RXGuBQRxiOW99uzdK/vAtSOyz+XkT19DyaAUw0JlG3hweu8KtFyrBJBpOwr0T9jf4hKJlSuuAbPToN3TjzAeEsEMdt2IRb8//770X+BBuI0o2/9UIj3KvrZb/5SSvoPSJJjDK6HaBoSBKUanAMhAXIv0hL6M8uM20J2BEjYLv6TulecHzVGVD62R/7x+kEASIADz7eaztQkjoEw8WNrGv98K1zia+3a9JbM0Yz/zRfOapkse11rQjIx7q7l+P5b/sjvke/dCv7n5UG5ZcjazV6/65a2ACVAi6N9/JV8G37ZsuLmdzO6a4CQbRUIkz2VI7nd8XZ+e/He0dEQSZ/dPqYQAiLYJrNJjoeLJIA3wgahw2FAlfu27vZmwUBUeieLb6y4s= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5373.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(376002)(346002)(396003)(366004)(52536014)(478600001)(71200400001)(33656002)(6916009)(83380400001)(66446008)(64756008)(5660300002)(66476007)(8676002)(76116006)(66556008)(66946007)(8936002)(91956017)(186003)(7696005)(55016002)(54906003)(26005)(316002)(9686003)(4326008)(2906002)(6506007)(53546011)(122000001)(86362001)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/U6Hte5WBmmIxaZwYHdWhHjUnFOtHhuSOiNN+1bfQ1TJVu8a8RW2/rI0kpzU?= =?us-ascii?Q?pChl2+85O0cCCWTqY57b5XlRtL24p4UFPxDwE8KnWNbCiglqdv7JAVyQUKVt?= =?us-ascii?Q?DUZA0AGron+r6pxdE7E5D9J1rb4LrPX1g/P3j1kDJ4rfz9opP657gbwJCuwb?= =?us-ascii?Q?aUO6CAUtSxTasXMm0FHAHUBBwSCba30w6KaKgKvW7iz6y0Ik6jUWD1NqcweC?= =?us-ascii?Q?bmkiIktdZsrMLmG8wjYDyV8abxVy7nVkdgqSbvo3CZTzIlTjpuXlkfW5AYPP?= =?us-ascii?Q?EJDxCcaAC3mH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wjPG4u?= =?us-ascii?Q?8WV0C1AReuyWS+4f/E/MlIMrU9K46TS2OOZuIXBYcxnB8WJD9kqoM/JXSSdz?= =?us-ascii?Q?23hH7t4NS2Z9SlQoiB7s/4F5gGk6uZTMd3+Yk6cSXSFOyXG5wDO51/UPr9oq?= =?us-ascii?Q?xFhHpP/nqlJcv2irXeZveob3amv2ITN+oCFtfTAcZX4wBQ=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66f2909c-26f0-4146-7245-08d936ec0443 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2021 08:42:36.0520 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: P/FlT9AmluIoAfnGvbR+x3EO0PAl1UGt9E72yvFPytWzcA5S+/nu4KmZVstioNFvf0h9j6iX6opmpIxUMzVggA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5245 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v4 2/2] 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" Thanks for clarification, will update in next version. ________________________________ From: Thomas Monjalon Sent: Thursday, June 24, 2021 2:37:19 PM To: Xueming(Steven) Li Cc: Parav Pandit ; dev@dpdk.org ; Wang Haiy= ue ; Kinsella Ray ; david.marchand@re= dhat.com ; ferruh.yigit@intel.com Subject: Re: [dpdk-dev] [PATCH v4 2/2] bus/auxiliary: introduce auxiliary b= us 23/06/2021 16:52, Xueming(Steven) Li: > From: Thomas Monjalon > > 23/06/2021 01:50, Xueming(Steven) Li: > > > From: Thomas Monjalon > > > > 13/06/2021 14:58, Xueming Li: > > > > > --- /dev/null > > > > > +++ b/drivers/bus/auxiliary/version.map > > > > > @@ -0,0 +1,7 @@ > > > > > +EXPERIMENTAL { > > > > > + global: > > > > > + > > > > > + # added in 21.08 > > > > > + rte_auxiliary_register; > > > > > + rte_auxiliary_unregister; > > > > > +}; > > > > > > > > After more thoughts, shouldn't it be an internal symbol? > > > > It is used only by DPDK drivers. > > > > > > So users will not be able to compose their own driver and register > > > with auxiliary bus?z > > > > Yes, that's an interesting question actually. > > We can continue with experimental/stable status of driver ABI, but we s= hould invent a new ABI flag like DRIVER, so there is no stability > > policy on such symbol. > > Not quite understand here, why we want to export the function but no ABI = guarantee? the api shouldn't change frequently IMHO. Sorry my message was not clear. I am OK to keep "EXPERIMENTAL" in this patch. But in future, we don't want to make driver interface as part of the stable ABI because it makes evolution harder for no good reason: nobody is asking for a stable interface with drivers.