From patchwork Wed Jun 2 04:28:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 12292835 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,MIME_NO_TEXT, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA3CAC4708F for ; Wed, 2 Jun 2021 04:29:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8088161090 for ; Wed, 2 Jun 2021 04:29:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbhFBEbe (ORCPT ); Wed, 2 Jun 2021 00:31:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbhFBEaf (ORCPT ); Wed, 2 Jun 2021 00:30:35 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1FD3C061574 for ; Tue, 1 Jun 2021 21:28:52 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id e22so1193778pgv.10 for ; Tue, 01 Jun 2021 21:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:mime-version; bh=FGLOxr+tOi5d9qvPoNNzQ3ST9vn8up5fR33jwzj0c8Y=; b=RFHqHypDTG5Ub2gFd4B3emCNTAKUU0xgAGFvSh4d69sDPi7LLBxNt0D4VtUsSLievm tqR3R/yo9fTWk4iUtWazKuaPyfD5ZXpoKz0s6OwiKVF082gkZ5t22RmTYLlNCaBYhx1r h6o0DsSsp4trkUca5Jwv5TTEK5wGMYDBKfpkw= 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:mime-version; bh=FGLOxr+tOi5d9qvPoNNzQ3ST9vn8up5fR33jwzj0c8Y=; b=h8NNiju3foxrN+GIbEgMQwqviQLZ0BXNZOJ8mtJnAYq7e7jYBgYE+MRZZLuHy4BHwT VzCNcli6m/HM/GkUmAzeozvmf0UK8usIFab7hjmulSd380C2u2hAIaUf/rDP2P9bWPw/ Q73VCcs3y1Bh6nzS3R1LlCtD9DsCbeLI7NHGXCiSYN145sNEP0HOXyleooKunBUT41hk QzZ/OKn7rIx7S6S1c2djZvkXTjJl/CNsQWs66kb8V+l3pPVGjj9yOnNHx5CTmFAlIKYN CAkkdaKAUei3N4xj26mX9zQTJ85a8rtbmfNHoVtYfEk2jK9k2kjL3K6YFNFnfIMhPhnJ 0x1Q== X-Gm-Message-State: AOAM533hT/2MIWPiJgHqNY8rmOR4gDBO50FkdCj0eAyMrZp1MVAtm7Wv V73+OcNq95JMcNB5L+iqrzc0EC9kdh1ljE1qq83GzEGBwjq1U90vcnA7g9ACuJf4WOkUKVHkGSc tR/KIM/1UEJ3roTc/P7EuQsLyePf4rxpNHoTnARtrCTJQKpq+we5029HtmYKZqBgoAo5YkmV9pZ XqQS3vDw== X-Google-Smtp-Source: ABdhPJwhq6103hFaXizjcFHjHXG1H5h7Ekv7fLuvCF47MHExncmvZT8Atz9uZylWIssvp0uy0jlT0Q== X-Received: by 2002:a65:52c8:: with SMTP id z8mr32029701pgp.50.1622608131382; Tue, 01 Jun 2021 21:28:51 -0700 (PDT) Received: from dev01.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id b7sm14052547pfv.149.2021.06.01.21.28.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 21:28:50 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [PATCH V4 for-next 0/3] Broadcom's driver add global atomics Date: Wed, 2 Jun 2021 09:58:36 +0530 Message-Id: <20210602042839.968833-1-devesh.sharma@broadcom.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Adding automated detection and enablement of global PCI atomic operation support. Updated to ABI to pass wqe-mode to user to support rdma-core pull request: https://github.com/linux-rdma/rdma-core/pull/1007 v3->v4 removed redundant code to enable global atomics refactored to honor standard error codes. v2->v3 Added additional patch to update ABI. A PR corresponding to this is open. V1->V2 renamed bnxt_qplib_enable_atomic_ops_to_root to bnxt_qplib_determine_atomics Devesh Sharma (3): RDMA/bnxt_re: Enable global atomic ops if platform supports bnxt_re: Update maintainers list RDMA/bnxt_re: update ABI to pass wqe-mode to user space MAINTAINERS | 2 -- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 7 +++++++ drivers/infiniband/hw/bnxt_re/main.c | 3 +++ drivers/infiniband/hw/bnxt_re/qplib_res.c | 17 +++++++++++++++++ drivers/infiniband/hw/bnxt_re/qplib_res.h | 1 + drivers/infiniband/hw/bnxt_re/qplib_sp.c | 13 ++++++++++++- drivers/infiniband/hw/bnxt_re/qplib_sp.h | 2 -- include/uapi/rdma/bnxt_re-abi.h | 5 ++++- 8 files changed, 44 insertions(+), 6 deletions(-)