DPDK patches and discussions
 help / color / mirror / Atom feed
From: Andrew Rybchenko <arybchenko@solarflare.com>
To: <dev@dpdk.org>
Cc: Olivier Matz <olivier.matz@6wind.com>
Subject: [dpdk-dev] [PATCH 0/6] net/sfc: implement dynamic logging
Date: Thu, 25 Jan 2018 17:00:41 +0000	[thread overview]
Message-ID: <1516899647-8541-1-git-send-email-arybchenko@solarflare.com> (raw)

Unfortunately we're a bit late with dynamic logging implementation.
So, it can wait for 18.05 release cycle if required.

The series adds EXPERIMENTAL EAL feature which removes dependency
on EAL arguments processing and log types registration. It stores
EAL loglevel arguments in the list and adds API function to register
a new log type and pick up its value from EAL arguments.

For us it is important since we would like to be able to control
per-device log level, e.g. pmd.net.sfc.main.0000:01:00.0.

The series already follows log type names format defined recently.

Ivan Malov (6):
  eal: register log type and pick level from EAL args
  net/sfc: add support for driver-wide dynamic logging
  net/sfc: add support for per-port dynamic logging
  net/sfc: prepare to merge init logs with main log type
  net/sfc: remove dedicated init log parameter
  net/sfc: add dynamic log level for MCDI messages

 doc/guides/nics/sfc_efx.rst                | 41 ++++++++++++----
 drivers/net/sfc/efsys.h                    |  3 +-
 drivers/net/sfc/sfc.c                      | 38 +++++++++++++--
 drivers/net/sfc/sfc.h                      |  8 +++-
 drivers/net/sfc/sfc_dp.c                   |  5 +-
 drivers/net/sfc/sfc_dp.h                   |  6 ++-
 drivers/net/sfc/sfc_ef10_rx.c              |  4 +-
 drivers/net/sfc/sfc_ethdev.c               | 36 ++++++++------
 drivers/net/sfc/sfc_intr.c                 |  6 +--
 drivers/net/sfc/sfc_kvargs.c               |  2 -
 drivers/net/sfc/sfc_kvargs.h               |  4 --
 drivers/net/sfc/sfc_log.h                  | 77 ++++++++++++++++++++++++------
 drivers/net/sfc/sfc_mcdi.c                 | 25 +++++-----
 drivers/net/sfc/sfc_rx.c                   |  2 +-
 drivers/net/sfc/sfc_tx.c                   |  2 +-
 lib/librte_eal/common/eal_common_log.c     | 36 ++++++++++++++
 lib/librte_eal/common/eal_common_options.c | 23 +++++++++
 lib/librte_eal/common/include/rte_log.h    | 48 +++++++++++++++++++
 lib/librte_eal/rte_eal_version.map         |  1 +
 19 files changed, 294 insertions(+), 73 deletions(-)

-- 
2.7.4

             reply	other threads:[~2018-01-25 17:01 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 17:00 Andrew Rybchenko [this message]
2018-01-25 17:00 ` [dpdk-dev] [PATCH 1/6] eal: register log type and pick level from EAL args Andrew Rybchenko
2018-01-25 17:00 ` [dpdk-dev] [PATCH 2/6] net/sfc: add support for driver-wide dynamic logging Andrew Rybchenko
2018-01-25 18:42   ` Stephen Hemminger
2018-01-26  6:51     ` Andrew Rybchenko
2018-03-05 14:59   ` Ferruh Yigit
2018-03-06 14:45     ` Andrew Rybchenko
2018-03-06 14:56       ` Andrew Rybchenko
2018-03-06 15:26         ` Ferruh Yigit
2018-01-25 17:00 ` [dpdk-dev] [PATCH 3/6] net/sfc: add support for per-port " Andrew Rybchenko
2018-03-15 15:45   ` Ferruh Yigit
2018-01-25 17:00 ` [dpdk-dev] [PATCH 4/6] net/sfc: prepare to merge init logs with main log type Andrew Rybchenko
2018-01-25 17:00 ` [dpdk-dev] [PATCH 5/6] net/sfc: remove dedicated init log parameter Andrew Rybchenko
2018-01-25 17:00 ` [dpdk-dev] [PATCH 6/6] net/sfc: add dynamic log level for MCDI messages Andrew Rybchenko
2018-01-25 21:38 ` [dpdk-dev] [PATCH 0/6] net/sfc: implement dynamic logging Thomas Monjalon
2018-01-26  5:59   ` Andrew Rybchenko
2018-01-26  7:44     ` Thomas Monjalon
2018-02-15 11:35 ` [dpdk-dev] [PATCH v2] eal: register log type and pick level from EAL args Andrew Rybchenko
2018-03-05 15:00 ` [dpdk-dev] [PATCH 0/6] net/sfc: implement dynamic logging Ferruh Yigit
2018-03-21 11:28 ` [dpdk-dev] [PATCH v3 " Andrew Rybchenko
2018-03-21 11:28   ` [dpdk-dev] [PATCH v3 1/6] eal: register log type and pick level from EAL args Andrew Rybchenko
2018-03-22 10:21     ` Ferruh Yigit
2018-03-21 11:28   ` [dpdk-dev] [PATCH v3 2/6] net/sfc: add support for driver-wide dynamic logging Andrew Rybchenko
2018-03-21 11:28   ` [dpdk-dev] [PATCH v3 3/6] net/sfc: add support for per-port " Andrew Rybchenko
2018-03-21 11:28   ` [dpdk-dev] [PATCH v3 4/6] net/sfc: prepare to merge init logs with main log type Andrew Rybchenko
2018-03-21 11:28   ` [dpdk-dev] [PATCH v3 5/6] net/sfc: remove dedicated init log parameter Andrew Rybchenko
2018-03-21 11:28   ` [dpdk-dev] [PATCH v3 6/6] net/sfc: add dynamic log level for MCDI messages Andrew Rybchenko
2018-03-22 10:22   ` [dpdk-dev] [PATCH v3 0/6] net/sfc: implement dynamic logging Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516899647-8541-1-git-send-email-arybchenko@solarflare.com \
    --to=arybchenko@solarflare.com \
    --cc=dev@dpdk.org \
    --cc=olivier.matz@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).