From patchwork Wed Dec 13 03:33:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13490301 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="HJ4LV7Ut" Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04700B7 for ; Tue, 12 Dec 2023 19:49:42 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1d337dc9697so13447965ad.3 for ; Tue, 12 Dec 2023 19:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1702439381; x=1703044181; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TxKzCRnsAS/2XLtp4UWTI/Tq9sYlJMAT6Eh0W5M6JoM=; b=HJ4LV7UtsMBVXAh4fC4VjFL1nv1pE+jvJou/nXvd3yQIOLd4epcfXX8Wp90ju+A/+g zsvh3hlpMCpApOsBDJAgOWCa0/mA/CZwcD3xX75q72MZmu3mFfsbYIOl4i6txjOWIS6M MpSWECWcG09n/A6+VELKEJUhnn11TJj73ergE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702439381; x=1703044181; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TxKzCRnsAS/2XLtp4UWTI/Tq9sYlJMAT6Eh0W5M6JoM=; b=V98PZYUljMm39UlxvQ/nuSG+3O17Z+Hh7uV+fv5hYZ/8JHej/0uTEJ53cEsq89T0Jk rUsQ+JHybiqL1ge5BgDOfmYYYChK46GKHw2RESeFkBSSncrcUxvpgoqu+TkV2vfqOcoY nY8DNQCxUBpohQy7NswRNDea9lQaq+sCJUdRrKgRrUISkNplGEch0zSQGlORptslXE3v EMjiSoB1fKXeTdbpXedMjpnRNsNx9H0gbtCvdfLBxEA9L8xO8THMjnsGJOmWt0vb9El+ J8KYzQiNScYRv1PayWCIZDb+Kr346Prk1RIVYb4RUvJu6mE6WJE+F1CbYRySnb4euS2h E5hg== X-Gm-Message-State: AOJu0Yx/wEsOcOqEcMp7HPgPl6xYpdRMckEgA1vXE+fDYeY8aTp8taJ4 4xU16ynVFT5QJmOa5BEdu5ehJw== X-Google-Smtp-Source: AGHT+IE2iMbviaeMm+r/kBB4xrG6MuIMvUJ1pfD1C7Jo/gavP41SnHYHsblRQVRVQ3+eaM9vF5mDcw== X-Received: by 2002:a17:903:647:b0:1d0:8e61:102a with SMTP id kh7-20020a170903064700b001d08e61102amr6414350plb.90.1702439381319; Tue, 12 Dec 2023 19:49:41 -0800 (PST) Received: from dhcp-10-192-206-197.iig.avagotech.net.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id s22-20020a170902989600b001ce5b859a59sm9395129plp.305.2023.12.12.19.49.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2023 19:49:39 -0800 (PST) From: Selvin Xavier To: leon@kernel.org, jgg@ziepe.ca Cc: linux-rdma@vger.kernel.org, Selvin Xavier Subject: [PATCH for-next 0/2] RDMA/bnxt_re: Share the CQ pages for GenP7 adapters Date: Tue, 12 Dec 2023 19:33:29 -0800 Message-Id: <1702438411-23530-1-git-send-email-selvin.xavier@broadcom.com> X-Mailer: git-send-email 2.5.5 Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: This is the follow up series that adds support for GenP7 Adapters. Implements mechanism to share the toggle bits received from the HW to user space. Adds a new UAPI routine as the toggle bit is required for both CQ and SRQ. Current patch series is adding support for only CQ. Please review and apply. Will be posting the user lib changes soon. Thanks, Selvin Xavier Selvin Xavier (2): RDMA/bnxt_re: Add UAPI to share a page with user space RDMA/bnxt_re: Share a page to expose per CQ info with userspace drivers/infiniband/hw/bnxt_re/bnxt_re.h | 3 + drivers/infiniband/hw/bnxt_re/ib_verbs.c | 165 ++++++++++++++++++++++++++++-- drivers/infiniband/hw/bnxt_re/ib_verbs.h | 3 + drivers/infiniband/hw/bnxt_re/main.c | 10 +- drivers/infiniband/hw/bnxt_re/qplib_res.h | 6 ++ include/uapi/rdma/bnxt_re-abi.h | 31 ++++++ 6 files changed, 210 insertions(+), 8 deletions(-)