23188922 libsif to support TSL policy
23743649 Userland changes for sqs-flush errors
# This patch is fix for the Bug-23188922
# It is developed By solaris PSIF team. We plan to have a common upstream repo
# and submit these changes to it, but do not yet have a target date of doing it
diff -r 6299a4e4e707 src/verbs.c
--- a/src/verbs.c Wed Jul 20 03:05:26 2016 -0700
+++ b/src/verbs.c Wed Jul 20 04:48:17 2016 -0700
@@ -665,6 +665,8 @@
qp->remote_qp = attr->dest_qp_num;
if (attr_mask & IBV_QP_AV)
qp->remote_lid = attr->ah_attr.dlid;
+ if ((attr_mask & IBV_QP_STATE) && (attr->qp_state == IBV_QPS_RTR) && qp->sq.sw)
+ qp->tsl = qp->sq.sw->tsl;
return 0;
}