From: Abhijit Gangurde <abhijit.gangurde@amd.com>
To: "Nikhil P. Rao" <nikhil.rao@amd.com>,
Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
Allen Hubbe <allen.hubbe@amd.com>,
Andrew Boyer <andrew.boyer@amd.com>
Subject: Re: [PATCH rdma-rc] RDMA/ionic: Wait the device command timeout for admin queue commands
Date: Wed, 25 Nov 2026 19:35:34 +0530 [thread overview]
Message-ID: <74b62bfd-a088-2474-f003-95651c700d82@amd.com> (raw)
In-Reply-To: <20261118-b4-ionic-rdma-admin-timeout-v1-1-39536999a3e4@amd.com>
On 11/19/26 03:27, Nikhil P. Rao wrote:
> Commit ec8ee714736e ("ionic: stretch heartbeat detection") notes that
> firmware can take more than 2 seconds to service a device or admin
> queue request, and is only expected to complete it within the ionic
> command timeout of 5 seconds. The RDMA admin queue watchdog gives up
> after 2 seconds, and a timeout resets the RDMA LIF, after which every
> verb fails with -ENODEV. Wait 5 seconds, as ionic does for its own
> admin queue.
>
> Fixes: f3bdbd42702c ("RDMA/ionic: Create device queues to support admin operations")
> Signed-off-by: Nikhil P. Rao <nikhil.rao@amd.com>
> ---
> drivers/infiniband/hw/ionic/ionic_admin.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/ionic/ionic_admin.c b/drivers/infiniband/hw/ionic/ionic_admin.c
> index 0ccd869ad8e6..859893568538 100644
> --- a/drivers/infiniband/hw/ionic/ionic_admin.c
> +++ b/drivers/infiniband/hw/ionic/ionic_admin.c
> @@ -19,7 +19,7 @@
> #define IONIC_ADMIN_BUSY_RETRY_MS 1
>
> /* admin queue will be considered failed if a command takes longer */
> -#define IONIC_ADMIN_TIMEOUT (HZ * 2)
> +#define IONIC_ADMIN_TIMEOUT (HZ * 5)
> #define IONIC_ADMIN_WARN (HZ / 8)
>
> /* will poll for admin cq to tolerate and report from missed event */
>
> ---
> base-commit: e7732ec135b501e87ab060d992b3b5f2ec4396c9
> change-id: 20261118-b4-ionic-rdma-admin-timeout-3cc9f4afe247
>
> Best regards,
> --
> Nikhil P. Rao <nikhil.rao@amd.com>
>
Acked-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
prev parent reply other threads:[~2026-11-25 14:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 21:57 Nikhil P. Rao
2026-11-22 13:14 ` Leon Romanovsky
2026-11-23 20:12 ` Rao, Nikhil
2026-11-25 14:05 ` Abhijit Gangurde [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74b62bfd-a088-2474-f003-95651c700d82@amd.com \
--to=abhijit.gangurde@amd.com \
--cc=allen.hubbe@amd.com \
--cc=andrew.boyer@amd.com \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=nikhil.rao@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®