]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c7e7809c875b2676da2f6791a45110c4f197057
tree222d72e75824e25396b83e82bbd3769cc07599cc
parentc9d64069cdf17bd7da2d3150b02950ccaa784d95
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