From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) by dpdk.org (Postfix) with ESMTP id 13561567C for ; Thu, 25 Aug 2016 21:03:40 +0200 (CEST) Received: by mail-qk0-f174.google.com with SMTP id l2so55361646qkf.3 for ; Thu, 25 Aug 2016 12:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GSvlvUdQ1ESoww8KU692B0vxYs9vZW5NO+qY1OtRWpI=; b=cZQ0yra1v50By2GWiP5aNXcyimrWL6T0O8zgiImwugnoXpDfKbZMo1V/vIJ9/5Ic8J fb0SHlXBo6YWT4heuMWQIUZQwTlHyQ8zgzL/Pmcx8wbzfh2Qwp1r76rvT3Ou0VAoIQHt xv9lhQmZzx1DFBxOpGsOuIqp/jWjBVgbKlAAA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GSvlvUdQ1ESoww8KU692B0vxYs9vZW5NO+qY1OtRWpI=; b=kmryJThVg+4LGkhKUBMv0a00iqP+qaFYyFG8m47um0l/zBFN6APqUcfgM0A6ojW84Y 5A/38c35uRXv/dY3WhEKxk2fY6vf29PlQqHD9uxLpt+PwLih/+0Hz8gXC5sneO1TQhQD KHqMnw0Iy43unYtCky3ikFFyiKOGJZGlOAEbyxYezPXW4ZF/6iW9HVu8XcUwnMUpWG/F Mi20/j150LvN16R5xzDf2AQVITPX+XHK2p1eTJUL0gMFWt3YECK8Dnx737dpamERQlpA XXejQ0NIZWA7beo+gPJeK4UgAC33ePHUc8zGGigrdOq3JeGh4ZKqNHdE7EC4AyXu4tO8 qQTQ== X-Gm-Message-State: AE9vXwN2xhwmaQXj0Hcr8U02B/s4k7VzrcUOVjp8mM3kyYoBRLM/Jf6kYbfLjnkw7f12s2Lexj5Sk97soqe3wSiv X-Received: by 10.55.100.21 with SMTP id y21mr11594721qkb.274.1472151819272; Thu, 25 Aug 2016 12:03:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.55.4 with HTTP; Thu, 25 Aug 2016 12:03:08 -0700 (PDT) In-Reply-To: <1472123147-22997-1-git-send-email-ferruh.yigit@intel.com> References: <1472123147-22997-1-git-send-email-ferruh.yigit@intel.com> From: Ajit Khaparde Date: Thu, 25 Aug 2016 14:03:08 -0500 Message-ID: To: Ferruh Yigit Cc: dev@dpdk.org, Stephen Hurd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/bnxt: make driver less verbose X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2016 19:03:40 -0000 On Thu, Aug 25, 2016 at 6:05 AM, Ferruh Yigit wrote: > This line printed for every application even if driver is not used at > all. Removing the line to reduce the noise. > > Signed-off-by: Ferruh Yigit > --- > drivers/net/bnxt/bnxt_ethdev.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ > ethdev.c > index 3795fac..37d0322 100644 > --- a/drivers/net/bnxt/bnxt_ethdev.c > +++ b/drivers/net/bnxt/bnxt_ethdev.c > @@ -1056,7 +1056,6 @@ static struct eth_driver bnxt_rte_pmd =3D { > > static int bnxt_rte_pmd_init(const char *name, const char *params > __rte_unused) > { > - RTE_LOG(INFO, PMD, "bnxt_rte_pmd_init() called for %s\n", name); > How about changing the log level to DEBUG? - RTE_LOG(INFO, PMD, "bnxt_rte_pmd_init() called for %s\n", name); + RTE_LOG(DEBUG, PMD, "bnxt_rte_pmd_init() called for %s\n", name); That should reduce the noise till the user explicitly changes the log level= . Thanks =E2=80=8B > rte_eth_driver_register(&bnxt_rte_pmd); > return 0; > } > -- > 2.7.4 > >