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