From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Sagi Grimberg
<sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Subject: Re: [PATCH v8 0/6] Generic logging helpers
Date: Tue, 19 May 2015 11:34:11 -0400 [thread overview]
Message-ID: <1432049651.3114.39.camel@redhat.com> (raw)
In-Reply-To: <1432028899-15211-1-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 3276 bytes --]
On Tue, 2015-05-19 at 12:48 +0300, Sagi Grimberg wrote:
> This small set adds some meaningful verbosity to some
> of the core/rdma_cm enumerated events. Its useful to
> see the meaning of the opcodes instead of revisiting the
> code for every new status/event that left the cache in
> our brain.
>
> Many thanks to all the reviewers!
Hi Sagi,
I grabbed v7 already, but I manually added Sean's typo catch to it when
I picked it up. So it's the same as your v8.
> Changes from v7:
> - Fixed typo for IB_WC_REM_INV_RD_REQ_ERR wc status
>
> Changes from v6:
> - Lowered case for unrecognised event/status print
> - Fixed typo in IB_WC_REM_INV_REQ_ERR string
>
> Changes from v5:
> - Changed message strings to match the xprtrdma style
> - checkpatch nit
>
> Changes from v4:
> - Split up ULP changes to separate patches
>
> Changes from v3:
> - Protect against "holes" in string arrays
> - Restored __attribute_const__ to functions prototype
> - Made string arrays rodata
>
> Changes from v2:
> - Cast to size_t instead of unsigned
> - Style fix in string arrays declaration
> - Removed redundant __attribute_const__
>
> Changes from v1:
> - Changed helper names ib_wc_status_msg and rdma_event_msg
> - Cast input arguments to protect string buffer access
> - Add svcrdma to the party
>
> Changes from v0 (RFC):
> - Moved string arrays to .c files
> - Changed string helpers from macros to exported functions
> - Aligned rds to generic helpers as well
>
> Sagi Grimberg (6):
> IB/core, cma: Nice log-friendly string helpers
> IB/srp: Align to generic logging helpers
> IB/iser: Align to generic logging helpers
> iser-target: Align to generic logging helpers
> xprtrdma, svcrdma: Switch to generic logging helpers
> RDS: Switch to generic logging helpers
>
> drivers/infiniband/core/cma.c | 28 +++++++++
> drivers/infiniband/core/verbs.c | 65 +++++++++++++++++++++
> drivers/infiniband/ulp/iser/iser_verbs.c | 28 ++++++---
> drivers/infiniband/ulp/isert/ib_isert.c | 19 ++++--
> drivers/infiniband/ulp/srp/ib_srp.c | 16 +++--
> include/rdma/ib_verbs.h | 4 +
> include/rdma/rdma_cm.h | 2 +
> net/rds/af_rds.c | 9 ---
> net/rds/ib.h | 1 -
> net/rds/ib_cm.c | 36 +-----------
> net/rds/ib_recv.c | 4 +-
> net/rds/ib_send.c | 38 +------------
> net/rds/rdma_transport.c | 34 +----------
> net/rds/rds.h | 1 -
> net/sunrpc/xprtrdma/frwr_ops.c | 4 +-
> net/sunrpc/xprtrdma/svc_rdma_transport.c | 29 ++++++----
> net/sunrpc/xprtrdma/verbs.c | 90 ++----------------------------
> 17 files changed, 174 insertions(+), 234 deletions(-)
>
> --
> 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
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG KeyID: 0E572FDD
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-05-19 15:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 9:48 [PATCH v8 0/6] Generic logging helpers Sagi Grimberg
[not found] ` <1432028899-15211-1-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-05-19 9:48 ` [PATCH v8 1/6] IB/core, cma: Nice log-friendly string helpers Sagi Grimberg
[not found] ` <1432028899-15211-2-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-06-24 12:38 ` Or Gerlitz
2015-05-19 9:48 ` [PATCH v8 2/6] IB/srp: Align to generic logging helpers Sagi Grimberg
2015-05-19 9:48 ` [PATCH v8 3/6] IB/iser: " Sagi Grimberg
[not found] ` <1432028899-15211-4-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-05-19 10:43 ` Bart Van Assche
2015-05-19 9:48 ` [PATCH v8 4/6] iser-target: " Sagi Grimberg
[not found] ` <1432028899-15211-5-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-05-19 10:44 ` Bart Van Assche
2015-05-19 9:48 ` [PATCH v8 5/6] xprtrdma, svcrdma: Switch " Sagi Grimberg
2015-05-19 9:48 ` [PATCH v8 6/6] RDS: " Sagi Grimberg
2015-05-19 15:34 ` Doug Ledford [this message]
[not found] ` <1432049651.3114.39.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-05-20 9:09 ` [PATCH v8 0/6] Generic " Sagi Grimberg
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=1432049651.3114.39.camel@redhat.com \
--to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
--cc=sagig-VPRAkNaXOzVWk0Htik3J/w@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