]> 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)
committerJiri Slaby <jslaby@suse.cz>
Sat, 6 Dec 2014 14:14:51 +0000 (15:14 +0100)
commita202e873db134652f98074849d2299a01d390aa1
treed80289d54c33a28d2eb83ae34a896bc65018681e
parent1b0a21003bd3b81a0b935f51f4e6988910cb0ae1
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: Jiri Slaby <jslaby@suse.cz>
drivers/infiniband/ulp/isert/ib_isert.c