umad_debug
set debug level
- Provided by: libibumad-dev (Version: 39.0-1)
- Source: rdma-core
- Report a bug
set debug level
#include <infiniband/umad.h> int umad_debug(int level);
umad_debug() sets the umad library internal debug level to level. The following debug levels are supported: 0 - no debug (the default), 1 - basic debug information, 2 - verbose debug information. Negative values are ignored in terms of set. Note that the current debug level can be queried by passing a negative value as level.
umad_debug() returns the actual debug level.