From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D24CA0546; Tue, 6 Apr 2021 16:32:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92D68140FDE; Tue, 6 Apr 2021 16:32:37 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id DFEF2140FDD for ; Tue, 6 Apr 2021 16:32:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617719555; 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=6hMeiZjEiPUwpgXxaWrMAh/JB2TctPrwnsc9kyOlXfc=; b=VqVquuxfGj+YKv8tH+1aPa/S/s47f0eQnr3jIm5PAAzV0PpCpwjLtIkhTzaZtgV2avOo65 TcrKqxzdaHAnNmHzOYFMNgroU628CEnGVOfy0V3p6gXSfelp2IHjGyFIQXPZeMVXv3/dUG kiEqQJeRevdZpRK2bohLM13vrFnsyTk= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-218-gkeeQMj1PiOpptQ0i2DRZQ-1; Tue, 06 Apr 2021 10:32:32 -0400 X-MC-Unique: gkeeQMj1PiOpptQ0i2DRZQ-1 Received: by mail-ua1-f71.google.com with SMTP id w16so1936706uaj.1 for ; Tue, 06 Apr 2021 07:32:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6hMeiZjEiPUwpgXxaWrMAh/JB2TctPrwnsc9kyOlXfc=; b=q8JspB+q9lmh7RKvfm0T8kMx5dd+7ZhmSnDY/DsKm02aut8UTPqlrhoT4XFbe6s9X6 hsTTgjNnH+G10KRmRnvNceUSPsTlRwe2rPdgVstcvDBVNFjH0k7RPU1OVwdibYaMb1hE js1KNJ2S3oSfzXvq3okszsjIu/2ACaNefuN91rxhj2iJ37oBJcgLDIxzuHa+lEaVk0ed dgerrScm7WY8Y6qOHGZ7xYTlJRnx1zewPYdAR24ZoRZD8XrIEY/5h2k3o26lE6NVxAXG +wtaY8EFELaXIbAfLu/Dnz+MkdszrFSvSrc9x2bEqdwEKucbsky3RHrgJFvBV26MXw4+ Y+2w== X-Gm-Message-State: AOAM53142fn0ijnvpsMwjkq4XClxGm0POGS7EnYD/GX1Lv5gs26FYHVW Z6zYPq3OWBHRUOFPZDC5jUbmhqxGFeSdpWQXCOmUEDl/wxq7oGfOO5NctMny0EnOfWDijejPAAM qu0f8kpOusaQtJFHudLk= X-Received: by 2002:ab0:e17:: with SMTP id g23mr10044875uak.87.1617719552401; Tue, 06 Apr 2021 07:32:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVrfGn2NZSNJZ/9PML+CXMJDFYpDnUJAiFQFwTBK0j/c+sMm+LXk43GTSYEs2W+nIJ30ITjDMobT0sNSDbjdI= X-Received: by 2002:ab0:e17:: with SMTP id g23mr10044857uak.87.1617719552241; Tue, 06 Apr 2021 07:32:32 -0700 (PDT) MIME-Version: 1.0 References: <20210405193000.1113542-1-thomas@monjalon.net> <20210406131137.1732110-1-thomas@monjalon.net> <20210406131137.1732110-3-thomas@monjalon.net> In-Reply-To: <20210406131137.1732110-3-thomas@monjalon.net> From: David Marchand Date: Tue, 6 Apr 2021 16:32:20 +0200 Message-ID: To: Thomas Monjalon Cc: dev , Bruce Richardson , Andrew Rybchenko 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 v6 2/4] log: introduce macro for maximum level X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On Tue, Apr 6, 2021 at 3:11 PM Thomas Monjalon wrote: > > RTE_DIM(...) and RTE_LOG_DEBUG were used to get the highest log level. > For better clarity a new constant RTE_LOG_MAX is introduced > and mapped to RTE_LOG_DEBUG. > > Signed-off-by: Thomas Monjalon > Acked-by: Bruce Richardson > Acked-by: Andrew Rybchenko Reviewed-by: David Marchand -- David Marchand