* [PATCH RFC rdma-core 0/3] Common Provider Debug Printing
@ 2017-01-17 19:45 Tatyana Nikolova
[not found] ` <1484682331-111172-1-git-send-email-tatyana.e.nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Tatyana Nikolova @ 2017-01-17 19:45 UTC (permalink / raw)
To: jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/,
dledford-H+wXaHxf7aLQT0dZR+AlfA, leonro-VPRAkNaXOzVWk0Htik3J/w
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA,
e1000-rdma-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <1484682331-111172-1-git-send-email-tatyana.e.nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH RFC rdma-core 0/3] Common Provider Debug Printing [not found] ` <1484682331-111172-1-git-send-email-tatyana.e.nikolova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2017-01-18 5:26 ` Leon Romanovsky 0 siblings, 0 replies; 2+ messages in thread From: Leon Romanovsky @ 2017-01-18 5:26 UTC (permalink / raw) To: Tatyana Nikolova Cc: jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/, dledford-H+wXaHxf7aLQT0dZR+AlfA, linux-rdma-u79uwXL29TY76Z2rM5mHXA, e1000-rdma-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- 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 --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-18 5:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox