From patchwork Thu Dec 7 10:47:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13483152 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="gO3B98Hv" Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2CC7D1 for ; Thu, 7 Dec 2023 03:04:21 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-5c210e34088so583565a12.2 for ; Thu, 07 Dec 2023 03:04:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1701947061; x=1702551861; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ra1cNVgZTidRxKQXQP2Ec5ZKq/MpP+dU17MzQYmoaYM=; b=gO3B98HvOHOVdPLwpjrhjUiy+o9Mafhrp2zak0FUPOgrRLlGGoXnGkeSRHWXiJqfRD CQrZEw5+MlrXFib+M+C1/h/5KXYU+o4ReE1BoXJ90CKtUjUDW0mJgWhetM2ynK7clNLK aro/BG/Eu5yKi3e3wCampByVs3tNuvMx9MbQA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701947061; x=1702551861; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ra1cNVgZTidRxKQXQP2Ec5ZKq/MpP+dU17MzQYmoaYM=; b=iqtta2SUFZ6t0Wl/llYgw6fH/GUVLbw0izDIZAf4p6hAv2JVEhHFfVO56Z/bsX2vhA 99gqAV77aC+Vm2hSyE345IJZ0dCG0GTTrt4ehOV0tmLXOZyyvDPYgcldEqaPood95Pjb qPIXcF6gLpzr5ORwjv5yT+laqUzfJps8vHBRf98Q9W3MaL1HK7nlKXLF9dQfYWmdVB6W zGAfQ389b/2SohdH2pqDjOjrLvS+R6QykD5nDJIHxcpHFQAWGQ9nSwY9YSqpuVPIdNy2 VjPSWjlM+4JN+uynUm8XbIJ1sxvC5GTExOfQNRLHcYK5qaOGaBUs7m1jcZi5W1BUSbX+ wmZA== X-Gm-Message-State: AOJu0YxSxTfW+NeRiurFRHEp1UOWTxF6ZVmYjsnmX7hZzLAMfHVaaeZG BP/ghqpK8Xf7aaNcVwJyCtgc8g== X-Google-Smtp-Source: AGHT+IGV6I64flKg2LRfWHE/xpGcRVfTJcjnlYvM83eppxm8okqIg6QPMd5/8lvCWwuVv8eRemIorw== X-Received: by 2002:a05:6a20:3cac:b0:18f:ee28:510 with SMTP id b44-20020a056a203cac00b0018fee280510mr1983004pzj.67.1701947061358; Thu, 07 Dec 2023 03:04:21 -0800 (PST) Received: from dhcp-10-192-206-197.iig.avagotech.net.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id pm2-20020a17090b3c4200b00285db538b17sm1034254pjb.41.2023.12.07.03.04.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2023 03:04:20 -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/6] RDMA/bnxt_re: Initial support for GenP7 adapters Date: Thu, 7 Dec 2023 02:47:34 -0800 Message-Id: <1701946060-13931-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 first series for adding support for Gen P7 Adapters. Includes the basic changes to detect the device and load. Adds the Doorbell changes for the new adapter and MSN capability to enable the FW initialization of the adapter. Please review and apply. Thanks, Selvin Xavier Selvin Xavier (6): RDMA/bnxt_re: Support new 5760X P7 devices RDMA/bnxt_re: Update the BAR offsets RDMA/bnxt_re: Update the HW interface definitions RDMA/bnxt_re: Get the toggle bits from CQ completions RDMA/bnxt_re: Doorbell changes RDMA/bnxt_re: Adds MSN table capability for Gen P7 adapters drivers/infiniband/hw/bnxt_re/hw_counters.c | 4 +- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 10 ++-- drivers/infiniband/hw/bnxt_re/main.c | 33 +++++-------- drivers/infiniband/hw/bnxt_re/qplib_fp.c | 77 ++++++++++++++++++++++++++--- drivers/infiniband/hw/bnxt_re/qplib_fp.h | 15 ++++++ drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 4 +- drivers/infiniband/hw/bnxt_re/qplib_res.c | 2 +- drivers/infiniband/hw/bnxt_re/qplib_res.h | 76 ++++++++++++++++++++++------ drivers/infiniband/hw/bnxt_re/qplib_sp.c | 11 +++-- drivers/infiniband/hw/bnxt_re/roce_hsi.h | 67 +++++++++++++++++++++---- include/uapi/rdma/bnxt_re-abi.h | 1 + 11 files changed, 234 insertions(+), 66 deletions(-)