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 E8CC8A0562; Tue, 31 Mar 2020 06:42:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 114821C0BD; Tue, 31 Mar 2020 06:42:18 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id CE6831C02A for ; Tue, 31 Mar 2020 06:42:12 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id c138so98053pfc.0 for ; Mon, 30 Mar 2020 21:42:12 -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=ED71UlEqrAmkE/jzqbAFBV9NeUvrIXCjAKrdJyKQ5FKzue0tqEhL1wUmZwZO571+Wk QZ0Iodbiq1IbLtkcEJoXeRdVm6+9tSVpMLs2/D2xAP/zvRMUMahusAa1WaFInXfX7GIJ l3WnC+ph2asN9TesGPI67I7jgz56wmIvrs100kGqfkojpnpjQAg6qDt724qQTpzMyQVi qNNzXImiEM4yy0svIRfl/3r4UmLNU7n+1BQ7jDnHJhejYDpnfLR3YC59sV1xnkEbx7Td rJc3e9CmG6PHqkbFfIcsXAigfgy3t3Ch1ol+BomUwFIaRFilsyNkF22j9MSNAFoc7WPr RltA== 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=ck92B/ddpEw9daZWDiuwhu1RgHdoZsaWPn5nD4S6H6PN524/XE6qC8Urx63bv1a+8D RuxWWoT6lchM7WXJWYzRSX/LZRTFZuVPRRBDq7PYVaP8AfKqvJ0xxHMRerb1tgT9hIwp qljOWkRF07yZofrPhwAs5PrDUSkw2L5xax35LaLXXaHbR0atYJogsfxmBLR/LoN6dYTz jq4wuRsB6Of9GDe2YIYNFUBPqa1epI+ySWFG+eBxHRyHMB7mCszM3UKvg/wgjBwfWm1Y FcR4/F+9JVGIEDX3EcXSiicH9pK5CK2TlvlcLGWSOF076+V0a2dYhHS+1l8wTCSmSadt h7tw== X-Gm-Message-State: AGi0PuY8DkZWCcJHGEkBz7/9051c0A0j3U5HHbGtV0PS0b2qiXxBG8b3 nuaihSjFuup437I9zd5ivrTYfx4u4DYgRw== X-Google-Smtp-Source: APiQypJm9rfeCyccA7D1WHORvS6GDzmxxzw6uiKs8n6LBtZFSDvEFaalJSvk/jsrbwlEbs0NR+qGTA== X-Received: by 2002:a62:2b06:: with SMTP id r6mr4979235pfr.249.1585629731580; Mon, 30 Mar 2020 21:42:11 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id u129sm11417107pfb.101.2020.03.30.21.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 21:42:10 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , g.singh@nxp.com Date: Mon, 30 Mar 2020 21:41:53 -0700 Message-Id: <20200331044156.31935-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200331044156.31935-1-stephen@networkplumber.org> References: <20200331044156.31935-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 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