From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 950FAA0C4C;
	Mon, 25 Oct 2021 15:32:10 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 23FFA40E32;
	Mon, 25 Oct 2021 15:32:10 +0200 (CEST)
Received: from us-smtp-delivery-124.mimecast.com
 (us-smtp-delivery-124.mimecast.com [216.205.24.124])
 by mails.dpdk.org (Postfix) with ESMTP id A00024003E
 for <dev@dpdk.org>; Mon, 25 Oct 2021 15:32:08 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1635168728;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=I6GxuT2pu70Rf+EIajc8KhDtkVC0SiF/m6reQzv/0NI=;
 b=OgBg+Y6zf6lvAmpJlbPXfyOCcq8samD04lvGJZtOR7G/wBGc1t4uy1hJATyfnfF8dabEXk
 Bw0Hrq5/NL7ICAbvaNKZp5nRtZaLUz3TTt1IwZyJjymZ985n6r2NRD2Xhc1zTdNIkO6XYr
 kTD10pUG/5aE2unPjlFm3qb/ihS3Pu4=
Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com
 [209.85.208.198]) (Using TLS) by relay.mimecast.com with ESMTP id
 us-mta-535-_CKuiTUVOQmf9EvSudxE8w-1; Mon, 25 Oct 2021 09:32:06 -0400
X-MC-Unique: _CKuiTUVOQmf9EvSudxE8w-1
Received: by mail-lj1-f198.google.com with SMTP id
 k12-20020a2ea26c000000b00210f22d4769so2765234ljm.4
 for <dev@dpdk.org>; Mon, 25 Oct 2021 06:32:06 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=I6GxuT2pu70Rf+EIajc8KhDtkVC0SiF/m6reQzv/0NI=;
 b=acA6yvVmeX1VH7hjKxYFO1iEVqdPWM/U3XMQYkWVpOXv8CUq1Evl2bOL+cq5gGHfxq
 JiiZRQRXwPPLAgf9Ig7nrCrGOQaVY3ZjDCucZET9xY9BvOqsEAhewaIHz7c1jYzUoGMg
 v/x6ctZBQ9pdHei29w4cckUs8vAkkkQXqnwUrcjQBOCTvHmh9lgB67FiLNLf+nF56jzo
 dAMhslbOTXvCi13AIppMElE4m8fVmni9nFJhd2RRCHebLmORyo1rezx3fWH4M4ngapWj
 zh7I12hy2Dai0Kv2u7jQ/zPReDQUXSIVIs5BXIZJHUj0DWvjeUACXcxgUh1+DBoqJ585
 Cnbg==
X-Gm-Message-State: AOAM5321V/b6tqWpjAFEp/m8pxb3CL6z+5+aXgmNT7nm4hQb6YrR/yn3
 fwMZW0NWhZdfCdkGaERpkbcuhcisqeGftuQ3imNee2CYWQS5qvXg8r6yPsBFW26a98QIvrIw2hT
 EdhrKbnczXJIk0RZyPUw=
X-Received: by 2002:a05:6512:3f28:: with SMTP id
 y40mr17233673lfa.499.1635168725069; 
 Mon, 25 Oct 2021 06:32:05 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJxbsjlppSiT36J3dOfbnCOakeLjw3G9GU5qE1p76imbQihktBGCQPNF9b11b2esDrhdom+0VeXOQJN4aKWqImE=
X-Received: by 2002:a05:6512:3f28:: with SMTP id
 y40mr17233662lfa.499.1635168724910; 
 Mon, 25 Oct 2021 06:32:04 -0700 (PDT)
MIME-Version: 1.0
References: <20211022211407.315068-1-bingz@nvidia.com>
 <CAJFAV8ws0zHAokkOhq5i8vMDTC8BdDT8U8ZnLC1tknmcMzMrbw@mail.gmail.com>
 <DM6PR11MB449106EEDE7614A28BA99E899A839@DM6PR11MB4491.namprd11.prod.outlook.com>
 <9793508.3ULvtkr7ud@thomas>
In-Reply-To: <9793508.3ULvtkr7ud@thomas>
From: David Marchand <david.marchand@redhat.com>
Date: Mon, 25 Oct 2021 15:31:53 +0200
Message-ID: <CAJFAV8yq0Ypb6P+P97cfqQTft=Xb2+nErCo9evti4ETrpm5VWg@mail.gmail.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>,
 Bing Zhao <bingz@nvidia.com>, "Yigit, Ferruh" <ferruh.yigit@intel.com>, 
 "andrew.rybchenko@oktetlabs.ru" <andrew.rybchenko@oktetlabs.ru>,
 "dev@dpdk.org" <dev@dpdk.org>
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: fix log level of Tx and Rx dummy
 functions
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Mon, Oct 25, 2021 at 3:27 PM Thomas Monjalon <thomas@monjalon.net> wrote:
> > > > There is a concern about getting efficient log report,
> > > > especially when looking at CI issues.
> > >
> > > +1.
> > > The current solution with logs is a real pain.
> >
> > Are you guys talking about problems with
> > app/test/sample_packet_forward.* David reported?
> > Or some extra problems arise?
>
> The problem will arise each time an app is misbehaving.
> That's going to be a recurring problem in the CI.
>

One thing that could be done is compiling with asserts in CI, and let
default build not have those asserts.

Otherwise, logging once should be enough (I have a patch for this latter idea).


-- 
David Marchand