public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Tatyana Nikolova
	<tatyana.e.nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org,
	dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	e1000-rdma-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH RFC rdma-core 0/3] Common Provider Debug Printing
Date: Wed, 18 Jan 2017 07:26:36 +0200	[thread overview]
Message-ID: <20170118052636.GR32481@mtr-leonro.local> (raw)
In-Reply-To: <1484682331-111172-1-git-send-email-tatyana.e.nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]

On Tue, Jan 17, 2017 at 01:45:31PM -0600, Tatyana Nikolova wrote:
> Similar debug printing functionality is
> refactored to reduce code duplication in two
> rdma-core providers. Please review and comment
> whether the proposed debug printing approach
> should be adopted by the rdma-core providers.
>
> For more information about the issue this patch
> series addresses, see the email thread titled
> "[PATCH V2 08/10] i40iw: Control debug error prints using env variable"
>
> Tatyana Nikolova (3):
>   util: Add common code for provider debug
>   mlx5: Use common provider debug macros
>   qedr: Use common provider debug macros
>
>  buildlib/rdma_functions.cmake |   2 +-
>  providers/mlx5/buf.c          |  18 ++---
>  providers/mlx5/cq.c           |   6 +-
>  providers/mlx5/mlx5.c         |  51 ++++---------
>  providers/mlx5/mlx5.h         |  27 +------
>  providers/mlx5/qp.c           |  24 +++---
>  providers/mlx5/verbs.c        |  48 ++++++------
>  providers/qedr/qelr.h         |  57 +-------------
>  providers/qedr/qelr_main.c    |  68 +++--------------
>  providers/qedr/qelr_verbs.c   | 168 ++++++++++++++++++++++++------------------
>  util/CMakeLists.txt           |   8 ++
>  util/dbg.c                    |  83 +++++++++++++++++++++
>  util/dbg.h                    |  95 ++++++++++++++++++++++++
>  13 files changed, 358 insertions(+), 297 deletions(-)
>  create mode 100644 util/dbg.c
>  create mode 100644 util/dbg.h

Thanks Tatyana,

There is need to add new file to Documentation/ with description of
these common environmental variables.

And can you please add patch for i40iw debug prints to the final version too?

>
> --
> 1.8.5.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2017-01-18  5:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-17 19:45 [PATCH RFC rdma-core 0/3] Common Provider Debug Printing Tatyana Nikolova
     [not found] ` <1484682331-111172-1-git-send-email-tatyana.e.nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-18  5:26   ` Leon Romanovsky [this message]

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=20170118052636.GR32481@mtr-leonro.local \
    --to=leonro-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=e1000-rdma-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tatyana.e.nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /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