fjes: optimize timeout value
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 15 Apr 2016 02:25:21 +0000 (11:25 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2016 01:51:01 +0000 (21:51 -0400)
This patch optimizes the following timeout value.
 - FJES_DEVICE_RESET_TIMEOUT
 - FJES_COMMAND_REQ_TIMEOUT
 - FJES_COMMAND_REQ_BUFF_TIMEOUT

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/fjes_hw.h

index 6d57b89a0ee84aa28c6ffecc728dbc73a75fd779..baee7f59834b230922bfdf02e09463c510f80e40 100644 (file)
@@ -33,9 +33,9 @@ struct fjes_hw;
 #define EP_BUFFER_SUPPORT_VLAN_MAX 4
 #define EP_BUFFER_INFO_SIZE 4096
 
-#define FJES_DEVICE_RESET_TIMEOUT  ((17 + 1) * 3) /* sec */
-#define FJES_COMMAND_REQ_TIMEOUT  (5 + 1) /* sec */
-#define FJES_COMMAND_REQ_BUFF_TIMEOUT  (8 * 3) /* sec */
+#define FJES_DEVICE_RESET_TIMEOUT  ((17 + 1) * 3 * 8) /* sec */
+#define FJES_COMMAND_REQ_TIMEOUT  ((5 + 1) * 3 * 8) /* sec */
+#define FJES_COMMAND_REQ_BUFF_TIMEOUT  (60 * 3) /* sec */
 #define FJES_COMMAND_EPSTOP_WAIT_TIMEOUT       (1) /* sec */
 
 #define FJES_CMD_REQ_ERR_INFO_PARAM  (0x0001)