[dpdk-dev] [PATCH 0/2] fix logging in Intel PMD's

Stephen Hemminger stephen at networkplumber.org
Fri Apr 10 17:18:23 CEST 2015


The Intel Poll Mode Drivers generate a lot of log messages and
they are mostly at the INFO logging level. This should be changed
to the common syslog conventions, ie. put unimportant stuff for
production users at DEBUG level and things of interest but not
errors at NOTICE level.

Also should use RTE_LOG not rte_log so that messages can be
compiled out.

Stephen Hemminger (2):
  ixgbe: silence noisy log messages
  e1000: silence noisy log messages

 lib/librte_pmd_e1000/e1000_logs.h   |  3 +--
 lib/librte_pmd_e1000/em_ethdev.c    | 10 ++++-----
 lib/librte_pmd_e1000/igb_ethdev.c   | 16 ++++++---------
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 41 ++++++++++++++++---------------------
 lib/librte_pmd_ixgbe/ixgbe_fdir.c   |  2 +-
 lib/librte_pmd_ixgbe/ixgbe_logs.h   |  3 +--
 lib/librte_pmd_ixgbe/ixgbe_rxtx.c   | 14 ++++++-------
 7 files changed, 38 insertions(+), 51 deletions(-)

-- 
2.1.4



More information about the dev mailing list