From patchwork Sat May 11 04:36:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13662269 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 065D427452 for ; Sat, 11 May 2024 04:52:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715403162; cv=none; b=dghgNw82rjKYvy+HFk78oHHb42IgXAjhyDMikOzk5OpdiX42j3uRXTAK8psAAdW3TSLRrxw5gl0hmwKst1lxTpOoJO42iMknWczhdOVu3Zg5/aMY1bcB5lCkEQvlN3Jh+IhaWUCznLWNnHK/H0RtwVnIJRrHR+8rM47P69+gKck= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715403162; c=relaxed/simple; bh=eITH+/JMo9dFDpW8f1HM/BIvFp6aHzJdlAz0D62PBSk=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type; b=fs+YsZUgEem19wdd+ESjiPEnIKqO5KDQTlUCuPYs8qR9n6ptqSv1NQsA7T5ixsXmJtepv+kGVbnzngXIo2EaSBg4G2r03tOLVw1rX7lP6OFccgB/HvVnaMJIh5e3pGbGKu1wcxlWWifuJpBwuQQGlScDSChAvVMxyLnTu0uifKU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=ICvCcsAE; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="ICvCcsAE" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6f457853950so2570953b3a.0 for ; Fri, 10 May 2024 21:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1715403160; x=1716007960; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Oa2AYjCFkIaz2BW5ylyc+POmETcXTgBXwA5uDeEHqDE=; b=ICvCcsAERJdoV3JDxQGO2sHbEXOhzo01fkKK8BZVuVoQzx6SpPLRS0+sbYJJoopRj3 L+4OK6QzkreV95QuIdjoE40t1ztFrjBQ8j7Zps1/pEFdsIgFjMiCnfKItOEbxnKEbYpn 2fC6XgjqiX8A8mOpD2nQqAmbpaRIKAkKTXT9E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715403160; x=1716007960; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Oa2AYjCFkIaz2BW5ylyc+POmETcXTgBXwA5uDeEHqDE=; b=fIF9KBG+kgx4UaqEVh4bPbzW8Kf4RSLW5zHnz61RkxIhp1hiJtQsl/ujeeq4gAL7wU DC5dffEukXCa1qEeox/ASRIDVePymplzzG3dUDFQVnFQrkvbP53yvGEVNkBt2ZG+Jg+1 uJRs7p9IRdZqjigSckRZQc7ldOxQ3WB/oW0kT+jbYvWFlcw85+NrD2o8vDFKvMB1z2QY t2Ci9c8NVqeEAChaEHWPyuHPj0/AIcwPridP9KGWGq5Jd0+x2Q1pksyk/ipF/iWx+CJa GBfTjZUXm5uSSZZfnfnKX3PNsYZeCvroVMxFN23p+jX7XCrgF8bV01j5VKURW9w8NQnT 2hFw== X-Gm-Message-State: AOJu0YzuOPa/wlE/UwESNXBHvkSl6aYZPoRBq/repwdhg20zd+a5JEp3 NJg5JGPg3lm8nx9yvkPFetg+VbW6P/gzv4udR3p/zkfeqhRsGsUKt3wPpSuFtg== X-Google-Smtp-Source: AGHT+IEm4O2I40HiicPOKuJodrWp+tUWlgUiv6eQ7Qe4NabqYhY0bzLVt+JRcKLMx8i/5J40swsb7Q== X-Received: by 2002:a05:6a20:1056:b0:1af:b093:ffbf with SMTP id adf61e73a8af0-1afde1fab9emr4868693637.31.1715403160063; Fri, 10 May 2024 21:52:40 -0700 (PDT) Received: from dhcp-10-192-206-197.iig.avagotech.net.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d6b71760sm3519153b3a.97.2024.05.10.21.52.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 May 2024 21:52:39 -0700 (PDT) From: Selvin Xavier To: leon@kernel.org, jgg@ziepe.ca Cc: linux-rdma@vger.kernel.org, andrew.gospodarek@broadcom.com, Selvin Xavier Subject: [PATCH v2 for-next 0/2] RDMA/bnxt_re: MSN table capability check for latest adapters Date: Fri, 10 May 2024 21:36:28 -0700 Message-Id: <1715402190-28657-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: Add MSN table capbility check for newer adapters. Expose this capability to user library. Please review and apply. Thanks, Selvin Xavier v1 -> v2: Updated the commit message of both the patches with more details Selvin Xavier (2): RDMA/bnxt_re: Allow MSN table capability check RDMA/bnxt_re: Expose the MSN table capability for user library drivers/infiniband/hw/bnxt_re/ib_verbs.c | 3 +++ drivers/infiniband/hw/bnxt_re/qplib_fp.c | 12 ++++++------ drivers/infiniband/hw/bnxt_re/qplib_fp.h | 2 +- drivers/infiniband/hw/bnxt_re/qplib_res.h | 6 ++++++ drivers/infiniband/hw/bnxt_re/qplib_sp.c | 1 + drivers/infiniband/hw/bnxt_re/qplib_sp.h | 1 + drivers/infiniband/hw/bnxt_re/roce_hsi.h | 30 +++++++++++++++++++++++++++++- include/uapi/rdma/bnxt_re-abi.h | 2 +- 8 files changed, 48 insertions(+), 9 deletions(-)