From patchwork Mon Apr 10 11:11:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13206285 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73874C76196 for ; Mon, 10 Apr 2023 11:12:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229695AbjDJLM0 (ORCPT ); Mon, 10 Apr 2023 07:12:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbjDJLMY (ORCPT ); Mon, 10 Apr 2023 07:12:24 -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 DDD8A61A4 for ; Mon, 10 Apr 2023 04:12:09 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1a5126f2518so6215375ad.1 for ; Mon, 10 Apr 2023 04:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1681125128; x=1683717128; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aU6ztw7vbem8zB/sZPkxieYR3b/m/lxwiZjNriBNdME=; b=Hb5YObaEMlVfBWvxuSz+whhET9TLnqQFkv1hzAJXNOyfowG7LECoaOTfu27pTdSKBc lT3baP8DgcS5JMZAyN4vj7SydbQApDEYw26YMIwf/ye1kUVR7sOQLaZNOuBoqWTAjBou r/nwTPWvTOtvSGJIohLlAobhjnChe+WCuwV0o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681125128; x=1683717128; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aU6ztw7vbem8zB/sZPkxieYR3b/m/lxwiZjNriBNdME=; b=fPgelJT/KyNHAOWDBelJIMwvZWOlHu6X5cqbXmdxhXVJf2DKfzrMyAZ2ZAvXcIUh2o aaB+WFvO0fWW9dXrPH5aeyGNthqtgZTGnz7cXZPiO1YFdOrRDp1b8d6U3Qk/Zk7wNBH+ UPeWRXi9CGIHtNaV2jb0ou8jVxQO2Yez+rFGVWU6f6yODQ4GUHgokeqB62N9HG71z+9D /lLvXWIzJ5S7G8vqzlW1JWNFMCq6ZHZY2h8E8JY8RPSNIzkDA8r/pQkQwit572K0YADf wLi+4E2dbVxZPCjH2jQBVzvTWZPaMFre6pmL2QS9QRbBIlXlksYY8XZP+6v7WxY01iPt UDRA== X-Gm-Message-State: AAQBX9e2H9Ql14ei/rtojE09j29M43CO99n6F0YtyABMePq1k4yFOwk3 d1a25BjBTpy4/sj81Ewnawxp3IJi9ycD4mqqnUk= X-Google-Smtp-Source: AKy350Zk81HMhHFCdy2L4NfYB1ezb2kKoG0GGmJemUoeWOHoK9WEyHR1dhljA271bHvOOsUFSl1ykQ== X-Received: by 2002:aa7:8f02:0:b0:625:7300:5550 with SMTP id x2-20020aa78f02000000b0062573005550mr11354641pfr.31.1681125128462; Mon, 10 Apr 2023 04:12:08 -0700 (PDT) Received: from dhcp-10-192-206-197.iig.avagotech.net.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id y10-20020aa7854a000000b005ded4825201sm7641875pfn.112.2023.04.10.04.12.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Apr 2023 04:12:07 -0700 (PDT) From: Selvin Xavier To: jgg@ziepe.ca, leon@kernel.org Cc: linux-rdma@vger.kernel.org, andrew.gospodarek@broadcom.com, Selvin Xavier Subject: [PATCH for-next 0/6] RDMA/bnxt_re: driver update for supporting low latency push Date: Mon, 10 Apr 2023 04:11:49 -0700 Message-Id: <1681125115-7127-1-git-send-email-selvin.xavier@broadcom.com> X-Mailer: git-send-email 2.5.5 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org The series aims to add support for Low latency push path in some of the bnxt devices. The low latency implementation is supported only for the user applications. Also, the code is modified to use common mmap helper functions exported by IB core. User library changes are added in the pull request https://github.com/linux-rdma/rdma-core/pull/1321 Please review. Thanks, Selvin Xavier Selvin Xavier (6): RDMA/bnxt_re: Use the common mmap helper functions RDMA/bnxt_re: Add disassociate ucontext support RDMA/bnxt_re: Query function capabilities from firmware RDMA/bnxt_re: Move the interface version to chip context structure RDMA/bnxt_re: Reorg the bar mapping RDMA/bnxt_re: Enable low latency push drivers/infiniband/hw/bnxt_re/ib_verbs.c | 160 +++++++++++++++++++++--- drivers/infiniband/hw/bnxt_re/ib_verbs.h | 17 +++ drivers/infiniband/hw/bnxt_re/main.c | 123 +++++++++++++++++- drivers/infiniband/hw/bnxt_re/qplib_fp.c | 14 +-- drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 2 +- drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 1 + drivers/infiniband/hw/bnxt_re/qplib_res.c | 192 +++++++++++++++++++---------- drivers/infiniband/hw/bnxt_re/qplib_res.h | 33 +++-- drivers/infiniband/hw/bnxt_re/qplib_sp.c | 3 + drivers/infiniband/hw/bnxt_re/qplib_sp.h | 1 + include/uapi/rdma/bnxt_re-abi.h | 9 ++ 11 files changed, 449 insertions(+), 106 deletions(-)