From: Tatyana Nikolova Date: Wed, 10 May 2017 21:46:39 +0000 (-0500) Subject: RDMA/nes: Don't set 0-length FULPDU RTR indication control flag X-Git-Tag: MMI-PSA29.97-13-9~4931^2~125 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e5fc903513a652a2cf890a3d3b91c1779e16e97;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git RDMA/nes: Don't set 0-length FULPDU RTR indication control flag Don't set control flag for 0-length FULPDU (Send) RTR indication in the enhanced MPA Request/Reply frames, because it isn't supported. Signed-off-by: Tatyana Nikolova Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/nes/nes_cm.c b/drivers/infiniband/hw/nes/nes_cm.c index fb983df7c157..06a55f6fb708 100644 --- a/drivers/infiniband/hw/nes/nes_cm.c +++ b/drivers/infiniband/hw/nes/nes_cm.c @@ -610,7 +610,6 @@ static void build_mpa_v2(struct nes_cm_node *cm_node, ctrl_ord = cm_node->ord_size & IETF_NO_IRD_ORD; } ctrl_ird |= IETF_PEER_TO_PEER; - ctrl_ird |= IETF_FLPDU_ZERO_LEN; switch (mpa_key) { case MPA_KEY_REQUEST: