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 A720BA034F; Mon, 11 Oct 2021 10:46:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 494BF410DF; Mon, 11 Oct 2021 10:46:25 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2065.outbound.protection.outlook.com [40.107.220.65]) by mails.dpdk.org (Postfix) with ESMTP id D458C410DC; Mon, 11 Oct 2021 10:46:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AIblkBKBsoMfaowccowD0KwEKcie7U8n3ZO1tVvfilZ4nG3MruJ3IbDai/GID0xa2mreBCZeg7G2bXMURvI0qFTJQ0MTXUmMad/CVuRT6NSBP4YZaI5WLilIkwVMfr9XCLKZhsv1RX2dB4PVkNoczD7/vbmQVhaGYKm1E/Hzek6Y60CZKLJK+hEVxpr69IKyp8f97ZPpkdkd/XZzRa7EYWQH+iRTWDi5GiYMAcsuIL2hGp42hy8tVtNPtTWrWhrviBxKflTA0DfqMujWNOx9P9vgfde1rKIQU8sKLC0+qLP9YmKeqBormtYj5I3XP3DMlQN4gJP0yAporQY/1NPnFQ== 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=+uhWuLDfiaeHYkbV6vvViUAgkBCo2FpklEUOCqqb7Xs=; b=UHR7LIQElVqYfA/nN5DfE16np9nZhI/MWE0zjovz9pTlvHw/I07hZu9EERzU0w+SJedqg83rpcra5Xe2BUl4Ssa5VMWXyxrBdkFeu4wnKmxsD/ctt7/8RYYYwcF+6ACmg1SOvE4E11+z2pgpIHIE+VLNaZjBMNUeN4PXChdQ4sphTxluJYkM4yMTAZuPkw5ZjSl9nvdV527TJW1teP+6PdlDJRJ9GrNBeGtgQsnitPQO1Qp2JE3GaWBzdoBbGxxpHzToy7/OKFIUOChMpys7fgf6tuOKDtTG2U64EvMw6DPsogr/msNZpuYgEubtPQMetobVGR1YWeroEHOKoMoKmQ== 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=+uhWuLDfiaeHYkbV6vvViUAgkBCo2FpklEUOCqqb7Xs=; b=m8i8Mc+qsn0xvq4C8FT4Otozkj519YDzvQfjrX+GDGIg8LZh5KEGBDi8Fo7a0IJLJ/yNvnIydJ6cRaimN2jjrratvfr3xJR9x9tK/4uN4LhsY0SuX5smJGa5UX1UgQTr9bsx8lqdmQCGvsk1EmivCTGyHxcegRf6eEesfW1TgWXCn18HLHKZ/4GXkF3M98tPoqmdAGt2hL/YnvHQNP0LsbzfSebe+dr2hoKh3TfLj7IZUunsCnSDu5v+ZJHPb1knXR0iS6QpIBt72U2q2BIruo99hWTD64PxrALbw6Id6RTob6QcLzMe6L7SwwFD7wasroMtel5SrAIGEB/3SkmD1g== Received: from BN9PR03CA0605.namprd03.prod.outlook.com (2603:10b6:408:106::10) by MN2PR12MB3232.namprd12.prod.outlook.com (2603:10b6:208:ab::29) 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:46:22 +0000 Received: from BN8NAM11FT030.eop-nam11.prod.protection.outlook.com (2603:10b6:408:106:cafe::35) by BN9PR03CA0605.outlook.office365.com (2603:10b6:408:106::10) 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:46:22 +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 BN8NAM11FT030.mail.protection.outlook.com (10.13.177.146) 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:46:21 +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:46:19 +0000 From: Sean Zhang To: CC: , Matan Azrad Date: Mon, 11 Oct 2021 11:46:03 +0300 Message-ID: <20211011084603.340291-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: 56bd0f9f-61db-4bdc-b6b9-08d98c9399e2 X-MS-TrafficTypeDiagnostic: MN2PR12MB3232: 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: iQiMrHCIbGbwvdvYaVuuw0cz98vstPQdGNQg8lqxdWqdZfrT0jQoCIUSiHPHb0d7nDhO4j7XTWAzZ1iFOfONTcvcaIKKfHKvK87BlNRq36akYvqQIQb57CK/cctizyrSaQb7eXTQW8R4EQivM0GGv/Jzqagc5ZiQdoGtXGOk2Azyt1kNUvBGD0MrMzrpxyKvSbfFmv5yhM6iRT4Ee5HT/AEZQlyXW97oYmiLhDxc4rt2Tl11J/8A3ygSsAaZk8OE577TeJoaCW18HMX1rYzb5ets0pfWU+A58wopZjXX/K8+QFMzv3PyV443MUvCMMILBHS+a2AA+tk2vKdjZP+AZ6AVCGPystEGKLMTAi6PpamSpx93KFHc9UKcLoyrfnfC2IrI5qhlXIe9vmsZ/jk7OovL5DlZnO5tGMQi4o0rMGiKcvdpJmOHPdScdrZ1lKGQJSE+DiR70g/RxIZnL0RVXJfs3IoMXA1wfLOUe66xrZa0Fdq/uKJEkviNPpDOQln2IN8ukfpAAXISZLcvwAiu+0d+mn216nZjOdX1fTCtks0TEIIYvKwQ1NIrQ4g8HUO3ctxRJu2UD4J75W/cyPYNFvxM9frZAoAqpGbrdGuVHrWSIjQ19H9YHYCHTgqOJ1WVsftRxZr4+5jgc/1fv52N6x5DtUW/aK6fpuCjfIV9gBvuToE6yobojA94xPvxA22JJXTIs7B2pWa+L2lNQIlxiQ== 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)(70206006)(70586007)(1076003)(107886003)(55016002)(356005)(86362001)(36756003)(36860700001)(7636003)(47076005)(82310400003)(8936002)(26005)(2616005)(426003)(5660300002)(6286002)(450100002)(186003)(16526019)(508600001)(336012)(7696005)(83380400001)(6666004)(54906003)(6916009)(316002)(2906002)(4326008)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2021 08:46:21.7799 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 56bd0f9f-61db-4bdc-b6b9-08d98c9399e2 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: BN8NAM11FT030.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3232 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