]> git.droids-corp.org - dpdk.git/commitdiff
i40evf: increase messaging wait time
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 3 Jul 2015 14:03:56 +0000 (15:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 19 Jul 2015 19:28:51 +0000 (21:28 +0200)
Increase delay from 50 * 10 to 100 * 20 to avoid i40evf_read_pfmsg() failures.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c

index 22d60995421b8dd602030b8d32c8508056c57b1b..90d1cbbc14f94cd919cd73850739549a3e45b6d1 100644 (file)
@@ -298,8 +298,8 @@ i40evf_wait_cmd_done(struct rte_eth_dev *dev,
        int i = 0;
        enum i40evf_aq_result ret;
 
-#define MAX_TRY_TIMES 10
-#define ASQ_DELAY_MS  50
+#define MAX_TRY_TIMES 20
+#define ASQ_DELAY_MS  100
        do {
                /* Delay some time first */
                rte_delay_ms(ASQ_DELAY_MS);