ib/core: change error prints in cm module to debug prints.
commit
acd10b49 added prints to the cm module.
These, however, should really be debug prints, to be activated
when it is necessary to track down some cm problem.
To activate the debug mechanism, you need to do the following:
1. mount the debug fs (do this once)
mount -t debugfs none /sys/kernel/debug/
2. activate debug output for ib_cm:
echo -n "module ib_cm +p" > /sys/kernel/debug/dynamic_debug/control
3. To de-activate debug output when you are done, do the following
echo -n "module ib_cm -p" > /sys/kernel/debug/dynamic_debug/control
You will see the debug output in dmesg.
This change was suggested by Moni Shoua (monis@mellanox.com)
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
(Ported from Mellanox OFED 2.4)
Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>