components/open-fabrics/libsif/patches/003-Bug23188922.patch
changeset 7120 b01185225eaa
parent 7119 2f82d964b8be
child 7121 02252aa4d56c
equal deleted inserted replaced
7119:2f82d964b8be 7120:b01185225eaa
     1 # This patch is fix for the Bug-23188922
       
     2 # It is developed By solaris PSIF team. We plan to have a common upstream repo
       
     3 # and submit these changes to it, but do not yet have a target date of doing it.
       
     4 diff -r 1dc0d37edf06 src/verbs.c
       
     5 --- a/src/verbs.c	Mon Jun 27 14:10:53 2016 +0530
       
     6 +++ b/src/verbs.c	Mon Jun 27 15:34:44 2016 +0530
       
     7 @@ -550,6 +550,8 @@
       
     8          qp->remote_qp = attr->dest_qp_num;
       
     9      if (attr_mask & IBV_QP_AV)
       
    10          qp->remote_lid = attr->ah_attr.dlid;
       
    11 +    if ((attr_mask & IBV_QP_STATE) && (attr->qp_state == IBV_QPS_RTR) && qp->sq.sw)
       
    12 +        qp->tsl = qp->sq.sw->tsl;
       
    13      return 0;
       
    14  }