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 9DBD3A034C; Sun, 14 Aug 2022 15:51:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9313A40698; Sun, 14 Aug 2022 15:51:30 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 5EDCF40697 for ; Sun, 14 Aug 2022 15:51:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MVBNoSFVBc+2bNmNGec1rzUUXfHz0wkeReH0pC/NkhXezGlh64gfqRHA8iM6+HhEVXOB4JMLaPq6UBnZc5Cank6uZ+bpqoNh3iNny0GmgzT5UYWZ1bpy/uvYYp+JPU5WzMlh+ljSU1o8cR/gpvPIeinEJBfPrRk63t3PWsDK0hgLmv3gLF8q8voiAunujOttmQsVkacQYyt/gVwblEixLfpQme4atQbYmEM6kjoPBD4LQKMTIbD06tNr5h/tUmCwzwPi3vs0qWk8ZTffMH+Vo79tYA5yqBEuIr4bjVLra6upA+ngCj9XAxtagzxuG/5wdF7JcCgPljTHQ6me0CdoFA== 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=Fr78hKnEvljRuAMq4zguFZatafgqaO3mU5/ZfwiCUN8=; b=dA6ymOXkD487d0PlvAJYA4pLfkVUV3uSWr3vu/PdTJcBVBtMIf6kj1CfXOHdSDZcjI95jHlY58WSXYIV4DziZS+VYimIaTcJ2CkTcgyXohARk5+naHzgNyQpHhrBvc0kETGmF+Zyd6tStpff87hQaMhs1tzFqNMtTgR8PQf0Gj0seXAfaVxTDJ6v8hgdYVbpvL2PywLD87dPtabCRSZRxo7xJxZBAY+R/AEpmGkgcWA8NiajCacPHxBtfCgP0xG7wGIPH65Wf9HOuM6HLmMCCq/8NYJ/lU4yJRps1JjTYvFT6413lyHrlG/E/7rezazidGzhVLVlOkffnbHFeDZj1w== 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=Fr78hKnEvljRuAMq4zguFZatafgqaO3mU5/ZfwiCUN8=; b=tO+JD85LIqgQVCX2HXMWIxipiLiuU4vydEvUmm0o3DDDax1eO/LHQivhAwMzrZ84wvB7ps2/rGWyG892jRsUOXtQ8RfCL/g3auOZIP7jYxxpE/6SQ9Rr7fw4dkx7rEpzjS2lGCqLEyzvo3llOI/9U9/mpUz73+M0hTIQlBSRwp3EQ4Pg1W9yeh2m7VdwTxZ46KloRKDDPNivob004WU7VHyeNw7eFYNNc/AYTA00THozTailGKybqQ23elNRpjtfcE+h5XgbGbquSYkevk8mKM/NupcuUrUsTB4BgqUJYJkb3yZnj0XGgDdF1pre5nj4Ic4Qv2BLuY+KNu78Vd4M8g== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by DM5PR12MB2439.namprd12.prod.outlook.com (2603:10b6:4:b4::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Sun, 14 Aug 2022 13:51:27 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::acbb:9c84:ec42:78a3]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::acbb:9c84:ec42:78a3%5]) with mapi id 15.20.5504.020; Sun, 14 Aug 2022 13:51:27 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Matan Azrad , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Slava Ovsiienko Subject: RE: [PATCH v3] common/mlx5: update DevX error logging Thread-Topic: [PATCH v3] common/mlx5: update DevX error logging Thread-Index: AQHYlHaUZWV6/AOGKk67vgazOk5Lhq2uoN5g Date: Sun, 14 Aug 2022 13:51:27 +0000 Message-ID: References: <20220705144831.27945-1-getelson@nvidia.com> <20220710160244.2934-1-getelson@nvidia.com> In-Reply-To: <20220710160244.2934-1-getelson@nvidia.com> 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=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 64d6c61a-7e79-4be1-a61d-08da7dfc15af x-ms-traffictypediagnostic: DM5PR12MB2439:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LXHZuE4pNimUI2xW3bAkJwZOUHLv639owZzRlWuFEkYKD4X3a1UY9wvpMLPb/yuPO/C0GWTUrvlzk/4AtPXon8uGkqY3DbNJJ9tJqJORQe9y2HeXMKHlgB+epful4H5rgOQjOjFY+wKhWRHbgMNmX9tywtP5EbJEsOciunh6szaQDaCJO4IpFU4n+nr0ALzAUUi7aoZ5wIu7NKYIByBPll0K90OjqOUOdKBwgVK/0pnFuvHkAm+qnxQfhOrIofDMSjHKX9oBQSIDeC8uzSiuRCCZAYngBIi9oZPMoHxuGLvhReiRWmK3JMc2KPkE20lN2b1570ra7drB0mgrEGYPR/xxP4KRlQTZyb6ZyH/oRo7/lRT1O28Kk6/uOw0wgKBRhQOkHNbYHwBVDk5Z/U363b5EA361mxaMvktRJ/zJlTsjwaCWxsQ7mGbu1ft6T+CBWSZZ2lkx31X6PjXOAeEXs4MvlI7I95sVuvmvgyqmY4Cm3GTkBmlLazvENIfWvzekF6nvCivBggxhvOstQpABpJ1tOIu/czUcr3YomYzqZhcl/6waPoEGBMdP6PLUAm3Ei2gZGDkquMLL16gs25Zx+rOVRdbE//f95Het8E/WwVg9IFrW1O82Vm7rVqQSMog7plwgYdwo0K4fE5A/hKD+XGBs2H0neM9exr7021btmhVGz9yFVLBGsAvVl7zQjWEs1DeHI/F88h9fxIKEGuJMd1DCcgc3IbgXuPqQjK3am1OOjd/B0PpDd+e8fs9pcVwN5alS4QGsNz2zriJEH9ClQud/JulXCERJKBhkOdjyGNqryow47dHaHE1SctOeToRl x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(396003)(366004)(346002)(136003)(39860400002)(55016003)(9686003)(186003)(26005)(107886003)(83380400001)(33656002)(15650500001)(8936002)(5660300002)(64756008)(4744005)(52536014)(2906002)(66556008)(8676002)(76116006)(4326008)(66446008)(86362001)(66476007)(478600001)(122000001)(6506007)(71200400001)(41300700001)(7696005)(38070700005)(316002)(53546011)(38100700002)(54906003)(66946007)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?u3rnU2cV6eMLdqiPPaQz8dAmdMYUkFQAhJuRbpLwJjomq3BsRVveZIxSgyMU?= =?us-ascii?Q?Wvyh7IRHIPq39EXQ1YTkM7KoQcgDiTa2rxRiXYDOSFzaPalXG4nUuA5f/EhD?= =?us-ascii?Q?RIGWRmo6XoBjw3dvX1f/sV+kHmTfWhr7q0WjKvNCsCziGE1pvz4Kg1/EwCMT?= =?us-ascii?Q?x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dh1NLwgjxNsGcRyJn?= =?us-ascii?Q?wZ0fTJTmhgWXLiquiX4kmJ++w4PZuQ8QBkMf/75lUsmbaVX7jogQhv8J05Xo?= =?us-ascii?Q?iiCVl4TyyQvq2qZhKVYTz8ZwvCglRPR946T81exr2XzFfRV8HP49ie5RE7xQ?= =?us-ascii?Q?AxA+e+l3Bs0ZoxMYhYdYEmQEybWreNEFI9iNz9FDrDEWJsaTsBPbB8WoMPp7?= =?us-ascii?Q?6WqFthSB1TZSFnNhgrZFr1JWE28Fpw5ZiDpOErcSQhaZzld99Ba0ULR/LRO2?= =?us-ascii?Q?kFLp0WExyqV6WNI/YXC2BmFyuS0EhgQHqDDhVCLTyfNqatwJi4X/R/GVGqpB?= =?us-ascii?Q?vyyY+bI6Qn66dzYZTLxHdhtcNuFb1oyT3md4LwJwXwVMMs9H/uENHn3dX3qd?= =?us-ascii?Q?UwrYcmaJk+vk3vdsKCgz+dyjVbyRTjyG6gbw7yG4flyVhwB5GD5TIgHg0Ir+?= =?us-ascii?Q?wKMUKgysQi1OBIRhwQv9ygmvQIGdQtc0ZWU6NDLWoMZny6bxGx6/G6XWgXJL?= =?us-ascii?Q?5JaD9NGb78rv4ZDoAQo7zwK/5WR8QTIZIBeEhfEG?= 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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 64d6c61a-7e79-4be1-a61d-08da7dfc15af X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2022 13:51:27.4784 (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: +spw//+BsbOMCYC7jEjVDZJTPtz7Gea7K/JNVuuZrK96cUpYicfEOfLWelj2J80/noVseEFLPWf/QDm5Iq4YcQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2439 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 Hi, > -----Original Message----- > From: Gregory Etelson > Sent: Sunday, July 10, 2022 7:03 PM > To: dev@dpdk.org > Cc: Gregory Etelson ; Matan Azrad > ; Raslan Darawsheh ; NBU- > Contact-Thomas Monjalon (EXTERNAL) ; Slava > Ovsiienko > Subject: [PATCH v3] common/mlx5: update DevX error logging >=20 > Current PMD logs all DevX errors at error level. >=20 > DevX interface can fail queue counters allocation on some hardware types. > That is a known issue. > PMD fallback to VERB API to allocate queue counters when it detects the > fault. > That DevX failure should not be logged as PMD error. >=20 > The patch provides DevX with flexible API that selects log level. >=20 > Signed-off-by: Gregory Etelson > Acked-by: Matan Azrad > --- > v2: fix warnings in old gcc versions > v3: remove cc stable Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh