Skip to contentSkip to conversation

RDMA/ionic: Revert the admin queue timeout increase

PATCH New Leon Romanovsky 2 participants 2 messages Dec 2

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/ionic: Revert the admin queue timeout increase

From: Leon Romanovsky <[email protected]>

This reverts commit f3085f053e5e616e301190dc41c8c19afb953038.

The RDMA change raised IONIC_ADMIN_TIMEOUT from two to five seconds. In linux-next this conflicts with net-next commit 54b7ae13fea9 ("RDMA/ionic: Use the ionic command timeout for the admin queue"), which removes IONIC_ADMIN_TIMEOUT and uses the device command timeout. That timeout already defaults to five seconds.

Drop the redundant RDMA change so linux-next can take the watchdog implementation from net-next without a conflict in ionic_admin.c.

---
 drivers/infiniband/hw/ionic/ionic_admin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/ionic/ionic_admin.c +1 -1
index 859893568538..0ccd869ad8e6 100644
@@ -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 * 5)
+#define IONIC_ADMIN_TIMEOUT	(HZ * 2)
 #define IONIC_ADMIN_WARN	(HZ / 8)
 
 /* will poll for admin cq to tolerate and report from missed event */

---
base-commit: a8671ee9bde18105775c2307bc71b0933bd24ed4
base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
change-id: 20261201-b4-ionic-revert-admin-timeout-9d93c430db66

Best regards,

Signature · 1 line
Leon Romanovsky <[email protected]>
#1 lore raw
Sashiko has reviewed this patch and found no issues.
Quoted 10 lines

From: Leon Romanovsky <[email protected]>

This reverts commit f3085f053e5e616e301190dc41c8c19afb953038.

The RDMA change raised IONIC_ADMIN_TIMEOUT from two to five seconds. In linux-next this conflicts with net-next commit 54b7ae13fea9 ("RDMA/ionic: Use the ionic command timeout for the admin queue"), which removes IONIC_ADMIN_TIMEOUT and uses the device command timeout. That timeout already defaults to five seconds.

Quoted 6 lines

Drop the redundant RDMA change so linux-next can take the watchdog implementation from net-next without a conflict in ionic_admin.c.

Sashiko has reviewed this patch and found no issues.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/20261202-b4-ionic-revert-admin-timeout-v1-1-78e2e5bca44b@nvidia.com?part=1