Skip to content

RFC: common API for displaying status codes

Chuck Lever linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ib_core: API for deriving common display stringsdrivers/infiniband/core/Makefile drivers/infiniband/core/str.c include/rdma/ib_str.h+223 -12 replies
2/3RDS: Replace event/status display helpers with generic helpersnet/rds/af_rds.c net/rds/ib.h net/rds/ib_cm.c +4 more+11 -1130 replies
3/3xprtrdma: Replace array of connection stringsnet/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+2 -260 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchSagi Grimberg
SeriesReveiwed-by
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] RFC: common API for displaying status codes

Sagi and Or suggested developing a common API for displaying status and event codes that can be shared among consumers of ib_core. The first patch is a stab at that. The last two patches are examples of how the new APIs are used. Lightly tested.

If acceptable, I'll submit 1/3 via the IB tree. 3/3 will go through Anna's tree after 1/3 is merged. Does 2/3 need to go through netdev?

---

Chuck Lever (3):
ib_core: API for deriving common display strings
RDS: Replace event/status display helpers with generic helpers
xprtrdma: Replace array of connection strings

 drivers/infiniband/core/Makefile |    3 -
 drivers/infiniband/core/str.c    |  167 ++++++++++++++++++++++++++++++++++++++
 include/rdma/ib_str.h            |   54 ++++++++++++
 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                    |    2 
 net/sunrpc/xprtrdma/verbs.c      |   27 ------
 net/sunrpc/xprtrdma/xprt_rdma.h  |    1 
 12 files changed, 236 insertions(+), 140 deletions(-)
 create mode 100644 drivers/infiniband/core/str.c
 create mode 100644 include/rdma/ib_str.h

--
Chuck Lever
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html