From patchwork Wed Dec 13 04:16:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 135128 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0CC5C436D9; Wed, 13 Dec 2023 05:22:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE52542F43; Wed, 13 Dec 2023 05:19:50 +0100 (CET) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by mails.dpdk.org (Postfix) with ESMTP id 465F042F05 for ; Wed, 13 Dec 2023 05:19:44 +0100 (CET) Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3b9dbbaa9a9so5343916b6e.2 for ; Tue, 12 Dec 2023 20:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702441183; x=1703045983; 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=3wCacuhbOM0vgaFDwsYI3Eip8vtEwH8hW/gZmoqwKWI=; b=LpmyB45v/eCydPgj6rHfGrzbx8m0/MNiGO3QcsFrCbzarXnmGOwTOBidIPcqoJ7txz q1i/zdmDeOLUmCwERhsRCoNt7p30k098DAG2I+Y5JhccQ0cR/IhpxAp3PAewnha2DVlX CSBhVaLNFFtvWHz1bxUP4tF4zwo8rmqJu3+yYB+spQ5vspUEiQKYoyQS7h2e75+8SeBL OtV1zwfPRmqDkxspjcV1bbVnT6rAcTgWqrg4RvtFKyFAWA7eTDB6FUXirKgUZ/HvxYjW ixqVZ2NshTdaDvwPHvWLCRHeFQSE0tTB9d5sijGwAsD3veBN0g7d2+FrqJjiGI8X8T/W 3Umg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702441183; x=1703045983; 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=3wCacuhbOM0vgaFDwsYI3Eip8vtEwH8hW/gZmoqwKWI=; b=HNReRcQNNH7moGqv5WsEG3Tmm0aZuUSnWCdTY2Nda/tq/OQ2cCuhU70t5ZrWlBMHSg LMKULb0DRqfmr+uPh/PUW3P6tii7btpgN+Xzna5dttyzv/Nr/AVb/hBnps6EOph0sB7t VVTKBnp9H8J8SV4iUki+cZ/AUHlYyCoJBzFF+mRGf0vKLMH9i6lk0jY/oYj2MEOOU9cM r1r1tlnj5g/WVCIfFARbuGVVgCMCiG727j9zV6NZoBlGhTS6IIG92/Od6exRas8uVsR+ sAHtA16P6bSASLDa6ytVRFeTXLAVLxGcAWO4+JZrI+f5OSJHUp1md3n8iJ9lBjVrxKDo C57Q== X-Gm-Message-State: AOJu0YwfIRk259de5cHzy2zijoAh4fGq6cZAgbexnB/0AV9N0q9s6CaI ptE9gM1fowNSLd1zea5YmJS8tYHtsEJUviEIqgA= X-Google-Smtp-Source: AGHT+IHYtNk6xPnqJ9ZKUGGX/r9lWJaUBibzuItl6+YSiN9XUy+gzlQ7OvK1J8DFUDPIKaJ+BV8JeA== X-Received: by 2002:a05:6808:3012:b0:3b9:f1d6:9b82 with SMTP id ay18-20020a056808301200b003b9f1d69b82mr10258626oib.43.1702441183653; Tue, 12 Dec 2023 20:19:43 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id p12-20020a170902e74c00b001d077da4ac4sm9340888plf.212.2023.12.12.20.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 20:19:43 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH v2 23/25] bus/fslmc: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 20:16:50 -0800 Message-ID: <20231213041920.729403-24-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231213041920.729403-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231213041920.729403-1-stephen@networkplumber.org> MIME-Version: 1.0 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/bus/fslmc/fslmc_logs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/fslmc_logs.h b/drivers/bus/fslmc/fslmc_logs.h index a1e14dd84e9a..edd74af04d7c 100644 --- a/drivers/bus/fslmc/fslmc_logs.h +++ b/drivers/bus/fslmc/fslmc_logs.h @@ -27,7 +27,7 @@ extern int dpaa2_logtype_bus; /* DP Logs, toggled out at compile time if level lower than current level */ #define DPAA2_BUS_DP_LOG(level, fmt, args...) \ - RTE_LOG_DP(level, PMD, fmt, ## args) + RTE_LOG_DP(level, dpaa2_logtype_bus, fmt, ## args) #define DPAA2_BUS_DP_DEBUG(fmt, args...) \ DPAA2_BUS_DP_LOG(DEBUG, fmt, ## args)