All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Reduce logging level for dpaax and fslmc
@ 2018-10-17  9:12 Shreyansh Jain
  2018-10-17  9:12 ` [PATCH 1/3] common/dpaax: reduce logging level Shreyansh Jain
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Shreyansh Jain @ 2018-10-17  9:12 UTC (permalink / raw)
  To: thomas; +Cc: dev, Shreyansh Jain

Based on discussion in [1], some logs for dpaax have been reduced
to DEBUG state only. All logs which are not part of exposed API
(like dpaax_iova_table_populate), only dump DEBUG now. Other exposed
API also don't dump ERR as this library needs to be transparent. Only
WARN is used.

Patch 1:
 .) change ERR -> DEBUG
 .) Default log level is set to ERR
Patch 2:
 .) Not checking the returns from dpaax library - even if that is failed,
    the PA->VA translation would still work, albeit with old method.
Patch 3:
 .) While working on Patch 1, some logs from net/dpaa2 were also
    observed which shouldn't necessarily be ERR. Changed them to
    DEBUG.

[1] http://mails.dpdk.org/archives/dev/2018-October/116096.html

Shreyansh Jain (3):
  common/dpaax: reduce logging level
  bus/fslmc: ignore dpaax pa-va table errors
  net/dpaa2: convert logs from errors to debug

 drivers/bus/fslmc/fslmc_bus.c           |  8 +++---
 drivers/common/dpaax/dpaax_iova_table.c | 35 +++++++++++++------------
 drivers/net/dpaa2/dpaa2_ethdev.c        |  4 +--
 3 files changed, 24 insertions(+), 23 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-10-24 22:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17  9:12 [PATCH 0/3] Reduce logging level for dpaax and fslmc Shreyansh Jain
2018-10-17  9:12 ` [PATCH 1/3] common/dpaax: reduce logging level Shreyansh Jain
2018-10-17  9:16   ` Thomas Monjalon
2018-10-17  9:12 ` [PATCH 2/3] bus/fslmc: ignore dpaax pa-va table errors Shreyansh Jain
2018-10-17  9:12 ` [PATCH 3/3] net/dpaa2: convert logs from errors to debug Shreyansh Jain
2018-10-17 10:10 ` [PATCH v2 0/3] Reduce logging level for dpaax and fslmc Shreyansh Jain
2018-10-17 10:10   ` [PATCH v2 1/3] common/dpaax: reduce logging level Shreyansh Jain
2018-10-23  9:43     ` Jerin Jacob
2018-10-17 10:10   ` [PATCH v2 2/3] bus/fslmc: ignore dpaax pa-va table errors Shreyansh Jain
2018-10-23  9:44     ` Jerin Jacob
2018-10-17 10:10   ` [PATCH v2 3/3] net/dpaa2: convert logs from errors to debug Shreyansh Jain
2018-10-24 22:18   ` [PATCH v2 0/3] Reduce logging level for dpaax and fslmc Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.