aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 2ee9892850ba..fb61f6685809 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -675,6 +675,7 @@ static int send_connect(struct c4iw_ep *ep)
675 if (is_t5(ep->com.dev->rdev.lldi.adapter_type)) { 675 if (is_t5(ep->com.dev->rdev.lldi.adapter_type)) {
676 opt2 |= T5_OPT_2_VALID; 676 opt2 |= T5_OPT_2_VALID;
677 opt2 |= V_CONG_CNTRL(CONG_ALG_TAHOE); 677 opt2 |= V_CONG_CNTRL(CONG_ALG_TAHOE);
678 opt2 |= CONG_CNTRL_VALID; /* OPT_2_ISS for T5 */
678 } 679 }
679 t4_set_arp_err_handler(skb, ep, act_open_req_arp_failure); 680 t4_set_arp_err_handler(skb, ep, act_open_req_arp_failure);
680 681
@@ -720,8 +721,6 @@ static int send_connect(struct c4iw_ep *ep)
720 } else { 721 } else {
721 u32 isn = (prandom_u32() & ~7UL) - 1; 722 u32 isn = (prandom_u32() & ~7UL) - 1;
722 723
723 opt2 |= T5_OPT_2_VALID;
724 opt2 |= CONG_CNTRL_VALID; /* OPT_2_ISS for T5 */
725 if (peer2peer) 724 if (peer2peer)
726 isn += 4; 725 isn += 4;
727 726
@@ -763,10 +762,10 @@ static int send_connect(struct c4iw_ep *ep)
763 t5_req6->peer_ip_lo = *((__be64 *) 762 t5_req6->peer_ip_lo = *((__be64 *)
764 (ra6->sin6_addr.s6_addr + 8)); 763 (ra6->sin6_addr.s6_addr + 8));
765 t5_req6->opt0 = cpu_to_be64(opt0); 764 t5_req6->opt0 = cpu_to_be64(opt0);
766 t5_req6->params = (__force __be64)cpu_to_be32( 765 t5_req6->params = cpu_to_be64(V_FILTER_TUPLE(
767 cxgb4_select_ntuple( 766 cxgb4_select_ntuple(
768 ep->com.dev->rdev.lldi.ports[0], 767 ep->com.dev->rdev.lldi.ports[0],
769 ep->l2t)); 768 ep->l2t)));
770 t5_req6->rsvd = cpu_to_be32(isn); 769 t5_req6->rsvd = cpu_to_be32(isn);
771 PDBG("%s snd_isn %u\n", __func__, 770 PDBG("%s snd_isn %u\n", __func__,
772 be32_to_cpu(t5_req6->rsvd)); 771 be32_to_cpu(t5_req6->rsvd));