OSDN Git Service

RDMA/core: Add XRC SRQ type
authorSean Hefty <sean.hefty@intel.com>
Tue, 24 May 2011 02:42:29 +0000 (19:42 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 13 Oct 2011 16:14:31 +0000 (09:14 -0700)
commit418d51307d102e72e745031adb4f5ba0ddb646e2
tree929f9e9331541535013a302e8ff9432480ae635e
parent96104eda01695a26da2c8f7423ec0ba3509c8c97
RDMA/core: Add XRC SRQ type

XRC ("eXtended reliable connected") is an IB transport that provides
better scalability by allowing senders to specify which shared receive
queue (SRQ) should be used to receive a message, which essentially
allows one transport context (QP connection) to serve multiple
destinations (as long as they share an adapter, of course).

XRC defines SRQs that are specifically used by XRC connections.  Expand
the SRQ code to support XRC SRQs.  An XRC SRQ is currently restricted to
only XRC use according to the IB XRC Annex.

Portions of this patch were derived from work by
Jack Morgenstein <jackm@dev.mellanox.co.il>.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h