RDMA/ionic: Revert the admin queue timeout increase
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.
Link: https://lore.kernel.org/all/aw2ZzMlBrkJvRd-G@sirena.org.uk/
Link: https://lore.kernel.org/all/80ec6718-608e-4d50-9d57-931be204737f@amd.com/
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
diff --git a/drivers/infiniband/hw/ionic/ionic_admin.c b/drivers/infiniband/hw/ionic/ionic_admin.c
index 8598935..0ccd869 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 * 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 */