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 F0997A0562; Tue, 31 Mar 2020 06:42:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D38B1C031; Tue, 31 Mar 2020 06:42:13 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id E4CA22C6D for ; Tue, 31 Mar 2020 06:42:08 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id g2so7658228plo.3 for ; Mon, 30 Mar 2020 21:42:08 -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=KNYx450f1raRtnps7RbpvTgSL12g2w7GIWdw+a/HoT3qDcOMSbJOtiSFY0kq0spuRK C69+PwrD4WofxGm9FKJmFxAM2werSrzTYHe+7ePJBEqKJIiFYD3C6tVPp41QsG1e4T+y ho9SfK1bDr11ePPFKLURGDBeCVx7PHqLyxeS6LLjRVbHXZyaTb4E4xbJW/x1UoLu7huM i/24iWfFwRRLfMsxK6dYUkR4OseJTBjYAQmRhp4WmHYsTISl9EvPyFvD+YxEam4l/lDu pZM5nArBOkCV3b4P3DuHU+yWqhanDHiP/HgaKo5E4Xf16f6dlxHORWQChPH9N7vHK7Az Ctow== 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=sz4nZyGy1WEbHpPDUoo7XXKDyAib6NwZn5l77Z5p3kxbtGndzb+XMSw29j/kM8z/rF ZX+jnZfxiX/gPR8gC3SDgghNVctvPBsaxX/CfgltlHpSjbAQ0J1gr2neKyrKKOzynPkp R9iXn0pSUxSQWEvDg7W7jy9o06gsibJEWNOJx1h8JVpq9YMNQcELNtKZMkPJC7yctePn 1yE/e/8N0log1EvdEHTH6kALEwqNREo3FwI9EPHhJuwFCOmO1OMJVFKrV1JQI+J6z3Ij //UjWY2NqOtIceBEWVXgtgKmcA26vsklQkDT93AhYHcH9/IJNU3Px68YEFSTeEFc+weT 9o5Q== X-Gm-Message-State: ANhLgQ3zvuvXMcQvSlENVuPHaNNgs9ViWtcA4fo3RvA06LrPJsJSfqer satURkGNiVC3DcqVJkCKLJy2Az4F/3vdDQ== X-Google-Smtp-Source: ADFU+vsw6/UYdhEyipkKu8wKqaBIN6YcpyL7izG04M0wWc0n3bQj76TnTA8cJ1TLJilN9+Sw+d4JAQ== X-Received: by 2002:a17:902:bf07:: with SMTP id bi7mr14970499plb.164.1585629727590; Mon, 30 Mar 2020 21:42:07 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 21:42:06 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , nsamsono@marvell.com Date: Mon, 30 Mar 2020 21:41:50 -0700 Message-Id: <20200331044156.31935-2-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 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