From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH 0/4] cleanup debug and dead code Date: Fri, 22 Apr 2016 15:43:56 +0200 Message-ID: <1461332640-24273-1-git-send-email-thomas.monjalon@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 248162C18 for ; Fri, 22 Apr 2016 15:44:21 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id v188so21680738wme.1 for ; Fri, 22 Apr 2016 06:44:21 -0700 (PDT) Received: from XPS13.livebox.home (APoitiers-658-1-12-134.w86-213.abo.wanadoo.fr. [86.213.195.134]) by smtp.gmail.com with ESMTPSA id qt3sm8149097wjc.32.2016.04.22.06.44.19 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2016 06:44:20 -0700 (PDT) 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" With this series, the default log level is not debug anymore. And more code depends on debug level instead of having some almost dead code. Thomas Monjalon (4): eal: increase log level of some messages log: increase default level to info examples: remove useless debug flags eal: add assert macro for debug config/common_base | 2 +- doc/guides/faq/faq.rst | 7 +- doc/guides/sample_app_ug/ipv4_multicast.rst | 4 +- drivers/net/bonding/rte_eth_bond_8023ad.c | 13 +- drivers/net/bonding/rte_eth_bond_api.c | 4 +- drivers/net/bonding/rte_eth_bond_pmd.c | 4 +- drivers/net/ena/base/ena_plat_dpdk.h | 10 +- drivers/net/enic/enic.h | 10 -- drivers/net/enic/enic_rx.c | 4 +- drivers/net/vmxnet3/vmxnet3_ethdev.h | 8 -- drivers/net/vmxnet3/vmxnet3_rxtx.c | 16 +-- drivers/net/xenvirt/rte_mempool_gntalloc.c | 2 +- examples/distributor/main.c | 19 +-- examples/ipsec-secgw/esp.c | 42 +++--- examples/ipsec-secgw/ipip.h | 10 +- examples/ipsec-secgw/ipsec.c | 12 +- examples/ipsec-secgw/ipsec.h | 12 -- examples/ipv4_multicast/main.c | 4 +- examples/l3fwd-acl/main.c | 3 + examples/packet_ordering/main.c | 18 +-- examples/performance-thread/common/lthread.c | 2 +- examples/performance-thread/common/lthread_int.h | 12 -- examples/performance-thread/common/lthread_mutex.c | 3 +- examples/performance-thread/common/lthread_pool.h | 4 +- examples/performance-thread/common/lthread_queue.h | 2 +- examples/performance-thread/common/lthread_sched.c | 2 +- examples/performance-thread/common/lthread_tls.c | 4 +- examples/tep_termination/main.c | 7 +- examples/tep_termination/main.h | 8 -- examples/vhost/main.c | 143 +++++++++++---------- examples/vhost/main.h | 12 -- examples/vhost_xen/main.c | 62 ++++----- examples/vhost_xen/main.h | 11 -- lib/librte_eal/common/eal_common_lcore.c | 2 +- lib/librte_eal/common/eal_common_log.c | 5 + lib/librte_eal/common/eal_common_options.c | 4 + lib/librte_eal/common/eal_common_pci.c | 8 +- lib/librte_eal/common/include/rte_debug.h | 9 +- lib/librte_ip_frag/ip_frag_common.h | 8 -- lib/librte_ip_frag/rte_ipv4_fragmentation.c | 2 +- lib/librte_ip_frag/rte_ipv6_fragmentation.c | 2 +- lib/librte_mbuf/rte_mbuf.c | 10 +- lib/librte_mbuf/rte_mbuf.h | 23 +--- lib/librte_mempool/rte_mempool.c | 4 +- lib/librte_sched/rte_red.c | 2 +- lib/librte_sched/rte_red.h | 25 +--- scripts/test-build.sh | 1 + 47 files changed, 234 insertions(+), 347 deletions(-) -- 2.7.0