From: Or Gerlitz Date: Wed, 22 Oct 2014 21:55:49 +0000 (-0700) Subject: ib_isert: Add max_send_sge=2 minimum for control PDU responses X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~89^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f57915cfa5b2b14c1cffa2e83c034f55e3f0e70d;p=pandora-kernel.git 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 Tested-by: Chris Moore Signed-off-by: Or Gerlitz Cc: # 3.10+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed