From patchwork Mon May 24 05:28:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Cohen X-Patchwork-Id: 101812 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4O5SR8H003723 for ; Mon, 24 May 2010 05:28:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751784Ab0EXF2c (ORCPT ); Mon, 24 May 2010 01:28:32 -0400 Received: from mail.mellanox.co.il ([194.90.237.43]:50849 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751430Ab0EXF2b (ORCPT ); Mon, 24 May 2010 01:28:31 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from eli@mellanox.co.il) with SMTP; 24 May 2010 08:28:52 +0300 Received: from localhost ([10.4.1.30]) by mtlexch01.mtl.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 24 May 2010 08:28:29 +0300 Date: Mon, 24 May 2010 08:28:38 +0300 From: Eli Cohen To: Roland Dreier Cc: Linux RDMA list Subject: [PATCH 2/3] mlx4: match API changes with ib_ud_header_init() Message-ID: <20100524052838.GA16127@mtldesk030.lab.mtl.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 24 May 2010 05:28:29.0296 (UTC) FILETIME=[F1282700:01CAFB01] X-TM-AS-Product-Ver: SMEX-8.0.0.1181-6.000.1038-17402.004 X-TM-AS-Result: No--7.037200-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 24 May 2010 05:28:33 +0000 (UTC) diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c index 5643f4a..33d8156 100644 --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c @@ -1229,7 +1229,7 @@ static int build_mlx_header(struct mlx4_ib_sqp *sqp, struct ib_send_wr *wr, for (i = 0; i < wr->num_sge; ++i) send_size += wr->sg_list[i].length; - ib_ud_header_init(send_size, mlx4_ib_ah_grh_present(ah), 0, &sqp->ud_header); + ib_ud_header_init(send_size, 1, 0, mlx4_ib_ah_grh_present(ah), 0, &sqp->ud_header); sqp->ud_header.lrh.service_level = be32_to_cpu(ah->av.sl_tclass_flowlabel) >> 28;