From patchwork Thu Jun 3 10:30:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 12296877 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 1A8EFC47096 for ; Thu, 3 Jun 2021 10:31:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0057E613AD for ; Thu, 3 Jun 2021 10:31:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbhFCKdB (ORCPT ); Thu, 3 Jun 2021 06:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbhFCKdB (ORCPT ); Thu, 3 Jun 2021 06:33:01 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14638C06174A for ; Thu, 3 Jun 2021 03:31:17 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id u9so2572589plr.1 for ; Thu, 03 Jun 2021 03:31:17 -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=ZzU5phQ7u8AD9zAZOhL5aNvq67pZRgUO/E5iogZKDT8=; b=Bw1k03gj3fv4NbFoevXEn7wg9bp0aK038FlustJj6W5AOdILHmIB4CcU8S6c+NXHVy 8LIMjiFUbRMiLfKq4wGlkPCJWwSQ0HeSIPKXNT4IK0mP5JVDXPvyyZRv9nDutVIdYGwu x3DrWqKe/1pNDYhz5HcRZ2kuyXxc1/JOHidyo= 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=ZzU5phQ7u8AD9zAZOhL5aNvq67pZRgUO/E5iogZKDT8=; b=mrjT4HHHK+lNA+d//QpJ6CcUAw8/gP5wo1YPUEL34zs6UfADFiNGcctGMR+0sbfaTB 2X5AuGaNX/C1y17f38Ulxf6cLfW85OmvJb4SrUEnIxDRAh2yAqsb4fMpPfepa7SuDfO9 QM8SpnhM8OyWKXjqGkcQHJ6KeBvrtsRW9BurU+j24bM5YWkCmH6mZ7KWe3V90SCOGscv uoOm90341mitd6kXKptlP4vzbxjZ9LhoHCV1zSI/DskWTW0rw/z+eI68ZuUrsLbhe7qO FKG4cXPQGKbHneSc6DjTqoYoS3CTyWNoOizQcx9J8ifijLl7LOFHnTsHoBrFKJC9Df07 SwLg== X-Gm-Message-State: AOAM531RyFhiJGL2+eTD8G1BkL10GPe6OM+S1PrlDCFTxCtt/zPojP9b wEm1s6LjGo3dbkojwaBLne7jGMM0h37XQZn3YKSy/+FcHyKWv2Qo1dRuws3vYiu8xM/TOnvhNt/ FPOXMWQfuuWi0QfAtR3E56gAqUmzOWj8AQwQxxvlW4xtG91VohbbVyTXB7jve6uqtqWe+5q1EXF sVxlr85Q== X-Google-Smtp-Source: ABdhPJymlr8UP7ew5MBATXl9QP4t7inn7fXRpkVh+jAPeAVfrWO+D4R/spkuhZuwv9ii9xE83FPyYw== X-Received: by 2002:a17:90a:6402:: with SMTP id g2mr35529443pjj.82.1622716275859; Thu, 03 Jun 2021 03:31:15 -0700 (PDT) Received: from dev01.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id ne4sm1298000pjb.26.2021.06.03.03.31.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 03:31:15 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [PATCH V6 for-next 0/3] Broadcom's driver add global atomics Date: Thu, 3 Jun 2021 16:00:54 +0530 Message-Id: <20210603103057.980996-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 v5->v6 dropped fixes tag v4->v5 fixed commit msg in patch 0001 fixed mixing of int with bool 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(-)