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 3E716436E3; Wed, 13 Dec 2023 17:40:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BDD7142F07; Wed, 13 Dec 2023 17:40:10 +0100 (CET) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 4B61F410DD for ; Wed, 13 Dec 2023 17:40:08 +0100 (CET) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1d0bcc0c313so38676135ad.3 for ; Wed, 13 Dec 2023 08:40:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702485607; x=1703090407; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nP188/uJXTVly2BuP95gWp+P53SBcg9sy8o3XGKfi5E=; b=0lymsX65qGKBPND86GpPGhGAR/sk+u4rUm7vQ/0sYEcHCuZtQ3ty0eGjFn6Ut6sBIL wKLsT0ohlaRD0AEwVan30eRI99m34mRwooa+pW86DZwI1ZnCFWh0rFUDUZ6uXM9AM2is prfnYDVp6MOxztnYc1PItKUZeSq62FXgMskg/aggXgiPqhBXxi6CZplrYMUy5c7oEVfA J3xI7ka8hPiUYeEGgKDpfvWCrYwesYUFRpUultD4sivTkxxxJHmJB3xqorB0ld2qQEGF YDa1M2P5QMICvTl13PYlNs8BVwKxm4gkkAo5K9YPtmNgH0y6mjhwid6l0O2naIgLpBoq z5Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702485607; x=1703090407; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nP188/uJXTVly2BuP95gWp+P53SBcg9sy8o3XGKfi5E=; b=DWQlkydeSv7/vMncc8a1CZZZjY9DrqE3DRNKr87FeyOJg5gXtMh9AvoCZVGdXungvt k5oUejZtL0Pg/0k0fGMVoxg5P/WWP2yyNTQ0w9Nq/NM4Jzk1fLU0XIsiXD2mXxouzFz6 hqgbjgqWpOOrpFmik4vTV7nooDW5ZiXSVCNlVxHi4f9V1PGJUd5aQnzEisX/EDqHkC3V g5hVFFRmjMeM98U8k+zu0yKkcFWk/iIqtnWI4mK1cQ2nTql5GnmI9PIPsOi6DNrC4l4q msae4wn/Qhk+Ry0Ravn27n1BywlFnRFAqaNcuWKFdVu72QPZD6K5RHo9dhzuhsPqbOa2 kp+Q== X-Gm-Message-State: AOJu0YzMZGet0Lx0btkPX44KUJjjm3vVxaHjLkdb4DBzh2FfYRQjmP6k 65JZ8rFHMfH1hYzm5JHBkZOeaBUbzjWXhfGF6WA= X-Google-Smtp-Source: AGHT+IHwJ2BcfghMvyZ2OPrEYql7mAPu/gfpIcFb+3n9KEh8aGKBrbvD7FnXXz0mo5eZGblLXKFulw== X-Received: by 2002:a17:903:41cd:b0:1d0:7490:4ab8 with SMTP id u13-20020a17090341cd00b001d074904ab8mr3818705ple.7.1702485607289; Wed, 13 Dec 2023 08:40:07 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id 4-20020a170902c24400b001d0a6f31519sm10749593plg.188.2023.12.13.08.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:40:06 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Devendra Singh Rawat , Alok Prasad Subject: [PATCH v3 14/37] net/qede: replace RTE_LOG_DP with rte_log_dp Date: Wed, 13 Dec 2023 08:35:48 -0800 Message-ID: <20231213163820.894987-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231213163820.894987-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231213163820.894987-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Want datapath logs to use own logtype. Signed-off-by: Stephen Hemminger --- drivers/net/qede/qede_logs.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/qede/qede_logs.h b/drivers/net/qede/qede_logs.h index 3187d97bb7b0..f7aa14df7e3b 100644 --- a/drivers/net/qede/qede_logs.h +++ b/drivers/net/qede/qede_logs.h @@ -58,16 +58,18 @@ extern int qede_logtype_init; #define PMD_INIT_FUNC_TRACE(edev) PMD_INIT_LOG(DEBUG, edev, " >>") #ifdef RTE_LIBRTE_QEDE_DEBUG_TX -#define PMD_TX_LOG(level, q, fmt, args...) \ - RTE_LOG(level, PMD, "%s(): port=%u queue=%u " fmt "\n", \ +#define PMD_TX_LOG(level, q, fmt, args...) \ + rte_log(RTE_LOG_ ## level, qede_logtype_driver, \ + "%s(): port=%u queue=%u " fmt "\n", \ __func__, q->port_id, q->queue_id, ## args) #else #define PMD_TX_LOG(level, fmt, args...) do { } while (0) #endif #ifdef RTE_LIBRTE_QEDE_DEBUG_RX -#define PMD_RX_LOG(level, q, fmt, args...) \ - RTE_LOG(level, PMD, "%s(): port=%u queue=%u " fmt "\n", \ +#define PMD_RX_LOG(level, q, fmt, args...) \ + rte_log(RTE_LOG_ ## level, qede_logtype_driver, \ + "%s(): port=%u queue=%u " fmt "\n", \ __func__, q->port_id, q->queue_id, ## args) #else #define PMD_RX_LOG(level, q, fmt, args...) do { } while (0) -- 2.43.0