[ewg] [PATCH] IB/libibverbs: Add "vlan present" flag to completion flags

Moni Shoua monis at Voltaire.COM
Wed Feb 2 07:59:17 PST 2011


Add a new flag that can come with a completion to state a presence of a VLAN

Signed-off-by: Aleksey Senin <alekseys at voltaire.com>
Reviewed-by:   Moni Shoua  <monis at voltaire.com>
--

--- a/include/infiniband/verbs.h	2010-01-19 16:12:06.000000000 +0200
+++ b/include/infiniband/verbs.h	2010-02-10 15:29:17.000000000 +0200
@@ -272,7 +272,8 @@
 
 enum ibv_wc_flags {
 	IBV_WC_GRH		= 1 << 0,
-	IBV_WC_WITH_IMM		= 1 << 1
+	IBV_WC_WITH_IMM		= 1 << 1,
+	IBV_WC_WITH_VLAN	= 1 << 3
 };
 
 struct ibv_wc {



More information about the ewg mailing list