From patchwork Fri Jul 27 18:23:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Heib X-Patchwork-Id: 10547565 X-Patchwork-Delegate: jgg@ziepe.ca Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B95F112E for ; Fri, 27 Jul 2018 18:23:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15F542C0AD for ; Fri, 27 Jul 2018 18:23:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09FB02C305; Fri, 27 Jul 2018 18:23:19 +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 B69122C0AD for ; Fri, 27 Jul 2018 18:23:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388893AbeG0TqV (ORCPT ); Fri, 27 Jul 2018 15:46:21 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:32834 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388857AbeG0TqV (ORCPT ); Fri, 27 Jul 2018 15:46:21 -0400 Received: by mail-wm0-f67.google.com with SMTP id r24-v6so2711986wmh.0 for ; Fri, 27 Jul 2018 11:23:16 -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=CZJ1KATyVB/fLNNHmynIfuc3nPh/Jb1CpEurTRcSjZHlBIelTgBvdJwl8eIWatoZ7b hK5NBx6c+f4cRPgWRAE1XvqrStnInITabpLux8bT+NXspZRXyfzXQI9YqX3u1tya+Ute 7xzx1LtiVUaSuu5G/W7JFr7JS4K/alefOSZKaFBVqGBDtKYd36rmBNn367eeE+RBXZ83 ToVqdOkgMiOPp6qXWQFhYc1IWoMObEtRuIBd4zKt5gv/84El1KMgxQ1TPIbv0gFIowMz Yw5wUVQqi/OYkAsq1+HKU+AkYYl1aeRpBbzPekW2l6f0+r/kPRJooT3yVgEGOqRyfPzb WV2g== 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=M3jGHk0Y24t6EEzgURCTj9OZT0pLHby0fIjtvt0BGiD3gzggpzq0Uy7TC+uZ+qxr5w E/nLKR42t7Ug3D8psWKsbZ92D2sXO/OFudCxQq6uR8Brng6HdF7YCki7KoUKuCfjt0cA 0NJyyO8rU4uX77WSmNwka7LTaS27X8cGWymKka87HiscULzEDznUwrw6S03KPFecRyK4 J7wa6IZ/dBj0myvO8cPCqYYOewmapjWEa9EVEjWfbL1q/U8H2dFwNJrd30GeVtQ8F9g1 37JCuIwMKaosUzLiJ+AzOVPmAPVLdvawFzvKcnSy6bx0i3rLjf3Cx1nPZ6o5HE4iglOD pNqg== X-Gm-Message-State: AOUpUlGIWa3Ehj3kQ6gjASw+/nL8YRCZZkZgMqi/IXNWpv7zws7T5lCb fWsCgixfNhTKj51zs9hx7Eo= X-Google-Smtp-Source: AAOMgpf+DLQisT4AHXMliVBSFE5hHzSZZD9b8SdA+/j2xB1I1t4eD+y35YREQEs9FIJ502jw47ZpqQ== X-Received: by 2002:a1c:30d2:: with SMTP id w201-v6mr5025983wmw.47.1532715796028; Fri, 27 Jul 2018 11:23:16 -0700 (PDT) Received: from localhost.localdomain ([2.53.146.104]) by smtp.gmail.com with ESMTPSA id u18-v6sm9192340wrm.80.2018.07.27.11.23.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Jul 2018 11:23:15 -0700 (PDT) From: Kamal Heib To: Doug Ledford , Jason Gunthorpe , Leon Romanovsky , Shiraz Saleem Cc: linux-rdma@vger.kernel.org, Kamal Heib Subject: [PATCH rdma-next v4 1/3] RDMA/core: Remove {create,destroy}_ah from mandatory verbs Date: Fri, 27 Jul 2018 21:23:04 +0300 Message-Id: <20180727182306.26664-2-kamalheib1@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180727182306.26664-1-kamalheib1@gmail.com> References: <20180727182306.26664-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),