RDMA/i40iw: Don't set 0-length FULPDU RTR indication control flag
authorTatyana Nikolova <tatyana.e.nikolova@intel.com>
Fri, 5 May 2017 17:05:16 +0000 (12:05 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 20:59:22 +0000 (16:59 -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: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c

index f3bc01bce483fe5d81ba08e2a60212e4f0f32b98..e8e864fc188375238f23a41d8b9244a4dc305815 100644 (file)
@@ -784,7 +784,6 @@ static void i40iw_build_mpa_v2(struct i40iw_cm_node *cm_node,
        }
 
        ctrl_ird |= IETF_PEER_TO_PEER;
-       ctrl_ird |= IETF_FLPDU_ZERO_LEN;
 
        switch (mpa_key) {
        case MPA_KEY_REQUEST: