From: "Rao, Nikhil" <nikhirao@amd.com>
To: netdev-bot+sashiko@kernel.org, nikhil.rao@amd.com
Cc: brett.creeley@amd.com, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, abhijit.gangurde@amd.com, allen.hubbe@amd.com,
jgg@ziepe.ca, leon@kernel.org, jiri@resnulli.us,
horms@kernel.org, corbet@lwn.net, skhan@linuxfoundation.org,
rdunlap@infradead.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org,
linux-doc@vger.kernel.org, eric.joyner@amd.com,
ArunKumar.Prakash@amd.com
Subject: Re: [PATCH net-next v3 2/3] RDMA/ionic: Use the ionic command timeout for the admin queue
Date: Mon, 23 Nov 2026 14:52:16 -0800 [thread overview]
Message-ID: <de51f77f-b077-4c96-95d0-50b7248df7cd@amd.com> (raw)
In-Reply-To: <179539559480.3135.11592624744457325166@kernel.org>
On 11/22/2026 4:59 PM, netdev-bot+sashiko@kernel.org wrote> [Severity: Low]
> Should this have a Fixes: tag?
[...]
> A backport would also need the earlier "ionic: make the command timeout
> per device" commit, because that commit adds ionic_cmd_timeout().
The stable part, raising the watchdog from 2 to 5 seconds, is sent
separately to rdma for-rc with that Fixes: tag and no dependency on
1/3:
https://lore.kernel.org/linux-rdma/20261118-b4-ionic-rdma-admin-timeout-v1-1-39536999a3e4@amd.com/
This patch only makes the watchdog follow the configurable timeout.
> [Severity: High]
[...]
> Would it work for the busy-wait to cancel the wr and return -ETIMEDOUT
> without a LIF reset when it gives up before cmd_timeout, and leave the
> reset to the watchdog? The 2 second spin bound in atomic context could
> stay as it is.
Not as is. On a busy-wait timeout the driver cancels the wr, which only
stops tracking it, and the create AH error path then returns the AH id
and frees the header buffer while the command can still complete in the
device. Killing the admin queues and resetting the LIF stops the driver
from using the device in that state. Doing without it needs the driver
to defer releasing the id and the buffer until the admin queue has
moved past the command, which is a separate change from this series.
The busy-wait keeps its 2 second bound because its callers hold a
spinlock.
Thanks,
Nikhil
next prev parent reply other threads:[~2026-11-23 22:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 0:32 [PATCH net-next v3 0/3] ionic: make the device command timeout configurable Nikhil P. Rao
2026-11-19 0:32 ` [PATCH net-next v3 1/3] ionic: make the command timeout per device Nikhil P. Rao
2026-11-19 0:32 ` [PATCH net-next v3 2/3] RDMA/ionic: Use the ionic command timeout for the admin queue Nikhil P. Rao
2026-11-23 0:59 ` netdev-bot+sashiko
2026-11-23 22:52 ` Rao, Nikhil [this message]
2026-11-19 0:32 ` [PATCH net-next v3 3/3] ionic: add devlink param for command timeout Nikhil P. Rao
2026-11-23 0:59 ` netdev-bot+sashiko
2026-11-23 23:14 ` Rao, Nikhil
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=de51f77f-b077-4c96-95d0-50b7248df7cd@amd.com \
--to=nikhirao@amd.com \
--cc=ArunKumar.Prakash@amd.com \
--cc=abhijit.gangurde@amd.com \
--cc=allen.hubbe@amd.com \
--cc=andrew+netdev@lunn.ch \
--cc=brett.creeley@amd.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=eric.joyner@amd.com \
--cc=horms@kernel.org \
--cc=jgg@ziepe.ca \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nikhil.rao@amd.com \
--cc=pabeni@redhat.com \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
/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