OpenCloudOS-Kernel/drivers/infiniband/ulp
Roland Dreier 6f3603367b IB/srpt: Set srq_type to IB_SRQT_BASIC
Since commit 96104eda01 ("RDMA/core: Add SRQ type field"), kernel
users of SRQs need to specify srq_type = IB_SRQT_BASIC in struct
ib_srq_init_attr, or else most low-level drivers will fail in
when srpt_add_one() calls ib_create_srq() and gets -ENOSYS.

(mlx4_ib works OK nearly all of the time, because it just needs
srq_type != IB_SRQT_XRC.  And apparently nearly everyone using
ib_srpt is using mlx4 hardware)

Reported-by: Alexey Shvetsov <alexxy@gentoo.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-04-12 07:56:57 -07:00
..
ipoib IB: Change CQE "csum_ok" field to a bit flag 2012-03-08 12:34:27 -08:00
iser InfiniBand/RDMA changes for the 3.4 merge window. Nothing big really 2012-03-21 10:33:42 -07:00
srp IB/srp: Consolidate repetitive sysfs code 2012-02-27 09:27:57 -08:00
srpt IB/srpt: Set srq_type to IB_SRQT_BASIC 2012-04-12 07:56:57 -07:00