From patchwork Thu Jul 27 14:29:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13330183 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 52581C001DC for ; Thu, 27 Jul 2023 14:41:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233873AbjG0Olk (ORCPT ); Thu, 27 Jul 2023 10:41:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231477AbjG0Olj (ORCPT ); Thu, 27 Jul 2023 10:41:39 -0400 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB18D30DC for ; Thu, 27 Jul 2023 07:41:37 -0700 (PDT) Received: by mail-il1-x12d.google.com with SMTP id e9e14a558f8ab-348ef70b198so3839445ab.3 for ; Thu, 27 Jul 2023 07:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1690468897; x=1691073697; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VoGFTu54ZOJsY4q3h4dzVT22R3igWgJmzNxAI1Ag7Io=; b=NzbnbAAnMvAqQGwN+A1i40sbgdwq9rH4+x6iFGNYKl+Kn75MBtYf3Ww8cNCCIpvFZa MGKkkBBfKyGZl7hobwaWUdqYamn6jEwX5R0JgDjbJa+FYz5O+lCaj81UCPie0qnZ9Pvr wVRtsXHgEZB7OBVKcl65waZ/LCgk0alNKCu4A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690468897; x=1691073697; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VoGFTu54ZOJsY4q3h4dzVT22R3igWgJmzNxAI1Ag7Io=; b=B+tf1Yp7+3L8IiMm2eeHGsMpIVJBGDI+2L1uUzx4z34X2QLiKSIFUu6Oaynx7Cz9vY 8bxFzM7IDxpmBPmrquO6R/W6/0BlI0mV7SUgoZPqGPiQgED3M0Per389RBO/0WqZNohi Yerd/QaVxYs39qTFA0BfWQ9dUdOt2faxP4CJP23cP40xU/WsdEGCgvy8Wjv5iyqKM8aH 8YbVk8KSwSIb8o3sdMr2ISiDaCQGIuyMNcJ89/qTz5/nynI3BACux6gpE9YoQ8LQ9fgn F0z8WN50LSwKuAzmmfZNS6nx6MVuxzQX9pojlkKeCo+jERUxT5CIaYFvu8gdF36tsh6E 8bhw== X-Gm-Message-State: ABy/qLaTUcIpZkjGy9xh9IxodTOtVXum/xZhn+ISZcJFBTbU54+GZeOi Q5TAkzKd9QJT9Z9FmfxrQEv+og== X-Google-Smtp-Source: APBJJlG2Vx1yG3dTWSM2Z4XPFkTDzrtjRQYZM+q3CKm6+weO/a4snJXVoZVixa/uw1qt2WSRMAfTxQ== X-Received: by 2002:a05:6e02:1341:b0:346:6dc2:997b with SMTP id k1-20020a056e02134100b003466dc2997bmr4652491ilr.23.1690468897039; Thu, 27 Jul 2023 07:41:37 -0700 (PDT) Received: from dhcp-10-192-206-197.iig.avagotech.net.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id c2-20020a170902d90200b001bbdf33b878sm1539685plz.272.2023.07.27.07.41.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jul 2023 07:41:35 -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/1] RDMA/bnxt_re: Add dmabuf support Date: Thu, 27 Jul 2023 07:29:53 -0700 Message-Id: <1690468194-6185-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 Adding support for pinned dmabuf memory regions. This patch is dependent on my previous patch series which is not merged. https://lore.kernel.org/linux-rdma/1690383081-15033-1-git-send-email-selvin.xavier@broadcom.com/. The patch will apply cleanly only after applying the above series. The corresponding user library patch is available in the pull request. https://github.com/linux-rdma/rdma-core/pull/1373 Please review and apply. Thanks, Selvin Saravanan Vajravel (1): RDMA/bnxt_re: Add support for dmabuf pinned memory regions drivers/infiniband/hw/bnxt_re/ib_verbs.c | 48 ++++++++++++++++++++++++++------ drivers/infiniband/hw/bnxt_re/ib_verbs.h | 4 +++ drivers/infiniband/hw/bnxt_re/main.c | 1 + 3 files changed, 44 insertions(+), 9 deletions(-)