From patchwork Thu Jun 27 02:41:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Selvin Xavier X-Patchwork-Id: 13713765 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 CFFC4F9E4 for ; Thu, 27 Jun 2024 03:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719457318; cv=none; b=hPIx11DUN9hoihf//r3ipNsiMmyocqvt/uuoiBFKUdo6o9AY/48BYN9udUlI1labXZyo3XG27NDQtwj180kem5T8dBFnN/ysJDY90oxU9MOwVi1vQBjBJ/IPYpg+gesxg5oy6JxFsnsQ1UQ6B3PNd4EUDfyoP6Hh4RgQZDijfUE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719457318; c=relaxed/simple; bh=01jjOYQghTIK7VcwbA1ydhJtZPZ1MWBnr4FOOhDUDtY=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type; b=l9gVLV84VGVKYtXj6giOeqpMlzWj4tMKaJieSFHr52T5Ww1wRU7H4Ugyvk/JDF2JJ3kryM2Ot2OkPqwsR1KPnw/h8F+5F0gZSJnZU2h8jjr4WwMmh+3FBYHa+lcmk5M3+29bDmd/Oz1rZiBd1cmY9IrY5XSdMfTUtw23uNj9DMk= 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=PNicAM7x; arc=none smtp.client-ip=209.85.214.171 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="PNicAM7x" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1f4c7b022f8so63506005ad.1 for ; Wed, 26 Jun 2024 20:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1719457316; x=1720062116; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PEEc4yiG+YMo6MZpnX66GVgBWgz/mYh69B7z0UO5tfQ=; b=PNicAM7xXwZpXaNw3eN5OYemF83JeiXJ58JyhU+EVu0ek/RfZ1gMRkft1zJDcxbPDs YvO11PLyAGs4wYMYLwaMd8f6p1gwXffk5C/zIBjuLuV36FeVtW+QoF1ksnMNhMNmNbVW EnGTN8u95r/g5Sjyotg9WGWZjryIyOBRozjKM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719457316; x=1720062116; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PEEc4yiG+YMo6MZpnX66GVgBWgz/mYh69B7z0UO5tfQ=; b=uTPBdfOIoG0vqVNUwnQutvGyDqumFVWmPZAMo7DGYqfWks0G6DyHmyZMMoauEtq7vb Ywj5sddSCp3MS2bZV5/T0SkLDN7CQyo4jDMSfRLIPVP6v/XZCtyplbKEqf2hJo12N37a W4JvL0Qk4iA/4k3K5d2u+VitSvA4wZc+HOcEb9QU3vwnLyDgn9bYkzsznY1/ia/P0NKp pXfC9vKWcJ94B7VOjdG03KrIk9b9PoWQYN+1nuQ2Hq1usxs8Fp7SKSVExcLHqA1u3cZ/ uDNVV7ySJj30TalAgpVCoVzV/nxuNJg5Bui6T8hYthH89BM7JpO17ShOM2baszWwv3NC YLQA== X-Gm-Message-State: AOJu0YzIpa8SCnX4oPoA1iQ21XnbGP60j4k68J4w/xgmKr2ogVuSQ6lZ lNTjcE8pDhVEeLpkmWrswgDwH9B2gbijXYoKB3oBmc274y2qcR6yQ/OogMNrGg== X-Google-Smtp-Source: AGHT+IFgcNs9vRJoq+tOhmbD8V9VRDRvlFV9B5Wj5ObLdWMmSzYANGduw6bm7fzWwhvBq8TkNFphAw== X-Received: by 2002:a17:902:f685:b0:1f9:b121:35f0 with SMTP id d9443c01a7336-1fa23ef7c14mr142039545ad.54.1719457315846; Wed, 26 Jun 2024 20:01:55 -0700 (PDT) Received: from sxavier-dev.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1faac997da7sm2103285ad.216.2024.06.26.20.01.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2024 20:01:54 -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 for-next 0/3] RDMA/bnxt_re: DB moderation on GenP7 Date: Wed, 26 Jun 2024 19:41:02 -0700 Message-Id: <1719456065-27394-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: The series enables DB moderation support for latest adapters. Query the FIFO information from the FW to use based on the adapter revision before initializing this feature. Please review and apply. Thanks, Selvin Selvin Xavier (3): RDMA/bnxt_re: Update the correct DB FIFO depth and mask for GenP7 RDMA/bnxt_re: Enable DB moderation for genP7 adapters RDMA/bnxt_re: Disable doorbell moderation if hardware register read fails drivers/infiniband/hw/bnxt_re/bnxt_re.h | 12 +++-- drivers/infiniband/hw/bnxt_re/main.c | 78 +++++++++++++++++++++++---------- 2 files changed, 65 insertions(+), 25 deletions(-)