Re: [PATCH net-next v3 2/3] RDMA/ionic: Use the ionic command timeout for the admin queue

From: Rao, Nikhil

Date: Mon Nov 23 2026 - 17:52:32 EST


On 11/22/2026 4:59 PM, netdev-bot+sashiko@xxxxxxxxxx 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@xxxxxxx/
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