From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: Re: [PATCH] librte_log: add function to retrieve log_level Date: Sun, 14 Sep 2014 01:36:09 -0700 Message-ID: <20140914083609.GA23464@mhcomputing.net> References: <1410683686-12389-1-git-send-email-mhall@mhcomputing.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: dev-VfR2kkLFssw@public.gmane.org Return-path: Content-Disposition: inline In-Reply-To: <1410683686-12389-1-git-send-email-mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Sun, Sep 14, 2014 at 01:34:46AM -0700, Matthew Hall wrote: > Signed-off-by: Matthew Hall > --- > lib/librte_eal/common/eal_common_log.c | 7 +++++++ > lib/librte_eal/common/include/rte_log.h | 6 ++++++ > 2 files changed, 13 insertions(+) I forgot to mention in the comments, this patch is helpful when you want outside code to cooperate with and respect log levels set in DPDK. Then you can avoid using duplicate incompatible log code in the DPDK and non-DPDK parts of the app. Matthew.