All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libibverbs: Introduce a new QP type IBV_QPT_RAW_PACKET
@ 2010-07-08 13:49 Aleksey Senin
  0 siblings, 0 replies; only message in thread
From: Aleksey Senin @ 2010-07-08 13:49 UTC (permalink / raw)
  To: Roland Dreier; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Moni Shoua

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

Signed-off-by: Aleksey Senin <alekseys-smomgflXvOZWk0Htik3J/w@public.gmane.org>
---
 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..3941982 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_PACKET = 8
 };
 
 struct ibv_qp_cap {
-- 
1.6.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-08 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08 13:49 [PATCH] libibverbs: Introduce a new QP type IBV_QPT_RAW_PACKET Aleksey Senin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.