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 2F359436D8; Wed, 13 Dec 2023 02:47:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C6FD42E99; Wed, 13 Dec 2023 02:46:58 +0100 (CET) Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by mails.dpdk.org (Postfix) with ESMTP id 8BFD042E6E for ; Wed, 13 Dec 2023 02:46:54 +0100 (CET) Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-6da330ff8fdso216642a34.0 for ; Tue, 12 Dec 2023 17:46:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702432014; x=1703036814; 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=pQCmlFJoKjsicLeau4AdAT/BSpz5Ej6sm6P4Crgrm4o=; b=qZ6PFqKhhXUrM63OUSti86Q3yRCIfxlVicYZKCELuPNGgFEMsZcCafFUByMizx9ByC oIG6+rrzvHMV5WSIGXjdbsUhkkGm1qFkAckIi5dp7Ap1xzQ15crnsgoQz09JBtlDGjIR VHPSRNmXiS/S9bDn1HQ6F6VCjiXg51qRK5KQuc0ALxxr7/hht4/qQu1ffFkkfYyrNJrd wi9sVLKgIrosL2rdNIjuhqNmm1K19XNdpEQbrhM2D0MrQJJOL3B1X/KwM6Clc3gPxVJ6 jxYVwrM7BYbSOYKWbQtym53YjL9jGwr3+wLYgZ5MJ1LibS5JSna3bYusWdu/ocVlDmoL m2pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702432014; x=1703036814; 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=pQCmlFJoKjsicLeau4AdAT/BSpz5Ej6sm6P4Crgrm4o=; b=rJFOhvRLbdj42tDr/uLrQHYVv0agL2ShZ30VvmBj02LM3GQBKYqbLcPAHh2VEpeU1Z 2De7ssZLDPna0IQfSI+JYJUgMkvHVhL7hmS/E2D5SUFOz/+31QgBii2mTKPHsbAUGJMK Ns5nB0KE89JynCQ7LmvF33jt4a5aZiLiKyYAbo7h4KOoI6rqy0ZQ52a7QrSmLtYgZbhb T9tMyz40IyEJzU6heeKJlFZDy5yD22ZnMRoMIlJiBtBQwZeaRxVYfXFldVd97HQSSW/S gSMouIw7n6hosR/xlGmhaONzgWdkxKEVupr8SEQwml+GiKb8yCRBmzkuZX9+x8KlS2i3 UbDw== X-Gm-Message-State: AOJu0YwXcwQ247QckJO2Tth3DchBhLGjsEEF63JJoaFj5asH+FJkjOqu mbFnL0cRj3SnLYYrti0/cDjCIVMARUQ2Logx3nnBqQ== X-Google-Smtp-Source: AGHT+IFFNeCnxqOO6i7PezLjgAQwNZmWVnhQJsIJPUmy+emmQWI6DeMaPnQbscAPk8tnTky7VjOpVA== X-Received: by 2002:a05:6808:114e:b0:3b9:da57:8b48 with SMTP id u14-20020a056808114e00b003b9da578b48mr9169149oiu.80.1702432013967; Tue, 12 Dec 2023 17:46:53 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id f7-20020aa79d87000000b006ce5b4ade28sm8988375pfq.174.2023.12.12.17.46.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 17:46:53 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Devendra Singh Rawat , Alok Prasad Subject: [PATCH 15/26] net/qede: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 17:42:31 -0800 Message-ID: <20231213014408.612051-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231213014408.612051-1-stephen@networkplumber.org> References: <20231213014408.612051-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..097294be9c71 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, qded_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, qded_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.42.0