]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:25 +0000 (16:41 -0700)
commit6c56c6d0736bb6f97cda52117c271e9132390db1
treeafb85a987a17adf87ad64cebe85b48d7e47dfb3c
parent9fba3107ed8405d7a962d0b2990676e10baa2354
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>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Bang Nguyen <bang.nguyen@oracle.com>
net/rds/ib_cm.c