From patchwork Tue Sep 22 20:22:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bodong Wang X-Patchwork-Id: 7245441 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 212E79F443 for ; Tue, 22 Sep 2015 20:22:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D9C6205FD for ; Tue, 22 Sep 2015 20:22:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 49A572074E for ; Tue, 22 Sep 2015 20:22:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933787AbbIVUWU (ORCPT ); Tue, 22 Sep 2015 16:22:20 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:35320 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933208AbbIVUWT (ORCPT ); Tue, 22 Sep 2015 16:22:19 -0400 Received: by oiww128 with SMTP id w128so12480489oiw.2 for ; Tue, 22 Sep 2015 13:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tmud9HKNENvrkyKwroQyYT4UU5o6qKQ0i/pgrUhhQsw=; b=NP4Ac3Eutbe/bt33INkHe/UTNcl9Vhj40SSAwIsRNUxXBeLMR1lfqvh4EmOa1+JNUq Gg2xat14EFFXZt53J/+vOThd2PgA2DVpxUhSfj6JWA75gdLRNyEo+0EKBYyuMWj49IQK aqC0AjrijfdjcWddA2aJdOjxhiv4hcrNlGcvEb8dNTMkM4ko/5+8/Qp4hZ1TX+YzV/RU Bxy9onfG/sUVH8YmkyOVoru4Q8TefDTdsTUg2pN0/BVvVUv3ToRly/yo9yqi+wywYiF9 NrUuQW/Aaq3T85KkuPi7SGmXos8uuIi6S9/GnPDbsYOerbZSMPkERzsckP3v5YT89X7B 6wlg== X-Received: by 10.202.59.86 with SMTP id i83mr11074081oia.63.1442953339286; Tue, 22 Sep 2015 13:22:19 -0700 (PDT) Received: from localhost.localdomain ([207.140.101.5]) by smtp.gmail.com with ESMTPSA id p204sm1648116oia.21.2015.09.22.13.22.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2015 13:22:18 -0700 (PDT) From: wbd2905@gmail.com X-Google-Original-From: bodong@mellanox.com To: yishaih@mellanox.com Cc: dledford@redhat.com, ogerlitz@mellanox.com, bodong@mellanox.com, moshel@mellanox.com, haggaie@mellanox.com, matanb@mellanox.com, linux-rdma@vger.kernel.org Subject: [v1 1/2] libmlx4: Update ibv_create_flow/ibv_destroy_flow according to change of libibverbs Date: Tue, 22 Sep 2015 23:22:05 +0300 Message-Id: <1442953326-105006-2-git-send-email-bodong@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1442953326-105006-1-git-send-email-bodong@mellanox.com> References: <1442953326-105006-1-git-send-email-bodong@mellanox.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bodong Wang Signed-off-by: Bodong Wang --- src/mlx4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mlx4.c b/src/mlx4.c index 2999150..9fe8c6a 100644 --- a/src/mlx4.c +++ b/src/mlx4.c @@ -203,8 +203,8 @@ static int mlx4_init_context(struct verbs_device *v_device, verbs_set_ctx_op(verbs_ctx, get_srq_num, verbs_get_srq_num); verbs_set_ctx_op(verbs_ctx, create_qp_ex, mlx4_create_qp_ex); verbs_set_ctx_op(verbs_ctx, open_qp, mlx4_open_qp); - verbs_set_ctx_op(verbs_ctx, drv_ibv_create_flow, ibv_cmd_create_flow); - verbs_set_ctx_op(verbs_ctx, drv_ibv_destroy_flow, ibv_cmd_destroy_flow); + verbs_set_ctx_op(verbs_ctx, ibv_create_flow, ibv_cmd_create_flow); + verbs_set_ctx_op(verbs_ctx, ibv_destroy_flow, ibv_cmd_destroy_flow); return 0;