From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by dpdk.org (Postfix) with ESMTP id 4F9E78D9C for ; Wed, 25 Apr 2018 17:45:55 +0200 (CEST) Received: by mail-pg0-f66.google.com with SMTP id p10so13618049pgn.1 for ; Wed, 25 Apr 2018 08:45:55 -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; bh=77mYJ5tVugSeKB5SB4hVBpUAb/jtboCuIZFwhgYhHGk=; b=Cvb1tsmFSr0hBcdmoT72hjZOWfpy7rgSDbZ/BGQxp/3rpfSlbvxI5uS9tRRYiByOLE TokaAg+Osu7Ml76SJG+kDmo7edro8+tGOC9yc2OnbOaA/4SswV/kRgZ1iJBVYMOEt0Ul dfCkflF91STi4IMHyzePBMDHke8lRYJfEM0bHZAPscm3RWC1f+tUMTqTfL0hjyE5bXHd cUrPZUO4kXSY6ZSjFqYpvHDESad17anaL4rarOMSnOajLMCit0tjr1Xe28GpG4t06LMe JOUXmW96mIsre1gO0TvckpO8Z5u/pkUchKztzGVxkrXffpwV86wFyyMAkh+H9RYxxks1 7Ulw== 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; bh=77mYJ5tVugSeKB5SB4hVBpUAb/jtboCuIZFwhgYhHGk=; b=tKLUVXh1kWmSJF6f22lZloa+LvZERtKQsRY11WMUT/eQepBJEFyAdmBG0evvyAcFFl +t3SnvctNmIbaFd2pbtl/wZF2QLrvVPW2rg9hSdDreWi4DXRcKrS/lv+UrxLvR+lmbaS 655HDR4Z99rjUcyqjAmHC2+xD7O/KNyRrwsYSkxk3/lwMYxBdDfE2dnXHAaIUPfQtEUd k89wf0bqGa4wAqFQIl+K72hnO+FTy+W9qHm1UMYXiyvGBXMV9FxvOL3ujljJtO8kOFrc aALQMOUIRBkzeqFJ9JHbFyW11WdsQRoYEqwS24DjKy0Bx7R8dc8lMfyixJFmzQ1Ym3g1 9F4w== X-Gm-Message-State: ALQs6tD3IwdSqNn6WxXohwaLIsLPZQ7AEnMMBBSxhubR+x7VmsdNO051 OmrnCeM1Ws4I/dJDJgtyvcLmmcpM2HY= X-Google-Smtp-Source: AIpwx497OY41E/VmSkOikyMPPosceuRgzg5cQB3z1EwTWGwE2Sk4wonoYmuoM9OJCnFn1crcm+NZCw== X-Received: by 2002:a17:902:6b02:: with SMTP id o2-v6mr29666055plk.6.1524671154413; Wed, 25 Apr 2018 08:45:54 -0700 (PDT) Received: from xeon-e3.lan (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id b89sm8115152pfd.85.2018.04.25.08.45.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 08:45:53 -0700 (PDT) From: Stephen Hemminger To: alejandro.lucero@netronome.com Cc: dev@dpdk.org, Stephen Hemminger Date: Wed, 25 Apr 2018 08:45:47 -0700 Message-Id: <20180425154551.6795-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425154551.6795-1-stephen@networkplumber.org> References: <20180425154551.6795-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 1/5] net/nfp: use correct logtype for init messages 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: , X-List-Received-Date: Wed, 25 Apr 2018 15:45:55 -0000 The NFP driver init messages would come out under PMD not net.pmd.nfp.init. Signed-off-by: Stephen Hemminger --- drivers/net/nfp/nfp_net_logs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/nfp/nfp_net_logs.h b/drivers/net/nfp/nfp_net_logs.h index 3fe24e96b347..2917da56ced3 100644 --- a/drivers/net/nfp/nfp_net_logs.h +++ b/drivers/net/nfp/nfp_net_logs.h @@ -36,7 +36,8 @@ extern int nfp_logtype_init; #define PMD_INIT_LOG(level, fmt, args...) \ - RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args) + rte_log(RTE_LOG_ ## level, nfp_logtype_init, \ + "%s(): " fmt "\n", __func__, ## args) #define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, " >>") #ifdef RTE_LIBRTE_NFP_NET_DEBUG_RX -- 2.17.0