Whamcloud - gitweb
LU-519 o2iblnd: check wr_id returned by ib_poll_cq
[fs/lustre-release.git] / lnet / klnds / o2iblnd / o2iblnd.h
index 5f5d10d..715f560 100644 (file)
@@ -910,9 +910,10 @@ kiblnd_queue2str(kib_conn_t *conn, struct list_head *q)
 /* CAVEAT EMPTOR: We rely on descriptor alignment to allow us to use the
  * lowest bits of the work request id to stash the work item type. */
 
-#define IBLND_WID_TX    0
-#define IBLND_WID_RDMA  1
+#define IBLND_WID_INVAL 0
+#define IBLND_WID_TX    1
 #define IBLND_WID_RX    2
+#define IBLND_WID_RDMA  3
 #define IBLND_WID_MASK  3UL
 
 static inline __u64