From patchwork Wed Sep 16 16:01:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bodong Wang X-Patchwork-Id: 7196411 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3ACDDBEEC1 for ; Wed, 16 Sep 2015 16:02:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6E8CB2085B for ; Wed, 16 Sep 2015 16:02:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 875BD20825 for ; Wed, 16 Sep 2015 16:02:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752648AbbIPQCK (ORCPT ); Wed, 16 Sep 2015 12:02:10 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:34510 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752559AbbIPQCJ (ORCPT ); Wed, 16 Sep 2015 12:02:09 -0400 Received: by obbda8 with SMTP id da8so152534884obb.1 for ; Wed, 16 Sep 2015 09:02:08 -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; bh=3YBpB4/XOgsOWpO6krVHOqZbRcaX3xSmIXUMzKOx0zU=; b=MKb7QH/qi70j9H+gr5Rw/JLybzgc93ckP8JpPkT+50sRdI01UMW7h/l2MWFz1jNUcn 7ojXZjrqOj7MGijBHsFMtnl8mzfz+hrq3Exs6eno/RoYIFAWX/S/rXHrGVYIWhAi4UUN qa8dBunxwL1D0Cn2mPzSQhTBgvw8n/qGdCnQ2MKkmbR6dj+K5s+4IRJsA0TR2gaOEnLM 306EslZmB/zytcxrN0RbV2zy6Q1mNjLlnoQIUgfgMIwDnkmnJLihq61RUljm+zIGlV0u XAE2mmEivb+bgpm2LM5yIOkXDXiD0iMuwCMtcyMM//xbVoqnsJBdrlwFf6VB2tchYm3g bqIw== X-Received: by 10.182.153.69 with SMTP id ve5mr25506507obb.80.1442419328821; Wed, 16 Sep 2015 09:02:08 -0700 (PDT) Received: from localhost.localdomain ([207.140.101.5]) by smtp.gmail.com with ESMTPSA id q5sm11373173oia.7.2015.09.16.09.02.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 09:02:07 -0700 (PDT) From: Bodong Wang X-Google-Original-From: Bodong Wang To: yishaih@mellanox.com Cc: dledford@redhat.com, linux-rdma@vger.kernel.org, bodong@mellanox.com, ogerlitz@mellanox.com, moshel@mellanox.com Subject: [PATCH 1/2] Update ibv_create_flow/ibv_destroy_flow according to change of libibverbs Date: Wed, 16 Sep 2015 19:01:53 +0300 Message-Id: X-Mailer: git-send-email 1.7.1 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, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 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;