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 7C203436E3; Wed, 13 Dec 2023 17:40:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A4FA42F35; Wed, 13 Dec 2023 17:40:16 +0100 (CET) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 40CEF42F08 for ; Wed, 13 Dec 2023 17:40:11 +0100 (CET) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1d045097b4cso41843495ad.0 for ; Wed, 13 Dec 2023 08:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702485610; x=1703090410; 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=BA2FfLkWUPQIbr1OCO+cp1ahlWVd9ZHDkLCJVnmBTqM=; b=F4Xc780OBhqEbenNsZyy5B3lLnWWiY1gs5XD+8aMoESBR0SEo+76IQROhE0dgvx2J4 +RI3MLv5O4/x9ku8Ote13Q4XN12qQowvusDAhcEFqT72a9ne0ceJkacpYlLJJRgz7ie/ Oyfi4x6cymXy94pVhP0h4m4i4JbFsTtcFT9hfAicz0k6r0pCdE1+8q2XgKUg+7jZ665S o9zkspOnYn8tNwtI+vukLTnIqsnziKKUqCM4JwQ+ql4pKOmVpGjmeYVuPdAjVYMvM/oH FXTkqIG54+pAkWSrcUSbpZi12JzkunaD/9fJNs64GfYwCiBZcY9gs6L6b0MNdPjszPiM jpWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702485610; x=1703090410; 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=BA2FfLkWUPQIbr1OCO+cp1ahlWVd9ZHDkLCJVnmBTqM=; b=firab6kp0HP+zNjiZc++WbF+okdbSCKHsrgiqBzO33iv3JgQD6zaqGaERmtHK3dVt6 Y+pz7b0PkQWoC7F/VEb75jtX3I8PtU1A5a/pgCKGmn+4NE308sdWKAxzWSSq/2hfPeWO yTA5E4DNishs5fLpjmw9rrL8NcARWDNA3AMOpfL5UZctxbSC3jMBlVbbuTt/rJ71RalC JmSXHYo3gFl1FqaNo/p4iVvJh6yjrXRKJsC6P+gGJ1Fu9ab3b8UT81jaiNNBAeK94z/B bnIwrwHDDEzxdopxSIDvkZEZ30BOWbYyuVla0Sc0QiqWySr9T8/Dk/eKU0a5LiKRbNk3 xNJw== X-Gm-Message-State: AOJu0YxTJ511R3qnQE3uHJrrq95Q4LCarZGk6A16g6WkE/JK2gzSWJ76 siAZj6bFP3A1A1fZ1caupmP2006kDS9WxDj5Pjw= X-Google-Smtp-Source: AGHT+IHLXzOROIrzti2x7VvyvDI4RhVD294nuMFPSG5V/qu4EELjWFPhRkqbbHqqthWCO4z9YA1NrA== X-Received: by 2002:a17:902:c408:b0:1d1:c96a:c72 with SMTP id k8-20020a170902c40800b001d1c96a0c72mr6107497plk.49.1702485610497; Wed, 13 Dec 2023 08:40:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:40:10 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anoob Joseph Subject: [PATCH v3 18/37] common/cpt: replace RTE_LOG_DP with rte_log_dp Date: Wed, 13 Dec 2023 08:35:52 -0800 Message-ID: <20231213163820.894987-19-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/common/cpt/cpt_pmd_logs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cpt/cpt_pmd_logs.h b/drivers/common/cpt/cpt_pmd_logs.h index 174326c6ce38..6b78fcb6b6fc 100644 --- a/drivers/common/cpt/cpt_pmd_logs.h +++ b/drivers/common/cpt/cpt_pmd_logs.h @@ -34,7 +34,7 @@ * level of 'pmd' has to be used. */ #define CPT_LOG_DP(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt "\n", ## args) + rte_log_dp(RTE_LOG_ ## level, CPT_LOGTYPE, fmt "\n", ## args) #define CPT_LOG_DP_DEBUG(fmt, args...) \ CPT_LOG_DP(DEBUG, fmt, ## args) -- 2.43.0