DPDK-dev Archive on lore.kernel.org
 help / color / Atom feed
From: Shreyansh Jain <shreyansh.jain@nxp.com>
To: ferruh.yigit@intel.com
Cc: dev@dpdk.org, hemant.agrawal@nxp.com, nipun.gupta@nxp.com,
	akhil.goyal@nxp.com, Shreyansh Jain <shreyansh.jain@nxp.com>
Subject: [RESEND v2 0/7] Change DPAA2 to dynamic logging
Date: Tue, 13 Mar 2018 11:14:24 +0530
Message-ID: <20180313054431.19556-1-shreyansh.jain@nxp.com> (raw)
In-Reply-To: <20180312092547.18472-1-shreyansh.jain@nxp.com>

(I forgot to add dev@ ml in previous send. Resending)

::History::
v2:
 - Fixed dynamic log identifier names (Ferruh)
 - Added dependency information in cover letter (Hemant)
 - Fixed some checkpatch issues
 - Updated some log messages

::Dependency::

This patchset is dependent on: master (c06ddf969) + [1].

[1] http://dpdk.org/ml/archives/dev/2018-March/091716.html

::Introduction::

DPAA2 devices are enabled by following modules:
 - bus/fslmc
 - net/dpaa2
 - mempool/dpaa2
 - event/dpaa2
 - crypto/dpaa2_sec

This patch series converts the existing static debugging macros - for
control and datapath, both - into dynamic logging macros.

Identified for logs are:
FSLMC bus - bus.fslmc
Mempool Driver - mempool.dpaa2
Ethernet PMD - pmd.net.dpaa2
Eventdev PMD - pmd.event.dpaa2
Crypto PMD - pmd.crypto.dpaa2

This patchset also removed the old unused macros (unsed post dynamic
logging change) for debugging from config and documentation.

Shreyansh Jain (7):
  bus/fslmc: change to dynamic logging
  mempool/dpaa2: change to dynamic logging
  net/dpaa2: change into dynamic logging
  event/dpaa2: change to dynamic logging
  bus/fslmc: remove unused debug macros
  crypto/dpaa2_sec: fix incorrect debugging prints
  crypto/dpaa2_sec: change to dynamic logging

 config/common_base                            |   8 -
 config/defconfig_arm64-dpaa2-linuxapp-gcc     |  16 --
 doc/guides/cryptodevs/dpaa2_sec.rst           |  21 +-
 doc/guides/eventdevs/dpaa2.rst                |  14 +-
 doc/guides/nics/dpaa2.rst                     |  44 +--
 drivers/bus/fslmc/Makefile                    |   5 -
 drivers/bus/fslmc/fslmc_bus.c                 |  64 +++--
 drivers/bus/fslmc/fslmc_logs.h                |  69 +++--
 drivers/bus/fslmc/fslmc_vfio.c                | 151 +++++------
 drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c      |  12 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dpci.c      |  22 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c      | 101 ++++---
 drivers/crypto/dpaa2_sec/Makefile             |   5 -
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c   | 370 +++++++++++++-------------
 drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h     |  62 +++--
 drivers/event/dpaa2/dpaa2_eventdev.c          |  49 ++--
 drivers/event/dpaa2/dpaa2_eventdev_logs.h     |  10 +-
 drivers/event/dpaa2/dpaa2_hw_dpcon.c          |  15 +-
 drivers/mempool/dpaa2/Makefile                |   6 -
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c      |  60 +++--
 drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h |  38 +++
 drivers/net/dpaa2/Makefile                    |   6 -
 drivers/net/dpaa2/base/dpaa2_hw_dpni.c        |  30 +--
 drivers/net/dpaa2/dpaa2_ethdev.c              | 290 ++++++++++----------
 drivers/net/dpaa2/dpaa2_pmd_logs.h            |  41 +++
 drivers/net/dpaa2/dpaa2_rxtx.c                |  59 ++--
 26 files changed, 832 insertions(+), 736 deletions(-)
 create mode 100644 drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h
 create mode 100644 drivers/net/dpaa2/dpaa2_pmd_logs.h

