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 91ACFA0547; Fri, 25 Jun 2021 13:24:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83CBF40698; Fri, 25 Jun 2021 13:24:12 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2063.outbound.protection.outlook.com [40.107.212.63]) by mails.dpdk.org (Postfix) with ESMTP id 28AC34068A for ; Fri, 25 Jun 2021 13:24:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gy+EVpfSNgcA2Mu9TtCXluKTl9OVc7/5yUx9oOZOHCISwJazM1vx27o3alCIFzTCk26C9+w9kKGUD7XKKRx3PqYuyiJ+5ggmtL/WH8ojXl4UIS8BXVR5h6xs98cdqtnIh5imx/2z/+n2R7z6yEK2UOj6djZyk0VE4cwfKG9e4JmATQKt/LpF45/Mp3xeoz1f9Za2PGIfM6v0UqaU76SuhFp03X/eJ9SbGDYqTnn2IYwa+KuNWV9ILx1/ZkSQj9Enjw9ROR6Ze6WbEwV2j7TdmhLX/gFlozsXbLqG9DQr6KtML/NSHceprqT1TEJkxLfkZ/KSpDbGUIOkGdriVmke0g== 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=ahiRYRA2cAkSaIoJqFssv66eGrTEBjBzC888V9rFHz4=; b=Fja4K+kSWcZDx+lIj1ON1KKkHFJh18NT6QrpQRH6SYGXSnwGX8b5OF9PKE/l6lbGaAQbSwEyvO4z3EfZxroAZTtTM+b3DLBNZTaWglu0RV4nHB3CY3DdXbft1clWWbf8m65PnM/HkkwER5pIRyMGwPc+14VNxQ2k2kSXLpofBewQf6qwtBpeagvr5eBjLkBejKQ1+vZ8oswLJOrg7wAnBlx9XNufnKbRYQDE4Ggx20UmqQjt/MJad6LIUZdExdc52lMYJNfyp1rFvBPSbSUd2fb04lQtw3j3FH/TTYurT+sn1dtlvmSmJwcUCHgtC91eOFwnryuIT9Hbzc5ZkuiePw== 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=ahiRYRA2cAkSaIoJqFssv66eGrTEBjBzC888V9rFHz4=; b=azKQKE/I+PV1g8KFskhnZYa2+C5X02CF18yaVC7ojZMdHo94b8Yp7Aij9gCYgkGUsInX968aLH+wxMAHrb1UCKCUVr7F24agjpQw93Ol7eyWgIRgDOSdQ6ESmgf/dO8ETJ+kEfjlCPDzEp3XPwj47mq1UDpHtyV7WALESMNcY8b7DxeKA8Dmmqh3CJ8+qkEne5XbpDmOwsv2AH7ogygaE2FFz6CVJ8gpBKtplm0NCZ9WiKf5aRigWi+OrwX8WfwPB7Au1/f1DLQ36GtcDOFtZ5LwInRB5W0iTwE49V8T6iq+1W6pzzeDZ+K8FCIufOzgzv1XqL9qWk3U/ev8rNrf3g== Received: from DM4PR12MB5373.namprd12.prod.outlook.com (2603:10b6:5:39a::17) by DM4PR12MB5216.namprd12.prod.outlook.com (2603:10b6:5:398::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.20; Fri, 25 Jun 2021 11:24:10 +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.023; Fri, 25 Jun 2021 11:24:10 +0000 From: "Xueming(Steven) Li" To: Stephen Hemminger CC: NBU-Contact-Thomas Monjalon , "dev@dpdk.org" , Parav Pandit , Ray Kinsella , Neil Horman Thread-Topic: [dpdk-dev] [RFC] bus/auxiliary: introduce auxiliary bus Thread-Index: AQHXFnbDirYEodb9l0OPxds995sF/KskycyAgAByUFA= Date: Fri, 25 Jun 2021 11:24:10 +0000 Message-ID: References: <20210311130113.31382-1-xuemingl@nvidia.com> <20210624213419.68080ed7@hermes.local> In-Reply-To: <20210624213419.68080ed7@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [180.162.32.189] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a409dfdd-6a1a-4ff1-604f-08d937cbc0bf x-ms-traffictypediagnostic: DM4PR12MB5216: 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:206; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L5MZLxY00OADogIDMn4dP9Cy8O+65cDZBvjsNINveCPe3frnak6RStNJtjPEZwKqIGVeSjS3zvAUyVsN+B2KIXvPkTRSyrlovdqWLUErJ92oIUQXiGGEfx/YDqjyasoOUgGB7HSrR7ypO0zA4ymVwJbchzcS4fChm/iPgu+tIjpfoKu1jAkbeWoHEgqIrCG7xIyH9DXDvuJzraRSlyPUbQfHLA3TxGhqrvmFlmAF8XkvE588Nn+d0G1ZRDhbG9jrL5yleO6IEzpkD748AI1u5fpFgatAyXG+hgiJYLsyUNK6D1hYk3uGgjLXnKd5WkofbZU6He45rTG8Z//UrpGCGFIg8L4tgk8/Uy0zczAG7jKTg6FkG/NmDTxyb2r46rdSJs2dW1/zVENSezq773jMyY9x56nahucALM6Xl1q0PqUQNp3/9kN0YWZlPvzGgMOwRtulnVPFzT2QSpeLsw2hDgoLbUv+DuKouwLfMhX62hklKqJslNePSWpbVerL07WbmkshHj77FnGnn42kJiC/Yx7ZHgshJIDHNilagaF4APbdPXaKi2zdbZySyIuX3tLml3UiunasQgf+z3uti4yShHjAu0p6AIjrI/oaNAeXtMQ= 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)(366004)(396003)(136003)(376002)(346002)(39860400002)(71200400001)(2906002)(38100700002)(52536014)(26005)(6506007)(53546011)(478600001)(186003)(5660300002)(6916009)(4326008)(122000001)(55016002)(66946007)(316002)(64756008)(76116006)(66476007)(9686003)(66446008)(66556008)(83380400001)(4744005)(8676002)(33656002)(86362001)(54906003)(8936002)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?56EA5kBvl+2hYnJwPGE6oHVxHO7YhlvyzTn8PPBWri2/hLK6rl1tkPSg22/w?= =?us-ascii?Q?Xlzj7yX37RMhNdz8Azthf44MZ3mUuQH/WZ9hHnlw8u333YkmRv0ZsILrSpoB?= =?us-ascii?Q?wrYDfShT1GSZ0tfr7Pp/LYmtrkb08PC/8h8ABVYiZGDpSPzEqBysfLm5mf4E?= =?us-ascii?Q?9U04y9e/G0+V6ornHz7BJWKp4DvO1ZbDG4MDHDab0zWSfSEUu5wJmWnblnyA?= =?us-ascii?Q?q+hRG2R2leR4jKG5ScQkI1w0zhp8zioMXd8zUefOwCO+NnEA5pQyojlHIoA4?= =?us-ascii?Q?/xC8zvONhrjmQPUdZ+MbStMSQE8Wzwv3QOoWJ5OSjvR3M/cvdaZMmg4WeDqn?= =?us-ascii?Q?DU5bMOg8/FYWIsJr5BF0C60trNoh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fuZ6F+a6I8JIpmdIe91TL397xXqgz6nGYxdcMkfqO5FzMwC5arcdo6HtoFu?= =?us-ascii?Q?2OIlEE6v3NvTARj9iCFNvn+3?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: a409dfdd-6a1a-4ff1-604f-08d937cbc0bf X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2021 11:24:10.0316 (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: H5wFf1vFl4AUF4UyKmfa206xqJIm1U1mSONWrv0HE0wGy7luL2pJlouvE0Y5L52AmR72abuQKUeFzMU7Dsmetg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5216 Subject: Re: [dpdk-dev] [RFC] 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: Stephen Hemminger > Sent: Friday, June 25, 2021 12:34 PM > To: Xueming(Steven) Li > Cc: NBU-Contact-Thomas Monjalon ; dev@dpdk.org; Para= v Pandit ; Ray Kinsella > ; Neil Horman > Subject: Re: [dpdk-dev] [RFC] bus/auxiliary: introduce auxiliary bus >=20 > On Thu, 11 Mar 2021 21:01:13 +0800 > Xueming Li wrote: >=20 > > + AUXILIAR_LOG(DEBUG, "Auxiliary device %s on NUMA socket %i\n", > > + dev->name, dev->device.numa_node); >=20 > Your log messages will be double spaced. > The macro is already adding a new line. Thanks, update in next version. >=20 > > + > > +#define AUXILIAR_LOG(level, fmt, args...) \ > > + rte_log(RTE_LOG_ ## level, auxiliary_logtype_bus, "%s(): " fmt "\n", = \ > > + __func__, ##args)