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 24B41A034F; Mon, 11 Oct 2021 10:41:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 909B1410E8; Mon, 11 Oct 2021 10:41:52 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2053.outbound.protection.outlook.com [40.107.94.53]) by mails.dpdk.org (Postfix) with ESMTP id D8050410DC; Mon, 11 Oct 2021 10:41:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T0R64+ADNodNYXU4emlK1nGoFV6hl2ztlN4O9kGu3nV+vR5L6CrMdgn7NxsiWeQ6+Wm1U2JHecISgiHfVGzDlfRtapV8edUfzk5ZGAXZ6rRj/nozBHfbbMN9vtMcKfBCX4gDwyJujOuSxRYBLFPRLPcrPrUBgwKewFUUsCx1yRI0BqNrWq2AKCbI0O4Ath8/RtQbX1Il8OINs7gqKEbU486m77qMGWDpJUQVTSBbkmikHV9/QBjV60ELONBhhSJy9TDcoGyw5Xyt6chfj85+8UI82TmwRw5+537B7j2GcIA4sap8upMUbE8NT9k8OokqiNQssKZU4eJ9ThA6csS5bw== 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=GYAZYAmK2eBRwkq6UJFMOz24ZTJ61dRh9x/8339O9rA=; b=WKW3ULM29flmipEONNmhY1QfgFzXbjCRBX0qCRGEq7BUfjzQQq+FJGNLuwqYbGOnAKUSHJ9CzZsdjavNzW/pyx+mu5T19eMzdrOBFYmkuR4arFvUsvzayKpNsuGOXVhxBCpAliqXRtEHxYJyE4UCQ35MQCig6lobPpqjgyFLsCH4t2tr7o/cqd/yaK6Wxvv/aJV3VbCH68zEsqXlv7OcxYgi7q623+q+igds4N4arJevjyjflCALJ3M88tbKw1fvA3RR50/2/wdnVLXvV4hL5HbAMbhhYPvvN9/Bgh3pwZY84Awhfdr3/u3yCPub0fafyhlMeVqQsqkhewLA4hM13w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=GYAZYAmK2eBRwkq6UJFMOz24ZTJ61dRh9x/8339O9rA=; b=XAcVmENJJ7Qh8RUgCdNuJvzReDSPO95irTxIP9MCWByaqBELoTlMhuCBlt2GoscBPQaxdclxh5Ye5mw3Aj5KXmMM2N4/Luu19PdhT/0SjQEv/2VhOE64XWKFPq5KQWCib0Z7FErQcZRdAYbIQT0LYA4wLcIvHzpbMRIvRolbOJH9Sn8Ltvhe/858Vl4IcllRtYfaZgbsmuAudKBz1E141T6SPyzP24QURqsHsLq2bUSB/Vfy52As+3nKGtVf87yza+PwVnphLwGv7CuBT/3+NHUDNksoZhF/odbg4yOrZD6/OB6g2PLNqEWDNsngsNMh4ySBgTcWA10evxb8lxhglg== Received: from BN6PR14CA0045.namprd14.prod.outlook.com (2603:10b6:404:13f::31) by SN1PR12MB2430.namprd12.prod.outlook.com (2603:10b6:802:30::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Mon, 11 Oct 2021 08:41:49 +0000 Received: from BN8NAM11FT034.eop-nam11.prod.protection.outlook.com (2603:10b6:404:13f:cafe::df) by BN6PR14CA0045.outlook.office365.com (2603:10b6:404:13f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25 via Frontend Transport; Mon, 11 Oct 2021 08:41:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT034.mail.protection.outlook.com (10.13.176.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4587.18 via Frontend Transport; Mon, 11 Oct 2021 08:41:48 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 11 Oct 2021 08:41:46 +0000 From: Sean Zhang To: CC: , Matan Azrad Date: Mon, 11 Oct 2021 11:41:32 +0300 Message-ID: <20211011084132.340100-1-xiazhang@nvidia.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7e8a4390-158a-4967-9084-08d98c92f701 X-MS-TrafficTypeDiagnostic: SN1PR12MB2430: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:109; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WRZcrf9o9xsZyfJ/9jp1AI4+TwZRtWWjfVTkTCP7qrcBus2bVovmspH7ngKLN/y0m/hgh9361wQQ2E4Vf0WkyMYvK8xoEGsMpSiHYfcT0+TbrO4gDNGA8S72r1wz8gLe/WxM4aQnfAK+kGD0KKxLlIJtuQPAp9G4LM2UgDlEsyUgN0edLUoRTwN6fzQD70KHlMcNQ2PCKzLbZtWQIXXZGvtGMjiVVPZwuotIU8bbrC7e4MOzWn0G9X/kDi0RfDtKWkIp1lsn8i1ZsNQLjH3R6TmWUAFHKowHRyY3GZcOh6TQ2iDeUcFU8Z3uXnHLpY+hVpS8kFmTkqWqW9tvdKmiUeNrJ4e/V7W6H1W0nTcZniDsuQfbN2Wswa6zevO5S32ybqwZLvJ3jAFOxlIsxZrhDF7mb0Bk5LNuyyfR0bG2Bj+fME9PA0VOCHbUCWjiDGXxskBUXK5Q93NneYC2xBsNWuLw421slbNFic/tPB36MbRaDjQ6kA0KePjxDscNOeQbj9iAOr8tC/seJUpSRCiuyHVLWRYrYCpotBZqcSNVV3Y8VURF13N0zsR9Kp/AZFycj8p04Hd05kcAybV55UV1Pn7YZWPrPk9jtKxtc+It0NSVfpU/h6yVJMKQgcvPUhEkQN4KJ+VyLAS2wTtEtE5dF7vtqY73009wkDNSP4JkTDNeGBodOwKKifVgxl0ERsS4AR7HGDxztZDdhJMy4xIMNQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(336012)(1076003)(8676002)(7696005)(2906002)(86362001)(83380400001)(4326008)(36860700001)(316002)(450100002)(55016002)(6666004)(8936002)(36756003)(426003)(5660300002)(70206006)(186003)(16526019)(6286002)(82310400003)(70586007)(2616005)(47076005)(26005)(6916009)(54906003)(107886003)(356005)(508600001)(7636003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2021 08:41:48.5105 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7e8a4390-158a-4967-9084-08d98c92f701 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT034.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB2430 Subject: [dpdk-dev] [PATCH] common/mlx5: optimize debug log 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" Remove debug log inside of mlx5_list_init to avoid flooding debug messages when creating hash list with large actual size. Fixes: 9c373c524bae ('common/mlx5: move list utility from net driver') Cc: stable@dpdk.org Signed-off-by: Sean Zhang Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_common_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_common_utils.c b/drivers/common/mlx5/mlx5_common_utils.c index fcc81f05c6..775fabd478 100644 --- a/drivers/common/mlx5/mlx5_common_utils.c +++ b/drivers/common/mlx5/mlx5_common_utils.c @@ -23,7 +23,6 @@ mlx5_list_init(struct mlx5_list_inconst *l_inconst, l_inconst->cache[MLX5_LIST_GLOBAL] = gc; LIST_INIT(&l_inconst->cache[MLX5_LIST_GLOBAL]->h); } - DRV_LOG(DEBUG, "mlx5 list %s initialized.", l_const->name); return 0; } @@ -66,6 +65,7 @@ mlx5_list_create(const char *name, void *ctx, bool lcores_share, mlx5_free(list); return NULL; } + DRV_LOG(DEBUG, "mlx5 list %s was created.", name); return list; } -- 2.33.0