[ewg] [PATCH] libibverbs: add raw ethernet QP type IBV_QPT_RAW_ETH=7

Mirek Walukiewicz miroslaw.walukiewicz at intel.com
Fri Apr 30 09:46:40 PDT 2010


The patch enables usage of L2 raw ethernet QP type for user-space applications.

Miroslaw Walukiewicz


Signed-off-by: Mirek Walukiewicz <miroslaw.walukiewicz at intel.com>
---
 include/infiniband/verbs.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
index 0f1cb2e..55cea89 100644
--- a/include/infiniband/verbs.h
+++ b/include/infiniband/verbs.h
@@ -390,7 +390,8 @@ struct ibv_srq_init_attr {
 enum ibv_qp_type {
 	IBV_QPT_RC = 2,
 	IBV_QPT_UC,
-	IBV_QPT_UD
+	IBV_QPT_UD,
+	IBV_QPT_RAW_ETH = 7
 };
 
 struct ibv_qp_cap {

 



More information about the ewg mailing list