]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/isert: Adjust CQ size to HW limits
authorChris Moore <Chris.Moore@Emulex.Com>
Tue, 4 Nov 2014 16:28:29 +0000 (16:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2014 23:57:19 +0000 (15:57 -0800)
commit7cd0b977abd527d872fb4fbef9c8e0b78bddee3f
treeec833ed5cbc595a939b7f8d858fd366105066528
parent391d9c6c3beef96ce3080487cdd158cd4e9711e6
IB/isert: Adjust CQ size to HW limits

commit b1a5ad006b34ded9dc7ec64988deba1b3ecad367 upstream.

isert has an issue of trying to create a CQ with more CQEs than are
supported by the hardware, that currently results in failures during
isert_device creation during first session login.

This is the isert version of the patch that Minh Tran submitted for
iser, and is simple a workaround required to function with existing
ocrdma hardware.

Signed-off-by: Chris Moore <chris.moore@emulex.com>
Reviewied-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/isert/ib_isert.c