[dpdk-dev] [PATCH 0/4] cleanup debug and dead code

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Apr 22 15:43:56 CEST 2016


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



More information about the dev mailing list