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 ABFF1436E3; Wed, 13 Dec 2023 17:39:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DE04742F2B; Wed, 13 Dec 2023 17:38:42 +0100 (CET) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 895BB42F04 for ; Wed, 13 Dec 2023 17:38:39 +0100 (CET) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1d08a924fcfso66490035ad.2 for ; Wed, 13 Dec 2023 08:38:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702485519; x=1703090319; 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=9CaTUhujiCpPiPurkn+zc7fTiPTFh/8DEbU0wQ5edro=; b=wWl7T0ube0Z+zaJQCDp+t2k8YNThXo3jGaK1UqmDbLV4X1ZKqPybvdkBYYzqn8nVRb u6pdzjL47/ktaxKvm7vXcZWJM9NZkj66C9TMiQIj69zwt1FOD1jWnxMPZh3u16Dv0Fsx dSrP2yqMCVcOZdtG4tzaGwbXkltogf/nslRBpGjxowWYZVuoNdZ6InuNEEseAb1ixLAL BFAj+VCh6e07hTeU5+ffJphudKz/IxSXex1m91UdLj1TGeNHDIwDdk8rd25GjR66NRrc 8aPumGIyvH4HX0G2m8pxdhozp4rOJT5CuW04//CswyamBwDxZ7dgN9jvjRg/WoEO55QD 4zxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702485519; x=1703090319; 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=9CaTUhujiCpPiPurkn+zc7fTiPTFh/8DEbU0wQ5edro=; b=cH0JmBvN3X+L7sWYwokQJ17rJH4Hshv3cs91ZVXvebyhjbeLiV6QYpbg1k+SWdQ7WO PCoFKPJeF63PFJq9plERp9q138Hb64jMj3DcRFyA9OGYMR75O8yPWBJ1geLHFOqP/iKN nVYecNv0K31o9RrwZq7CZH05/IkO9xpxEsrs/lyUN9GjgwHhSwiWSUXK1ONboPMfziHO ETtbttVe/+Xgy6mcaNmq5GUOh9Zg4iEu/O1fS5XJgJNV5k9slfCqPXZnRYRpEj/aWA3J XDSNdWtljyKTvBafUwJVUsboqvGSS9YAzo3T8dV0ZmhYsmHZ/2m48ykXTmCths+NsGWP 9YCA== X-Gm-Message-State: AOJu0Yy4IzwJBdpMI2d4yYQ+L5XbGCbOqBwzpZjflsXTAs5sXalpL2// FD60ihd4rG6QIUVCJbMefPoNgQj6O++9QeQE9EQ= X-Google-Smtp-Source: AGHT+IG36JUOr5oWObRR6VRemrE285wXO6bzWW8/giGeQdku0QHa2fUVYwp1i1aYWGFRosmigBfkmg== X-Received: by 2002:a17:902:d2d1:b0:1d3:417e:ddc4 with SMTP id n17-20020a170902d2d100b001d3417eddc4mr2982836plc.14.1702485518840; Wed, 13 Dec 2023 08:38:38 -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.38.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:38:38 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh , Sachin Saxena , Apeksha Gupta Subject: [PATCH v3 08/37] net/enetc, net/enetfec: replace RTE_LOG_DP with rte_log_dp Date: Wed, 13 Dec 2023 08:35:42 -0800 Message-ID: <20231213163820.894987-9-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/enetc/enetc_logs.h | 2 +- drivers/net/enetfec/enet_pmd_logs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/enetc/enetc_logs.h b/drivers/net/enetc/enetc_logs.h index 0976d42debd7..05a540f16490 100644 --- a/drivers/net/enetc/enetc_logs.h +++ b/drivers/net/enetc/enetc_logs.h @@ -30,7 +30,7 @@ extern int enetc_logtype_pmd; /* DP Logs, toggled out at compile time if level lower than current level */ #define ENETC_PMD_DP_LOG(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt, ## args) + rte_log_dp(RTE_LOG_ ## level, enetc_logtype_pmd, fmt, ## args) #define ENETC_PMD_DP_DEBUG(fmt, args...) \ ENETC_PMD_DP_LOG(DEBUG, fmt, ## args) diff --git a/drivers/net/enetfec/enet_pmd_logs.h b/drivers/net/enetfec/enet_pmd_logs.h index 72d1cb61c598..c0a226284c53 100644 --- a/drivers/net/enetfec/enet_pmd_logs.h +++ b/drivers/net/enetfec/enet_pmd_logs.h @@ -28,6 +28,6 @@ extern int enetfec_logtype_pmd; /* DP Logs, toggled out at compile time if level lower than current level */ #define ENETFEC_DP_LOG(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt, ## args) + rte_log_dp(RTE_LOG_ ## level, enetfec_logtype_pmd, fmt, ## args) #endif /* _ENETFEC_LOGS_H_ */ -- 2.43.0