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 E935DA0562; Tue, 31 Mar 2020 19:31:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C73A91C0BF; Tue, 31 Mar 2020 19:31:24 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 39FF81C0BD for ; Tue, 31 Mar 2020 19:31:22 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id g20so1171181pgk.10 for ; Tue, 31 Mar 2020 10:31:22 -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=3Jr3fjP0rIx5UsynO3o27dxl+xUKTyA0kBPWq6+Ex1M=; b=Xhg9YJ0MjCQXWmgIliYhy0hgEkWoBKeX2Ep8c6p/F9KSUe4DGk6Nwcl12Lj/7jw/AU uoOr8lfS6GvtWqYuqEaL0R6H0zojkTwikdO0iUlY3NA8nbqYyHnDhS6ssht7jw8jDq1r soHNppgnA7AstT0CcFIQyXG7Kamk4baOSGk28YSxieEUDQqwlNhWy/9nI1pXE5T3/SRK i3kG5dhpZdRX92j/OUjb9o/rF8NLiUS5nlCWKrsrc6Eb+H1yzCRWOBJmSfnNsXYSrG9q tjJGmXq/Ic/mLpfTHQDxGMMaJJGf4HIBWYDPZfltvfNL03LQYvmstJp7dn6LlCCAKwbj QXMA== 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=3Jr3fjP0rIx5UsynO3o27dxl+xUKTyA0kBPWq6+Ex1M=; b=BM25WjEn41WQVH6/XJ8ob7YT8vC/Y0BX9xYO8FEj7qvKpZ/Rwy+fLt1JLKMRuV+noJ Y6c2xslbOeWOgqV+RorxZ3fImmk4hYr1z6VquXje463AnoUkpGk4fvS9TwLrv8Geu9rM M8od+MHmeWBE2uuFygBwZptwt/IUDHZmwMIb46WMFrmMhw5NYpRfJvc7WVV4/JTz9hTG FVwBWq0RN8QUb4mUlWC/cHVH4crEZywJ+rcTnKpmLOZE++PVANcn42quxTEDqqy7NjmU Pl+Ivegsna+GV5Z3jJNXBoxlPKTmdb0/KTHLlaLa8y/778b9q6/dhvVpuNWguYV0eq26 ueYA== X-Gm-Message-State: ANhLgQ2g2Ih+kdi7aWI/zohLZomLRz/gUt7I7pyZgd0Wy8mOLaTwo7Cy iF1rTu5bt+i6LoK3pFN8pb+yY6zrNCt4WQ== X-Google-Smtp-Source: ADFU+vvfYH7nMv5RyIjU22HcuoYRlEhjdGkZPQDnKQungDZI973IdGYzrmaVVxDviAqYrs/urDYz/A== X-Received: by 2002:a63:4766:: with SMTP id w38mr19724674pgk.364.1585675880852; Tue, 31 Mar 2020 10:31:20 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 10:31:19 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , nsamsono@marvell.com Date: Tue, 31 Mar 2020 10:31:04 -0700 Message-Id: <20200331173110.25746-2-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 1/7] net/mvneta: 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 legacy and should not be used. Fixes: 3378383dceab ("net/mvneta: support statistics reset") Cc: nsamsono@marvell.com Signed-off-by: Stephen Hemminger --- drivers/net/mvneta/mvneta_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mvneta/mvneta_ethdev.c b/drivers/net/mvneta/mvneta_ethdev.c index 865ad61aed1c..4aea87648814 100644 --- a/drivers/net/mvneta/mvneta_ethdev.c +++ b/drivers/net/mvneta/mvneta_ethdev.c @@ -751,7 +751,7 @@ mvneta_stats_reset(struct rte_eth_dev *dev) ret = mvneta_stats_get(dev, &priv->prev_stats); if (unlikely(ret)) - RTE_LOG(ERR, PMD, "Failed to reset port statistics"); + MVNETA_LOG(ERR, "Failed to reset port statistics"); return ret; } -- 2.20.1