From patchwork Mon Oct 7 17:55:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 13825091 X-Patchwork-Delegate: jgg@ziepe.ca Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37B791DDA2B for ; Mon, 7 Oct 2024 17:55:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728323734; cv=none; b=gkjaqhf7Nw10dfFNiMzo3gVSZA7JvpUY/gewC/ffGJg9S4QG7gaTjtKQlYOLQspJfuUbEEoJKxpKb0PfPs4PZ46fDwruEVnYB+KPLBQo5HzV+09zlpqii61r3Wgl2vNK94c7CCVMVen7anuPQ415BC4L1BRMwY3m28YLR0N6wKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728323734; c=relaxed/simple; bh=fE8gYYX+WSxPMLNor+/5YaWbqPJrY7tjT8JnD4sQkiI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ux2dop0KD1mG8PZu/Y2BCFKwE7ewoxZbTkK/imClLQtV7bhkBUJj+A290FtqnAL89qcjG5/uCrUkRategDr0Sn1ILxCo0/YNM6YU+abaL200cZdQqOVZEPUzFaM7tjxUYh1kB2Dr2gqmiLk7eMIXtunRmB0Ezw90UPrvTXQW0zw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PR9RfyVC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PR9RfyVC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43D63C4CEC6; Mon, 7 Oct 2024 17:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728323734; bh=fE8gYYX+WSxPMLNor+/5YaWbqPJrY7tjT8JnD4sQkiI=; h=From:To:Cc:Subject:Date:From; b=PR9RfyVCxwZueNfhhl5boVqTfoH9WZMEiaEMUD+xYB3+5d8XvD4/+bBWOlC6nYHJe zdSWm5sXY8t81XxEx1Jy800dSes6iYyIcgWeqJRvEEWeVrqvdHirXBieJ4CDDml24L HxFL6OBZhEZJAb6iZrErQXInNoiZVZieynt7Q/pQgHik5IgMWAxJwzzyNwLES++MRR W3mOVML1PkDA0PLHdnbt/m0oi0z5FhG3hEQeMLDlOXMKnCo5jAkebH4tEy2ZO/ACeK I2hn0yghyNGk3vExRPGIvqU6/3gQUUTF64zJ2kbUJV5zWgkBTcWyk49ohYcAPJj6hN upfUpv0wK8DXA== From: Leon Romanovsky To: Jason Gunthorpe Cc: Leon Romanovsky , "Dr . David Alan Gilbert" , linux-rdma@vger.kernel.org, Maor Gottlieb , Potnuri Bharat Teja Subject: [PATCH rdma-next] RDMA/cxgb4: Dump vendor specific QP details Date: Mon, 7 Oct 2024 20:55:17 +0300 Message-ID: X-Mailer: git-send-email 2.46.2 Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Leon Romanovsky Restore the missing functionality to dump vendor specific QP details, which was mistakenly removed in the commit mentioned in Fixes line. Fixes: 5cc34116ccec ("RDMA: Add dedicated QP resource tracker function") Reported-by: Dr. David Alan Gilbert Closes: https://lore.kernel.org/all/Zv_4qAxuC0dLmgXP@gallifrey Signed-off-by: Leon Romanovsky --- drivers/infiniband/hw/cxgb4/provider.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/cxgb4/provider.c b/drivers/infiniband/hw/cxgb4/provider.c index 10a4c738b59f..e059f92d90fd 100644 --- a/drivers/infiniband/hw/cxgb4/provider.c +++ b/drivers/infiniband/hw/cxgb4/provider.c @@ -473,6 +473,7 @@ static const struct ib_device_ops c4iw_dev_ops = { .fill_res_cq_entry = c4iw_fill_res_cq_entry, .fill_res_cm_id_entry = c4iw_fill_res_cm_id_entry, .fill_res_mr_entry = c4iw_fill_res_mr_entry, + .fill_res_qp_entry = c4iw_fill_res_qp_entry, .get_dev_fw_str = get_dev_fw_str, .get_dma_mr = c4iw_get_dma_mr, .get_hw_stats = c4iw_get_mib,