[ofa-general] [PATCH 1/2] IB/core: Add comletion flag for send with invalidate

Eli Cohen eli at dev.mellanox.co.il
Sun Jun 1 08:05:01 PDT 2008


>From abebd3a1809c9c5ba422e36d9d75a3cbf5fde1fe Mon Sep 17 00:00:00 2001
From: Eli Cohen <eli at mellanox.co.il>
Date: Sun, 11 May 2008 14:59:08 +0300
Subject: [PATCH] IB/core: Add comletion flag for send with invalidate

Add IB_WC_WITH_INVALIDATE to enum ib_wc_flags to mark completions
of "send with invalidate" operations.

Signed-off-by: Eli Cohen <eli at mellanox.co.il>
---
 include/rdma/ib_verbs.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 911a661..57a11f8 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -424,7 +424,8 @@ enum ib_wc_opcode {
 
 enum ib_wc_flags {
 	IB_WC_GRH		= 1,
-	IB_WC_WITH_IMM		= (1<<1)
+	IB_WC_WITH_IMM		= (1<<1),
+	IB_WC_WITH_INVALIDATE	= (1<<2),
 };
 
 struct ib_wc {
-- 
1.5.5.1






More information about the general mailing list