From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 07B9DA04B1; Mon, 23 Nov 2020 17:01:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A663C8E6; Mon, 23 Nov 2020 17:01:52 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 1BF4CC8E4 for ; Mon, 23 Nov 2020 17:01:50 +0100 (CET) Received: from HKMAIL102.nvidia.com (Not Verified[10.18.92.77]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 24 Nov 2020 00:01:48 +0800 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 23 Nov 2020 16:01:47 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.57) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 23 Nov 2020 16:01:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NRcriXKfzgLNN4nlAqvEvOOo/6WijYMDBSPrVvftD0At1bDS0gEWRyHiNkRuuabUe0VZpcLdLifs2mZ+BCbF0cSaHcY0PZ2NfodSgWljAVKa5NihrbXKA5BsUA3O48g/9xLUnA2kxMsvAvlmlJmwRyuGCy2QwoLtCr7liu5R6/JeN/MfweVWnIbkNBAJf1wEqH4fYAjM9nzeRpvcKrqCqzSHcPO9PUEq8sueyBq97SXT+GGmtseM37W718rG8Hy0NGzEykRF3sBGUEtFw9x9/LTRPHmgMZKmglt1tSRerWhzelXHTxhybWg7adbN9fA6YLd7kaxmZBFCjw48O14Q/Q== 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=GzJu1LNt/ZJ+XFvL1X7jpkad6OK0NePmnBxRFyYk7M8=; b=XUVoy/yFq+ujmCQU62XQc3z2Ceo/MRPKNOo7n3UEiQ9sqWD6SoF46pt4tbneSuk115nYzYrTAbxnKaC9+3hwWM+oHfjlVz/QNeYTEfuhHplKdC5WU5fT24KYV9sKY1xaQVCCxwYVc3WhQzTlZcbNjrVx1o6q84QNmxq7verF7debx8BvrjdQvJ9XfnSiDTn7gxriI+zGM7ZVBqX8FwO995w3u1sOpJ4tc16kKF/Y+rnJQJV9+t+AOhGIlIlVv5Q0XSrE+xLUgjpzR7Xj0YbZni3iV26T8cA0Wqgt7gfWkkTu19D0viA7dF2U5JoONiOyOrHg7v6fy9tX+PlC4LIbpw== 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 Received: from DM5PR12MB2406.namprd12.prod.outlook.com (2603:10b6:4:b7::23) by DM6PR12MB2777.namprd12.prod.outlook.com (2603:10b6:5:51::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22; Mon, 23 Nov 2020 16:01:44 +0000 Received: from DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::192a:9150:ff5e:10b5]) by DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::192a:9150:ff5e:10b5%7]) with mapi id 15.20.3589.022; Mon, 23 Nov 2020 16:01:44 +0000 From: Asaf Penso To: Matan Azrad , Slava Ovsiienko CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: reduce log level in hlist registration Thread-Index: AQHWwbFMYvSjn+aC7Ui0+FnfZjIZhqnV4F9A Date: Mon, 23 Nov 2020 16:01:44 +0000 Message-ID: References: <1606147002-451248-1-git-send-email-matan@nvidia.com> In-Reply-To: <1606147002-451248-1-git-send-email-matan@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-originating-ip: [217.111.27.204] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 91cc3754-3d63-47d6-389f-08d88fc912f9 x-ms-traffictypediagnostic: DM6PR12MB2777: 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:1227; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6QaS6SSsi8FOgnK1z1ID3OHGuG1lETdsmzhLcK02j/M89wrDd/SwSm7zv1w7uDUQXcbvzvTvuXxiI0ytDB2S6CLnjiU6wL7JRROlqS0nXJ3glEva8vRjVtV18igHvKRymtPfWWeWZt+XBJsqzsIILM+FaRpE5BTbSYpT7enhfoGpHkLiAAhP1q8IJ9CRlyvhkNzgMFB+mKy4joMRNjJCorrqqLzQMuLqcVF3eeU2vgeYOWrP3Mh3skujXqpERyixO4VdK6frXw+ATuGZIhgFoI6WuucxXnAtEmXJx03h4E/8Ee8gZaPFwDzuAd6ZBnDwJ0VX6yifXI8D1uzIU00pzw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB2406.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(366004)(39860400002)(136003)(396003)(2906002)(71200400001)(52536014)(55016002)(9686003)(5660300002)(110136005)(83380400001)(26005)(33656002)(54906003)(316002)(186003)(6506007)(66946007)(6636002)(86362001)(8936002)(7696005)(478600001)(55236004)(8676002)(66446008)(66476007)(66556008)(64756008)(76116006)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: yAzLkv5u4QsvP7z8r4cIlqwVz/SjR8T4YSfe15/0z295+WxL/s5WPBO0AJtLqZ5vI+vHnCr8/bfeoFNfoTHyS5GZi90aFuDz6iIC7a0A5uM01nPlusRs+E0gSsRKNmu0yAHLLpjFm59Xhzlnmk2sSv2ylTSbUv0S/8UN9m4PeFIsAhFKIbe2eJl0PB9EQVo77rManTpUGUJPoj5k7nTEasZhcGGu8mygRYCIstm+OsODGIHVjo3cx17qMOYNuO0ey9bBcFyicalGtT5Zht2T1qieKinBX9jOiCCNb2Oe1JIQ3q1+eCdDuvZGJ9iVJP9jEsnqOH8Kq77XGRvNkwLpB7Gnjv88wqpFFdvauQJo1A6geJB9a7xqzBz+0HuLjvUuVqPI+W5nWT10jmenX7yuhMH7OrI8PlI+csgXHEFKEtKEfR8tfrH6UeJqrtVRqCRw80xCXLMxiQXTwvVYnIHgsuBV8VeQgFyf89XAD26hO/Tb2JIzvmkvablQZJRLKcGNNIpNF4Zsrrco7sa2/oEliuPD57wof5RaS5Ie+VSSXMntZMtxCMyh9yFqzKDhun1Nvwcsz5ellduFV/B4LU2sc5ssn2T4ahy8A2NwL8HpVINboPSMnq/r9hl3z52VpcRELoI49GFd3MgT2MqFMdlUfQRziVnB7/i2SlKYxYUPu/J5vViAJEMbNEAZNWdpX/l8Mmcc0l8mBqVrNeXgbyRfpFLeH9q6H24X1Hgksr3wyRNYEKmJwJAerZkTsESnEpqN4o18vn+vtdwZnyucHtd9TCYya2NXje68JS1VKPG1P3x4aQpRLxxe1gE+51er5WCcAyHazsFrhC8NkJAtI3HpuveyKagDb5yCbYJnz3N3cUpkTXTe5w2uUO4EvFt90/8FbVy4E7aOpPu5SpbzzBBLbA== 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: DM5PR12MB2406.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91cc3754-3d63-47d6-389f-08d88fc912f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2020 16:01:44.1586 (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: Bqx9NcdjNwe9xszNFaeFMWCDe2lajDv51o5R9VDiXjC03cdPoaJedxamBOMbVz5jjSc7v1vawKkLJTd3ZYTdvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2777 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606147308; bh=GzJu1LNt/ZJ+XFvL1X7jpkad6OK0NePmnBxRFyYk7M8=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=ptHu3/Lzs3UYwHbeENVEIqDiQdIwbzaRsRLgb/9/omgJznH/E18TShwbVo0gbgBjy 2l3xWNPuPXM9en0dCNMfWpukydhdSYVsuhzSm068JAhCG2f9EFGngRH4cwsBK1oC99 v/cjqvknQRbcXwKd+qntu5G5E8k7ZrwWXbvA1cC98AapLk4JlLi8HxLeGJ9W+YzvV5 pAUd7ECgTSzU+R+KO9KlnJu5Do+iyinzqvt8j8dabrGpOuhR5LoEji45vAAervKdxH ev/NNdiGnfXNtnPviYiN0dGmE5u/ecLkuJ7/MMsqfPHgdp9RY9lna/9nGIHRiMvsur F8vimVN4ktGNA== Subject: Re: [dpdk-dev] [PATCH] net/mlx5: reduce log level in hlist registration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Regards, Asaf Penso >-----Original Message----- >From: dev On Behalf Of Matan Azrad >Sent: Monday, November 23, 2020 5:57 PM >To: Slava Ovsiienko >Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon >Subject: [dpdk-dev] [PATCH] net/mlx5: reduce log level in hlist registrati= on > >In mlx5 internal hash list tool, there is a log print when an entry alloca= tion is >failed: Can't allocate hash list entry. > >Some initialization checks triggers hash list registration in order to che= ck some >capabilities. Here, the failure in registration doesn't lead to failure in= the >initialization flow, that is why the log level can be lower. > >Move the entry allocation failure log to debug level. > >Signed-off-by: Matan Azrad Reviewed-by: Asaf Penso >--- > drivers/net/mlx5/mlx5_utils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/net/mlx5/mlx5_utils.c b/drivers/net/mlx5/mlx5_utils.c >index 9889437..848d108 100644 >--- a/drivers/net/mlx5/mlx5_utils.c >+++ b/drivers/net/mlx5/mlx5_utils.c >@@ -156,7 +156,7 @@ struct mlx5_hlist_entry* > entry =3D h->cb_create(h, key, ctx); > if (!entry) { > rte_errno =3D ENOMEM; >- DRV_LOG(ERR, "Can't allocate hash list %s entry.", h->name); >+ DRV_LOG(DEBUG, "Can't allocate hash list %s entry.", h- >>name); > goto done; > } > entry->key =3D key; >-- >1.8.3.1