SysTutorials

Linux Manual Pages › Section 3

umad_debug(3)

umad_debug – set debug level

Synopsis

#include <infiniband/umad.h>
int umad_debug(int level);

Description

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.

Return Value

umad_debug() returns the actual debug level.

Authors

Hal Rosenstock <halr [at] voltaire.com>
Dotan Barak <dotanb [at] mellanox.co.il>