]> git.baikalelectronics.ru Git - kernel.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)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 20 Nov 2014 06:28:42 +0000 (22:28 -0800)
commit5eedb1f09c24adeeb62e7061f7a11f5f93548560
tree04564dc1534581d24bc8152b950572699fd1fc5c
parente013e1bf9482aa9200c63bb0fccd3f52cf5e3093
IB/isert: Adjust CQ size to HW limits

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>
Cc: <stable@vger.kernel.org> # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c