diff options
author | Leonid Arsh <leonida@voltaire.com> | 2006-05-31 23:06:39 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-09 11:36:33 -0800 |
commit | 3efe17f3fc07db7a565489fee881e433d72fd3a6 (patch) | |
tree | c24bf6f2bcd1ae1799ca6acc8876f4709c2eb56e | |
parent | 35e829d2cc8b6ee3ae42f23e65fa8e67de1b366f (diff) | |
download | libibverbs-3efe17f3fc07db7a565489fee881e433d72fd3a6.tar.gz |
Add IBV_EVENT_CLIENT_REREGISTER to libibverbs
Signed-off-by: Leonid Arsh <leonida@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | examples/asyncwatch.c | 2 | ||||
-rw-r--r-- | include/infiniband/verbs.h | 3 |
3 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,12 @@ +2006-05-31 Roland Dreier <rdreier@cisco.com> + + * examples/asyncwatch.c (event_name_str): Print human-readable + form of IBV_EVENT_CLIENT_REREGISTER. + +2006-05-31 Leonid Arsh <leonida@voltaire.com> + + * include/infiniband/verbs.h: Add IBV_EVENT_CLIENT_REREGISTER. + 2006-05-22 Michael S. Tsirkin <mst@mellanox.co.il> * include/infiniband/verbs.h: Remove trailing commas from diff --git a/examples/asyncwatch.c b/examples/asyncwatch.c index 9d706a1..e1c92af 100644 --- a/examples/asyncwatch.c +++ b/examples/asyncwatch.c @@ -57,6 +57,8 @@ static const char *event_name_str(enum ibv_event_type event_type) return "IBV_EVENT_PKEY_CHANGE"; case IBV_EVENT_SM_CHANGE: return "IBV_EVENT_SM_CHANGE"; + case IBV_EVENT_CLIENT_REREGISTER: + return "IBV_EVENT_CLIENT_REREGISTER"; case IBV_EVENT_CQ_ERR: case IBV_EVENT_QP_FATAL: diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h index 8d4cfc1..d367181 100644 --- a/include/infiniband/verbs.h +++ b/include/infiniband/verbs.h @@ -196,7 +196,8 @@ enum ibv_event_type { IBV_EVENT_SM_CHANGE, IBV_EVENT_SRQ_ERR, IBV_EVENT_SRQ_LIMIT_REACHED, - IBV_EVENT_QP_LAST_WQE_REACHED + IBV_EVENT_QP_LAST_WQE_REACHED, + IBV_EVENT_CLIENT_REREGISTER }; struct ibv_async_event { |