From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 1/2] enic: silence log message Date: Wed, 20 May 2015 10:47:01 -0700 Message-ID: References: <1428514670-7982-1-git-send-email-stephen@networkplumber.org> <1428514670-7982-2-git-send-email-stephen@networkplumber.org> <20150519100853.GB11036@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" , Stephen Hemminger To: "Sujith Sankar (ssujith)" Return-path: Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) by dpdk.org (Postfix) with ESMTP id 74BA6C320 for ; Wed, 20 May 2015 19:47:02 +0200 (CEST) Received: by igbyr2 with SMTP id yr2so108945037igb.0 for ; Wed, 20 May 2015 10:47:01 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Other drivers are quiet, why does this one need to be noisy On Wed, May 20, 2015 at 9:30 AM, Sujith Sankar (ssujith) wrote: > > > On 19/05/15 3:38 pm, "Bruce Richardson" > wrote: > > >On Wed, Apr 08, 2015 at 10:37:49AM -0700, Stephen Hemminger wrote: > >> From: Stephen Hemminger > >> > >> Silence is normal. drivers should speak only when spoken to and not > >> be chatty. > >> > >> Signed-off-by: Stephen Hemminger > > > >Acked-by: Bruce Richardson > > > >> --- > >> lib/librte_pmd_enic/enic_main.c | 2 -- > >> 1 file changed, 2 deletions(-) > >> > >> diff --git a/lib/librte_pmd_enic/enic_main.c > >>b/lib/librte_pmd_enic/enic_main.c > >> index 0892b3e..508621e 100644 > >> --- a/lib/librte_pmd_enic/enic_main.c > >> +++ b/lib/librte_pmd_enic/enic_main.c > >> @@ -1048,8 +1048,6 @@ int enic_probe(struct enic *enic) > >> struct rte_pci_device *pdev = enic->pdev; > >> int err = -1; > >> > >> - dev_debug(enic, " Initializing ENIC PMD version %s\n", > DRV_VERSION); > >> - > > It would be good to retain this under RTE_LIBRTE_ENIC_DEBUG. > > >> enic->bar0.vaddr = (void *)pdev->mem_resource[0].addr; > >> enic->bar0.len = pdev->mem_resource[0].len; > >> > >> -- > >> 2.1.4 > >> > >