Skip to contentSkip to conversation

libibverbs: Introduce a new QP type IBV_QPT_RAW_PACKET

PATCH New Aleksey Senin 1 participant 1 message Jul 8, 2010 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libibverbs: Introduce a new QP type IBV_QPT_RAW_PACKET

This type of QP is used in Ethernet environment and intended for creation of a whole packet, including L2 headers, from userspace.

---
 include/infiniband/verbs.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/infiniband/verbs.h +2 -1
index 0f1cb2e..3941982 100644
@@ -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_PACKET = 8
 };
 
 struct ibv_qp_cap {
Signature · 6 lines
1.6.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html