-- 
2.14.1

  parent reply index

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-12  9:25 [PATCH " Shreyansh Jain
2018-03-12  9:25 ` [PATCH 1/7] bus/fslmc: change " Shreyansh Jain
2018-03-12  9:25 ` [PATCH 2/7] mempool/dpaa2: " Shreyansh Jain
2018-03-12  9:25 ` [PATCH 3/7] net/dpaa2: change into " Shreyansh Jain
2018-03-12 11:04   ` Ferruh Yigit
2018-03-12 12:01     ` Shreyansh Jain
2018-03-12  9:25 ` [PATCH 4/7] event/dpaa2: change to " Shreyansh Jain
2018-03-12  9:25 ` [PATCH 5/7] bus/fslmc: remove unused debug macros Shreyansh Jain
2018-03-12  9:25 ` [PATCH 6/7] crypto/dpaa2_sec: fix incorrect debugging prints Shreyansh Jain
2018-03-12  9:25 ` [PATCH 7/7] crypto/dpaa2_sec: change to dynamic logging Shreyansh Jain
2018-03-12 12:10 ` [PATCH 0/7] Change DPAA2 " Hemant Agrawal
2018-03-12 12:37 ` Shreyansh Jain
2018-03-13  5:44 ` Shreyansh Jain [this message]
2018-03-13  5:44   ` [RESEND v2 1/7] bus/fslmc: change " Shreyansh Jain
2018-03-21  6:24     ` Hemant Agrawal
2018-03-13  5:44   ` [RESEND v2 2/7] mempool/dpaa2: " Shreyansh Jain
2018-03-21  6:27     ` Hemant Agrawal
2018-03-13  5:44   ` [RESEND v2 3/7] net/dpaa2: change into " Shreyansh Jain
2018-03-21  6:31     ` Hemant Agrawal
2018-03-23  7:19       ` Shreyansh Jain
2018-03-13  5:44   ` [RESEND v2 4/7] event/dpaa2: change to " Shreyansh Jain
2018-03-14  4:01     ` Nipun Gupta
2018-03-13  5:44   ` [RESEND v2 5/7] bus/fslmc: remove unused debug macros Shreyansh Jain
2018-03-21  6:13     ` Hemant Agrawal
2018-03-13  5:44   ` [RESEND v2 6/7] crypto/dpaa2_sec: fix incorrect debugging prints Shreyansh Jain
2018-03-21  6:12     ` Hemant Agrawal
2018-03-13  5:44   ` [RESEND v2 7/7] crypto/dpaa2_sec: change to dynamic logging Shreyansh Jain
2018-03-21  6:18     ` Hemant Agrawal
2018-03-23 12:04   ` [PATCH v3 0/7] Change DPAA2 " Shreyansh Jain
2018-03-23 12:04     ` [PATCH v3 1/7] bus/fslmc: change " Shreyansh Jain
2018-03-23 12:04     ` [PATCH v3 2/7] mempool/dpaa2: " Shreyansh Jain
2018-03-26  8:48       ` Hemant Agrawal
2018-03-23 12:04     ` [PATCH v3 3/7] net/dpaa2: change into " Shreyansh Jain
2018-03-26  8:48       ` Hemant Agrawal
2018-03-29 15:26       ` Thomas Monjalon
2018-03-29 18:01         ` Shreyansh Jain
2018-03-23 12:04     ` [PATCH v3 4/7] event/dpaa2: change to " Shreyansh Jain
2018-03-23 12:04     ` [PATCH v3 5/7] bus/fslmc: remove unused debug macros Shreyansh Jain
2018-03-23 12:04     ` [PATCH v3 6/7] crypto/dpaa2_sec: fix incorrect debugging prints Shreyansh Jain
2018-03-23 12:04     ` [PATCH v3 7/7] crypto/dpaa2_sec: change to dynamic logging Shreyansh Jain
2018-04-02 14:05     ` [PATCH v4 0/7] Change DPAA2 " Shreyansh Jain
2018-04-02 14:05       ` [PATCH v4 1/7] bus/fslmc: change " Shreyansh Jain
2019-12-03 15:35         ` [dpdk-dev] " Ferruh Yigit
2018-04-02 14:05       ` [PATCH v4 2/7] mempool/dpaa2: " Shreyansh Jain
2018-04-02 14:05       ` [PATCH v4 3/7] net/dpaa2: change into " Shreyansh Jain
2018-04-02 14:05       ` [PATCH v4 4/7] event/dpaa2: change to " Shreyansh Jain
2018-04-02 14:05       ` [PATCH v4 5/7] bus/fslmc: remove unused debug macros Shreyansh Jain
2018-04-02 14:06       ` [PATCH v4 6/7] crypto/dpaa2_sec: fix incorrect debugging prints Shreyansh Jain
2018-04-02 14:06       ` [PATCH v4 7/7] crypto/dpaa2_sec: change to dynamic logging Shreyansh Jain
2018-04-02 22:03       ` [PATCH v4 0/7] Change DPAA2 " Thomas Monjalon

Reply instructions:

You may reply publically 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=20180313054431.19556-1-shreyansh.jain@nxp.com \
    --to=shreyansh.jain@nxp.com \
    --cc=akhil.goyal@nxp.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=nipun.gupta@nxp.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

DPDK-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dpdk-dev/0 dpdk-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dpdk-dev dpdk-dev/ https://lore.kernel.org/dpdk-dev \
		dev@dpdk.org
	public-inbox-index dpdk-dev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git