[MT23108] RNR NAK timeout is required in RTR transition.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 7 Jun 2006 23:47:22 +0000 (23:47 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 7 Jun 2006 23:47:22 +0000 (23:47 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@377 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mt23108/kernel/hca_data.c

index 662f6df..0a64566 100644 (file)
@@ -1792,14 +1792,7 @@ mlnx_conv_qp_modify_attr(
                qp_attr_p->dest_qp_num     = cl_ntoh32 (modify_attr_p->state.rtr.dest_qp);\r
                qp_attr_p->qp_ous_rd_atom = modify_attr_p->state.rtr.resp_res;\r
 \r
-               if (modify_attr_p->state.rtr.opts & IB_MOD_QP_RNR_NAK_TIMEOUT)\r
-               {\r
-                       *attr_mask_p |= QP_ATTR_MIN_RNR_TIMER;\r
-                       qp_attr_p->min_rnr_timer   = modify_attr_p->state.rtr.rnr_nak_timeout;\r
-               } else\r
-               {\r
-                       qp_attr_p->min_rnr_timer   = 0;\r
-               }\r
+               qp_attr_p->min_rnr_timer   = modify_attr_p->state.rtr.rnr_nak_timeout;\r
 \r
 #if 1\r
                CL_TRACE(MLNX_DBG_QPN, g_mlnx_dbg_lvl, ("modify_qp: hh_dest 0x%x = ibal_dest 0x%x\n",\r