On 3/26/2013 4:14 PM, [email protected] wrote:
From: Sean Hefty <[email protected]>

XRC support requires the use of a new type of SRQ.

XRC shared receive queues: xrc srq's are similar to normal
srq's, except that they are bound to an xrcd, rather
than to a protection domain.  Based on the current spec
and implementation, they are only usable with xrc qps.  To
support xrc srq's, we define a new srq_init_attr structure
to include an srq type and other needed information.

The kernel ABI is also updated to allow creating extended
SRQs.

<snip>

@@ -746,11 +770,15 @@ struct ibv_context {
enum verbs_context_mask {
        VERBS_CONTEXT_XRCD      = 1 << 0,
-       VERBS_CONTEXT_RESERVED  = 1 << 1
+       VERBS_CONTEXT_SRQ       = 1 << 1,
+       VERBS_CONTEXT_RESERVED  = 1 << 2
  };

Would VERBS_CONTEXT_XSRQ or VERBS_CONTEXT_SRQ_EX be more clear?

Steve.
--
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

Reply via email to