I can see ibv_asyncwatch as part of libibverbs-utils package. I want to know its use cases. Like how can i use this to monitor asynchronous events. Could someone elaborate on this with example and what are options for it ?
I can see ibv_asyncwatch as part of libibverbs-utils package. I want to know its use cases. Like how can i use this to monitor asynchronous events. Could someone elaborate on this with example and what are options for it ?
The InfiniBand specifications describe several unaffiliated asynchronous events. These events are not related to the operation of a specific QP, or to a specific verb.
ibv_asyncwatch
is an example program that monitor these events (on the first InfiniBand device) and prints the event type and the port on which it occurred.You can see the complete list of events (including other asynchronous events) in the
ibv_get_async_event
man page, and there are some more details on an RDMAmojo blog post. You can also read the (very short) source code foribv_asyncwatch
.