IB/core, cma: Nice log-friendly string helpers
authorSagi Grimberg <sagig@mellanox.com>
Mon, 18 May 2015 10:40:28 +0000 (13:40 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:43:52 +0000 (13:43 -0400)
commit2b1b5b601230ae4356be4724ea7a058ed7203c63
tree94b26ed3a0b45927c8a71955d0134f5edd3f3353
parente26081808edadfd257c6c9d81014e3b25e9a6118
IB/core, cma: Nice log-friendly string helpers

Some of us keep revisiting the code to decode enumerations that
appear in out logs. Let's borrow the nice logging helpers that
exists in xprtrdma and rds for CMA events, IB events and WC statuses.

Reviewd-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h
include/rdma/rdma_cm.h