RDMA/nes: Don't set 0-length FULPDU RTR indication control flag
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Wed, 10 May 2017 21:46:39 +0000 (16:46 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:01:14 +0000 (17:01 -0400)
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 <tatyana.e.nikolova@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/nes/nes_cm.c

index fb983df7c157b660239983e00c85da5627863dec..06a55f6fb7086c6143c3f3833e86623fb47d73f7 100644 (file)
@@ -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: