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 57731A0C49; Wed, 14 Jul 2021 07:58:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4037E410F4; Wed, 14 Jul 2021 07:58:40 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2082.outbound.protection.outlook.com [40.107.96.82]) by mails.dpdk.org (Postfix) with ESMTP id 364FB4014E for ; Wed, 14 Jul 2021 07:58:39 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dmn/K4LXOFE40WIy3gXTq7qkFq3DwWIs/BUSFOX4lHsF/Tg34fvUGQqx1dSG1elxwvltY7Tcmkzf5hRHg10sY7/v4NQ09XKCqrfE8v7/L9o7MDlPENztNbSv1yi6TbJ5olWe81LKS/9GBKAjIbRQEcdWkhPgzXnM6snxrU7yxkJBV/Af6T05P1TilRVg7cH7S8g8pPfIo/iVpEBfb6L5BQ1G5JsWD48Hbuds37cM8PcQ4dQlTR0tOV3kRjILmD0zCmQUM0zMNb+s58uIHB9UBH9TYnjrHAnTgA+8r79y0506GEVhQMFrIvT4GGw4TqqAYihr8XALiLj7JoDKrF5tFA== 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=OSAxt5RufXHbAw7vqUFL8v9A7lnHJHOLeWcceiHQYHA=; b=EE1HbHkle6wNRqIKeurvbdg+1dteH0ufR54hQ7qRSnNAr6bTJUITHp9jBJaUxXd6G/MLecGVo5bkBNKXZsRYN/78RyoVkkJ7h/PbIr5d44h54Q7Op1qMglwzgePgKt5dtIB4SvO/jpshfENVaMG+P30NEVHkC2FBT7bsqfUcxNnrWuCMXuiRve2fkwZ8tfZDKOWQsyfgixB4ngrEq8c6BNwZRosklbKsnO5yTTZQZvQg6BlGDEOzj3rfpUZ8wQcIXLLQiKV62do6vHBNwsgkEM5Lw9M/nMcZtuOAknYdrzZwpGuFyaY3JAU5q0hnU3AWoIgrG6u7oRUdOTtEkqDcag== 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=OSAxt5RufXHbAw7vqUFL8v9A7lnHJHOLeWcceiHQYHA=; b=RFdH9JhAB8bRR9Z8l5awwwdncLQANBbdmdquDTTQYHlrwtdiC1nny9EIGdQdy2ntkhwb5j0wRP0eulCraLQaykKUtIm2ratz8iYcPSVr17xHp1Zbv6jNK7AdhVel1eJIXgLXelc7kSiSt/3vpCHQxcOOlFdX8heuu1BKPSPe8cD1WPqm7tvQgXgNxCNGbfsd6hdTy+nDKU+bQCSGaYg3zhcunCOGrrR3/uehBxDuZDk0eIsVDSSAcCabcK75aOdsQyAwR0fNTyjDUs3T9SRL5qo0TYKXizpUZvYEqCUvGxgPuND/tI8JquKkzT45/ZnS012XD5rvWdCWPTubt3C8iQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB2650.namprd12.prod.outlook.com (2603:10b6:5:4a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Wed, 14 Jul 2021 05:58:38 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2521:f25e:e8db:6e35%6]) with mapi id 15.20.4331.022; Wed, 14 Jul 2021 05:58:37 +0000 From: Slava Ovsiienko To: "Xueming(Steven) Li" CC: NBU-Contact-Thomas Monjalon , "dev@dpdk.org" , Matan Azrad , Shahaf Shuler Thread-Topic: [PATCH v2 02/14] common/mlx5: move description of PCI sysfs functions Thread-Index: AQHXd+lD1QCDNFoklkyYfxpHgl73xatB+qmQ Date: Wed, 14 Jul 2021 05:58:37 +0000 Message-ID: References: <20210616040935.311733-2-xuemingl@nvidia.com> <20210713131437.30170-3-xuemingl@nvidia.com> In-Reply-To: <20210713131437.30170-3-xuemingl@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e6f5ca9d-08a8-4780-f99f-08d9468c6c80 x-ms-traffictypediagnostic: DM6PR12MB2650: 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:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b3LDkjwkqyvb2MYQuRKg4Od3tPg+MnD95OH3oUozXZmObfSRJFztDSoNP45kDZ7lVx/dQyYRV1FDtKr0jdUP4grfimxEZa0t3wprDGVN4+OjUVDsoWRHSv+AZUMl929dswfxQ/+ZO3n7o1tNBURUJkTaO8/RUMh3JfZCus0gU5ActdDp8perB0TA2sgHBVHprs3s0dSA2IOeXBlur8W1GCue7XtAli4EHTjHarfFmPSIpqk5pqtCxISo0T7LxYWXuvhEQ34ZMUUU0uKXNswwZwwIiYEX3LvHjBmPxY/4HgyVHYbzV5/5tfLQQsEHlH+HFKdwecp+YIhBCK5E7HjJxzBz1SNJ+XhU5ZtQFt28oekEX5rNdhlBU8eacrcoXu9tWza8NdbmXcFQXAyWP/yQpHCF8eKEfv39OXl6Yr3ov/q1oUGjbKDMlS8BrW8C7/hlYsvh9IHZgsulIdsMlg0a51bAewAlJHwLm5BjfjZlTN0tCTXCmuzKZxzBYKCH+9CQIijJWiSfEG1AFTkyuInPCy1wR33S/PKjnf4pJ6Kp7DLH1btgUOwScYpssaDtfYtZH7NzcbZU4+eqGPpUZFxGwgImrpj8IiiAUbbcrtFq/Q6dw6vBLCyAvj0kXhe2TL1mBK+4ohp0sQY3bCMQWtWXDMXnd/cmWi/H5AQsbSM4gvCRey21u8tsDy0yUw6KvP8dnJaHdjMZiNbrVd/Er/nCTw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(376002)(346002)(136003)(366004)(6862004)(64756008)(7696005)(6506007)(53546011)(83380400001)(316002)(71200400001)(2906002)(66556008)(107886003)(55016002)(66476007)(55236004)(9686003)(122000001)(66946007)(5660300002)(8936002)(186003)(33656002)(76116006)(4744005)(66446008)(38100700002)(4326008)(8676002)(26005)(6636002)(52536014)(478600001)(54906003)(86362001)(38070700004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CjwBC87NmqKdZPU2nHEFxeRBr9Ykj1S04gD9+anX4R8WEBeadELL89vqDESI?= =?us-ascii?Q?6Sq6QsPzHcw8L2nO6znt3NNhl/YsDLiSFfaJSXXSQ9ol8gA0v+bl1sa+trSX?= =?us-ascii?Q?UHveNb+Y1YqdLHFal0idZFsXizmubvsBdLhYNGXqQO/TQjeBEXmbbKm/61BN?= =?us-ascii?Q?E5f5+JYSStvlGOyqO2FdFw1xs/roHu3UCrVHkoGoHG7cXGyy5HgMNJPhk2Xl?= =?us-ascii?Q?KFlrOJ7BmKAybvMDGYAab9e0OkcYtGrvLH633oi7pabM54ndRQXn5cfwH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oKcumBgmtBwPBWxaCocM9L2OK3Xt?= =?us-ascii?Q?KPfzkE3eTp/p8Ln0EltQi6pFeKB1+tGnhA9oN4eNmoc9zRdU+rbgoHRTXDXM?= =?us-ascii?Q?M9OSrBGvoNnWkBiwy3r/5JusaDjk7hO6d2zWH2CbTHccAPrQl6/L2ygudmEi?= =?us-ascii?Q?10iwNScOaP4tOXd1bdTfzpnT?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6f5ca9d-08a8-4780-f99f-08d9468c6c80 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2021 05:58:37.8034 (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: 24dmbuJ5SgxO2PR9HMlZyXE2MfB2x4bJwh4aNfs/5UEn9WBdREKB6yx8JbuwsoQ3RWxfD/+RZTJr5cUwnU0wnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2650 Subject: Re: [dpdk-dev] [PATCH v2 02/14] common/mlx5: move description of PCI sysfs functions 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: Tuesday, July 13, 2021 16:14 > To: Slava Ovsiienko > Cc: NBU-Contact-Thomas Monjalon ; > dev@dpdk.org; Xueming(Steven) Li ; Matan Azrad > ; Shahaf Shuler > Subject: [PATCH v2 02/14] common/mlx5: move description of PCI sysfs > functions >=20 > From: Thomas Monjalon >=20 > The Linux-specific functions mlx5_get_pci_addr() and > mlx5_get_ifname_sysfs() are better described in the .h file. >=20 > The requirement for using mlx5_get_pci_addr() is explicit: > the node /device must exist in the provided sysfs path. >=20 > Signed-off-by: Thomas Monjalon Acked-by: Viacheslav Ovsiienko