From patchwork Mon Jul 31 08:01:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13333993 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 95C4DC001DC for ; Mon, 31 Jul 2023 08:15:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231649AbjGaIP0 (ORCPT ); Mon, 31 Jul 2023 04:15:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231553AbjGaIPA (ORCPT ); Mon, 31 Jul 2023 04:15:00 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8AF81FFA for ; Mon, 31 Jul 2023 01:12:57 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-686e0213c0bso2797562b3a.1 for ; Mon, 31 Jul 2023 01:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1690791176; x=1691395976; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9XmyiybNH2dPa940PipDnqy/D901wRKHb5fyicsFFWE=; b=P/f30d1jAItd5aG8otzowQ95GAc1zEniycGgM4WGx64Jv4N4BD7F8UBcR1Kj16/IfW u2ckF07UfXjo3s/y2+LCqfenn6sxy8HKUPXc43J5cxx/wiRHO5dOi1xDy28+moIkhYoN L8K+HW9OP2lPYvYNtlO4NivoUmP4zVqgsVUoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690791176; x=1691395976; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9XmyiybNH2dPa940PipDnqy/D901wRKHb5fyicsFFWE=; b=RIelqsU3tY96eJS9SOVSCv82ZXf/0VpKaXR3Jmr7u09I0/mF4QuQ9bUPM+o28HZzeU lCY4fRkYIoMAmKxNS/yWR78aw3uHKfuL1mGqqSInyRTtzQdpjCTtYcxNUzSiPxawderA XYfJdafnWbf2f9+PR9Ix4aAKtVp3v9lGwcmq9FGh/15ChEMEzN1pp5FJruTk80XFMQiv u+AgMO9FLiWbEDt5usHBVNjpQKZ/ErgI2RY+DbPlEEqGNM8tQdwyjqUDk11T83zazBaC oAoWpTXOXx0xbXUXFpcv11UEhY6mH6F3GZ6b3muLyLMT3IOXBPHYq2759vixWTa+nfix GYrg== X-Gm-Message-State: ABy/qLZqSrTX2c3cHd/omRzKAj/KqpoH3uLuM5Bu6DT3WmSzzYX4T87M lNpgyVVyJ3iVEiciqBcnffhU8Ka4cru0fnA1ZEU= X-Google-Smtp-Source: APBJJlHCVMaCdsT43emZH0d0uSzWUARRHAMmxTrv4ogr9avcwCAs947/umUFQbJCUzuKko6VNdRkhg== X-Received: by 2002:a05:6a21:3e0c:b0:133:e3e3:dc07 with SMTP id bk12-20020a056a213e0c00b00133e3e3dc07mr8295091pzc.49.1690791176511; Mon, 31 Jul 2023 01:12:56 -0700 (PDT) Received: from dhcp-10-192-206-197.iig.avagotech.net.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id n2-20020aa79042000000b00686a80f431dsm6996561pfo.126.2023.07.31.01.12.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2023 01:12:55 -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 v2 0/1] RDMA/bnxt_re: Add dmabuf support Date: Mon, 31 Jul 2023 01:01:12 -0700 Message-Id: <1690790473-25850-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. 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 v1 - v2: Rework on the patch based on Jason's comment by passing umem to the helper routine. Saravanan Vajravel (1): RDMA/bnxt_re: Add support for dmabuf pinned memory regions drivers/infiniband/hw/bnxt_re/ib_verbs.c | 83 ++++++++++++++++++++++---------- drivers/infiniband/hw/bnxt_re/ib_verbs.h | 4 ++ drivers/infiniband/hw/bnxt_re/main.c | 1 + 3 files changed, 62 insertions(+), 26 deletions(-)