Skip to content

Commit 4166fb6

Browse files
committed
Merge tag 'srpt-srq-type' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
Pull infiniband fix from Roland Dreier: "Add a fix for a bug hit by Alexey Shvetsov in ib_srtp that hits on non-mlx4 hardware." * tag 'srpt-srq-type' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: IB/srpt: Set srq_type to IB_SRQT_BASIC
2 parents e4757ca + 6f36033 commit 4166fb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/infiniband/ulp/srpt/ib_srpt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3232,6 +3232,7 @@ static void srpt_add_one(struct ib_device *device)
32323232
srq_attr.attr.max_wr = sdev->srq_size;
32333233
srq_attr.attr.max_sge = 1;
32343234
srq_attr.attr.srq_limit = 0;
3235+
srq_attr.srq_type = IB_SRQT_BASIC;
32353236

32363237
sdev->srq = ib_create_srq(sdev->pd, &srq_attr);
32373238
if (IS_ERR(sdev->srq))

0 commit comments

Comments
 (0)