]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
i40e/i40evf: Increase ASQ timeout
authorKevin Scott <kevin.c.scott@intel.com>
Thu, 11 Dec 2014 07:06:36 +0000 (07:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Jan 2015 11:56:50 +0000 (03:56 -0800)
Increase ASQ timeout for some scenarios with multi-function devices

Change-ID: I2d7655b19e6c6f9a7ad04deacb106ca8d53886db
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.h
drivers/net/ethernet/intel/i40evf/i40e_adminq.h

index 564d0b0192f789aad0b4af4ceed04fe9fd15cd06..de17b6fbcc4e2a2f42054a875f961f9344a27d9a 100644 (file)
@@ -148,7 +148,7 @@ static inline int i40e_aq_rc_to_posix(u32 aq_ret, u16 aq_rc)
 
 /* general information */
 #define I40E_AQ_LARGE_BUF      512
-#define I40E_ASQ_CMD_TIMEOUT   100  /* msecs */
+#define I40E_ASQ_CMD_TIMEOUT   250  /* msecs */
 
 void i40e_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc,
                                       u16 opcode);
index 6c31bf22c2c31f88e996a402c2a4156cd9239f99..60f04e96a80e0a440faacf2c620777992259426b 100644 (file)
@@ -148,7 +148,7 @@ static inline int i40e_aq_rc_to_posix(u32 aq_ret, u16 aq_rc)
 
 /* general information */
 #define I40E_AQ_LARGE_BUF      512
-#define I40E_ASQ_CMD_TIMEOUT   100  /* msecs */
+#define I40E_ASQ_CMD_TIMEOUT   250  /* msecs */
 
 void i40evf_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc,
                                       u16 opcode);