RDS/IB: print IB event strings as well as their number
authorZach Brown <zach.brown@oracle.com>
Wed, 14 Jul 2010 21:01:21 +0000 (14:01 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:16:43 +0000 (18:16 -0700)
commit1bde04a63d532c2540d6fdee0a661530a62b1686
tree222d72e75824e25396b83e82bbd3769cc07599cc
parent8576f374ac9537674e3cccb0a9d43fa2b7ebbf5b
RDS/IB: print IB event strings as well as their number

It's nice to not have to go digging in the code to see which event
occurred.  It's easy to throw together a quick array that maps the ib
event enums to their strings.  I didn't see anything in the stack that
does this translation for us, but I also didn't look very hard.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
net/rds/ib_cm.c