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 093F5436D9; Wed, 13 Dec 2023 05:21:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6D1442EFF; Wed, 13 Dec 2023 05:19:40 +0100 (CET) Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) by mails.dpdk.org (Postfix) with ESMTP id C94D542EE8 for ; Wed, 13 Dec 2023 05:19:37 +0100 (CET) Received: by mail-il1-f178.google.com with SMTP id e9e14a558f8ab-35d725ac060so28701525ab.2 for ; Tue, 12 Dec 2023 20:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702441177; x=1703045977; 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=irwJcKfbBzPYRAt09rygOjnSHw9N4QZ1suXUeuwU5hg=; b=XdyDw5XNFsyYPKO1ulXgTx3wUF9/MIGocgNhV5CdFN3QPiz09cdy1U49nu5UBFhFFQ RAdoTP4pBv24UCJDGOJvc81UIc2Ju9Y+Fq+LclWqAQ/RDTPFvixjrTJrvIhFKNadqQLb V2xSwciMi3Wa8qMpnS7aW6X+ddvLn3DoL1tgj8g+89Mtft32NB4Y+WkoyfnIfkeqrBTv 6pqIcR9n9M5shN9nebwzZFI2KtsPK1js2SnogcwoiEyczAr5NbztQe1Kx+hyXGB2DbEr WEzSGij/gr2/SBoOyZSkEyNEPAoTcK2zUugTFirzGH4F3KJQpB5oNBH/FE7CvB2VD2hg vB7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702441177; x=1703045977; 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=irwJcKfbBzPYRAt09rygOjnSHw9N4QZ1suXUeuwU5hg=; b=UQHPIR//8Mrimrn48pWilC7VlK+uD4Gl86smiS45ig/7YsVXmcU3RmvvQEKcuZIUdY VUQgrR4qObrbOgOyEV0k37wFWHH+DsfCWGww+RAHQ60jLCDl3U19eTlLVvbLtkdrFb7U LyOmFzLrC/CbXTHb5tXeyr8zEhzuzYtLR+/4HXXPZsPAcIacOWXADSWOyMi9DRHolPtG aBTMQioAqdhAjmo/9NvI4H5hrJSESAhs+OzA7HibQyp4nuQXiYevQ3aROZk7eOaEZ3XW q0k5gaY9SaMF617yl1YJT56un/LaN2BYdhZKj4KpXvGEoHZNivun2LDKHtCJfBMK0BXy ZjMw== X-Gm-Message-State: AOJu0YyJvVo/+sQtu2eyclKraHD7BuPUIa7RotWgrRllxitKRzL08S+Q +JWbYXc5CMOj8i/cwMbfFkLKwdUuGdGJOH86U5k= X-Google-Smtp-Source: AGHT+IEAMpf68naj1+P0L12Ef1Wg7weKawreBH69Twi0FEe57RiQjHER1GKfydBr3MOBaO6DcniBaw== X-Received: by 2002:a05:6e02:1d0f:b0:35d:6ac4:a430 with SMTP id i15-20020a056e021d0f00b0035d6ac4a430mr11852881ila.50.1702441177235; Tue, 12 Dec 2023 20:19:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 20:19:36 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Devendra Singh Rawat , Alok Prasad Subject: [PATCH v2 14/25] net/qede: replace RTE_LOG_DP with rte_log_dp Date: Tue, 12 Dec 2023 20:16:41 -0800 Message-ID: <20231213041920.729403-15-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 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.42.0