From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26955A0562; Tue, 31 Mar 2020 19:32:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A88911C0D6; Tue, 31 Mar 2020 19:31:30 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id AD1DE1C0CC for ; Tue, 31 Mar 2020 19:31:26 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id o26so10630383pgc.12 for ; Tue, 31 Mar 2020 10:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZyZfhZ5DpSzXyTh/4YlHeDyF8WAHch7RaLsHQIFNklw=; b=ZMudX4p9KqVSuKFF1gXXS8xfsXlsps4bxBMebBdp7L2+sRaRHowBVT2IM3UJKLm3FI MFHEL/a9o5c+FE9PmoebBgbOLAhTr0KcHh0IDQR1RptJ5zg7ldpT1UAlxKE78zowZSTB yxp8wlqmuNyXWqsxaIiMeMiOM4MtsHk4avYBwSIQuk2VIHnzx0Lzu8xq7k9RXoYd3OhZ tBZCw3UQrW/9LhMYwM1dH+o2XRbpVO1amFI4WHeq5ViuzP54OTLfWbD6bO1aFTQn4kJ1 B72B790j8456FeHJliq2tPDDyAONB6yyXSQ1NDyUe6IBVtaPg+tLLTrTiJkA8FdxLym6 4hpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZyZfhZ5DpSzXyTh/4YlHeDyF8WAHch7RaLsHQIFNklw=; b=XubquLSbv6Z56lVAzuwEPbRCf9uvOIajrJqTTZCHqiEHdzb5xXlKBw7Vnnk1zNlbQF x8AEJuMGChYZ6j56e+HO5FWhOafPBPNOOzyHgom/uLxuLHWOua9quj4LN3n4GEKe5pyL A6kc4jOF5MzEzQ3eI3ytwkwcZjnpxKLb5uwUerUrDrGOOzRZ9xkE/OEx7kzqsvWs61+R W5K5Gst+PEOsweCGL0pjLs1h+jiK92puQjRxYk1O/V37AxTmPBHCHglwY+ToUNZwjApS CgjXT6P9xnwMElYKqszwqA2K7oSWIp/ayqLXeM9L3CFxk2sjQZG2Esez9JBUJHnJ/EuJ M9Ww== X-Gm-Message-State: ANhLgQ36Ux6WogmW7w/qfJU/x9rIj4RdsMuS0GATg/7THRFufJDnXk6S 6Zhy2U/Rw5QLxGWXhzhjvuavCc3nwfvn5A== X-Google-Smtp-Source: ADFU+vuG8aI3uQZstE4VMWeRLVZZj8Q6ajGXpoz4+2NCZlLStHs2pMhm49tfrZZsX2+z8kxXZzm9Vw== X-Received: by 2002:a63:a70b:: with SMTP id d11mr18873460pgf.358.1585675885096; Tue, 31 Mar 2020 10:31:25 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 198sm12999261pfa.87.2020.03.31.10.31.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 10:31:24 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , g.singh@nxp.com Date: Tue, 31 Mar 2020 10:31:07 -0700 Message-Id: <20200331173110.25746-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200331173110.25746-1-stephen@networkplumber.org> References: <20200331044156.31935-1-stephen@networkplumber.org> <20200331173110.25746-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 4/7] net/pfe: do not use PMD logtype X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The PMD logtype is a legacy from original DPDK logging. All drivers must use their own dynamic log type. Fixes: b1bc1afa4a0e ("net/pfe: support dynamic logging") Cc: g.singh@nxp.com Signed-off-by: Stephen Hemminger --- drivers/net/pfe/pfe_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_ethdev.c b/drivers/net/pfe/pfe_ethdev.c index 940347819875..59b5b8387b9d 100644 --- a/drivers/net/pfe/pfe_ethdev.c +++ b/drivers/net/pfe/pfe_ethdev.c @@ -990,7 +990,7 @@ pmd_pfe_probe(struct rte_vdev_device *vdev) if (rc < 0) return -EINVAL; - RTE_LOG(INFO, PMD, "Initializing pmd_pfe for %s Given gem-id %d\n", + PFE_PMD_LOG(INFO, "Initializing pmd_pfe for %s Given gem-id %d", name, init_params.gem_id); if (g_pfe) { @@ -1118,7 +1118,7 @@ pmd_pfe_probe(struct rte_vdev_device *vdev) else gem_id = init_params.gem_id; - RTE_LOG(INFO, PMD, "Init pmd_pfe for %s gem-id %d(given =%d)\n", + PFE_PMD_LOG(INFO, "Init pmd_pfe for %s gem-id %d(given =%d)", name, gem_id, init_params.gem_id); rc = pfe_eth_init(vdev, g_pfe, gem_id); -- 2.20.1