From patchwork Sat Jul 14 23:28:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Heib X-Patchwork-Id: 10524919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7D7D860626 for ; Sat, 14 Jul 2018 23:28:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D5A928956 for ; Sat, 14 Jul 2018 23:28:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5631928A26; Sat, 14 Jul 2018 23:28:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 084FE28956 for ; Sat, 14 Jul 2018 23:28:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731583AbeGNXtI (ORCPT ); Sat, 14 Jul 2018 19:49:08 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39584 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731483AbeGNXtH (ORCPT ); Sat, 14 Jul 2018 19:49:07 -0400 Received: by mail-wr1-f68.google.com with SMTP id h10-v6so28387206wre.6 for ; Sat, 14 Jul 2018 16:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+hJgHRx9NpMg0hkKWfHSMfDUgRf8DhNyu+Vjx/wjcm8=; b=HBhmey8x0x5lw4wpWiCp+xfXlqP4t8/kxtyhLwMuahtcw6gma1T4xCrUD7+Rly2pbs E6aHMrgNti2YNQioyvHk4FL1eDTklT7I9hyVn/qrkl3C7vIEj4IT3gzsmu82xzAh9qZI obDoF2BngliyPKw7gl8aURo7GfMF3etM+7icXt3BYhV0SZX2z1O7zYd1YifHF4ceOd23 X5EZ8jkMKtfqVZXOlhGUmqA+T2vTLe9c1n2j/9ZS2JxhKGlo9jvGFmfB8rscexIlnHrF I140Lns8KLKUSJQmYDqHziD18TRbFIJTF0sMFysQbBGJeshjroxVQ3fs0VzM4jPQuYNJ fqDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+hJgHRx9NpMg0hkKWfHSMfDUgRf8DhNyu+Vjx/wjcm8=; b=QcLRlfZOwtmAxhYanqEZMS7tnD3JtNR1yjTE85etWVZby2FuPqaVjpzH7GimMxq2tg yq++OiYA/eNRSlFVsa3V2mn9MM0yoOtexbNDcUk3N6tO0pArD5J2LgF9MvP/oRoJDc24 bmmEWnLMxNGhGlFWVRZXRcfUhdv0sJx2LBEk2lLQ6J0iJPTjWeuWC/+pqXOJXLDKS14c dyiNOECo8v6akRkgSaFgJTUZkyZzBbk8lucDgXyQfKQFfaD+zZrQnybA0gQSa3ppy68V OnzrJyOxGnel9ham5K1mydqh6vVpyPCVCJOON6x8Y8hzalOgEAyNVE3uYL5W7oQE+6FF Da1g== X-Gm-Message-State: AOUpUlEMpoJVeIfojPDDXN7MnVptjioOq3yvsWCi8t4Plt5uUPBpPmee E/LleHpVfXbl54pED+9F37w= X-Google-Smtp-Source: AAOMgpe2ojJpkRPkbNA+WORBQ5gjJy7S6mSbH6uVG8Sk7brs1IPyos/Id2HHaeOQoDe/mSgWTidu5A== X-Received: by 2002:adf:ac2d:: with SMTP id v42-v6mr8399250wrc.142.1531610903487; Sat, 14 Jul 2018 16:28:23 -0700 (PDT) Received: from localhost.localdomain (bzq-109-67-23-64.red.bezeqint.net. [109.67.23.64]) by smtp.gmail.com with ESMTPSA id y14-v6sm19299795wrq.45.2018.07.14.16.28.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Jul 2018 16:28:23 -0700 (PDT) From: Kamal Heib To: Doug Ledford , Jason Gunthorpe Cc: linux-rdma@vger.kernel.org, Kamal Heib Subject: [PATCH rdma-next v2 1/3] RDMA/core: Remove {create, destroy}_ah from mandatory verbs Date: Sun, 15 Jul 2018 02:28:09 +0300 Message-Id: <20180714232811.9164-2-kamalheib1@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180714232811.9164-1-kamalheib1@gmail.com> References: <20180714232811.9164-1-kamalheib1@gmail.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP {create,destroy}_ah aren't mandatory verbs, because not all providers are implementing them. Signed-off-by: Kamal Heib --- drivers/infiniband/core/device.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c index b8144f194777..db3b6271f09d 100644 --- a/drivers/infiniband/core/device.c +++ b/drivers/infiniband/core/device.c @@ -105,8 +105,6 @@ static int ib_device_check_mandatory(struct ib_device *device) IB_MANDATORY_FUNC(query_pkey), IB_MANDATORY_FUNC(alloc_pd), IB_MANDATORY_FUNC(dealloc_pd), - IB_MANDATORY_FUNC(create_ah), - IB_MANDATORY_FUNC(destroy_ah), IB_MANDATORY_FUNC(create_qp), IB_MANDATORY_FUNC(modify_qp), IB_MANDATORY_FUNC(destroy_qp),