linux/drivers/infiniband/ulp
Or Gerlitz f57915cfa5 ib_isert: Add max_send_sge=2 minimum for control PDU responses
This patch adds a max_send_sge=2 minimum in isert_conn_setup_qp()
to ensure outgoing control PDU responses with tx_desc->num_sge=2
are able to function correctly.

This addresses a bug with RDMA hardware using dev_attr.max_sge=3,
that in the original code with the ConnectX-2 work-around would
result in isert_conn->max_sge=1 being negotiated.

Originally reported by Chris with ocrdma driver.

Reported-by: Chris Moore <Chris.Moore@emulex.com>
Tested-by: Chris Moore <Chris.Moore@emulex.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: <stable@vger.kernel.org> # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-11-02 22:04:29 -08:00
..
ipoib net: better IFF_XMIT_DST_RELEASE support 2014-10-07 13:22:11 -04:00
iser IB/mlx5, iser, isert: Add Signature API additions 2014-10-09 00:10:53 -07:00
isert ib_isert: Add max_send_sge=2 minimum for control PDU responses 2014-11-02 22:04:29 -08:00
srp IB/srp: Fix return value check in srp_init_module() 2014-08-14 08:57:54 -07:00
srpt srp-target: Retry when QP creation fails with ENOMEM 2014-10-28 13:55:08 -07:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00