Added support to IBV_EVENT_GID_CHANGE async event to libibverbs.
Signed-off-by: Dotan Barak <[EMAIL PROTECTED]>
---
Index: last_stable/src/userspace/libibverbs/include/infiniband/verbs.h
===================================================================
--- last_stable.orig/src/userspace/libibverbs/include/infiniband/verbs.h
2006-10-26 10:42:37.000000000 +0200
+++ last_stable/src/userspace/libibverbs/include/infiniband/verbs.h
2006-10-26 10:42:55.000000000 +0200
@@ -197,7 +197,8 @@ enum ibv_event_type {
IBV_EVENT_SRQ_ERR,
IBV_EVENT_SRQ_LIMIT_REACHED,
IBV_EVENT_QP_LAST_WQE_REACHED,
- IBV_EVENT_CLIENT_REREGISTER
+ IBV_EVENT_CLIENT_REREGISTER,
+ IBV_EVENT_GID_CHANGE
};
struct ibv_async_event {
Index: last_stable/src/userspace/libibverbs/examples/asyncwatch.c
===================================================================
--- last_stable.orig/src/userspace/libibverbs/examples/asyncwatch.c
2006-10-26 10:44:52.000000000 +0200
+++ last_stable/src/userspace/libibverbs/examples/asyncwatch.c 2006-10-26
10:45:16.000000000 +0200
@@ -59,6 +59,9 @@ static const char *event_name_str(enum i
return "IBV_EVENT_SM_CHANGE";
case IBV_EVENT_CLIENT_REREGISTER:
return "IBV_EVENT_CLIENT_REREGISTER";
+ case IBV_EVENT_GID_CHANGE:
+ return "IBV_EVENT_GID_CHANGE";
+
case IBV_EVENT_CQ_ERR:
case IBV_EVENT_QP_FATAL:
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general