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

Eli Cohen eli at dev.mellanox.co.il
Sun May 11 05:17:53 PDT 2008


>From da2391afba573aa5cbfd488e2c2498e3586ae1b9 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