From: Bernard Iremonger Date: Fri, 3 Jul 2015 14:03:56 +0000 (+0100) Subject: i40evf: increase messaging wait time X-Git-Tag: spdx-start~8692 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=37d7b38b51fe2af61ed219fe5dbc156cfdf66608;p=dpdk.git i40evf: increase messaging wait time Increase delay from 50 * 10 to 100 * 20 to avoid i40evf_read_pfmsg() failures. Signed-off-by: Bernard Iremonger Acked-by: Helin Zhang --- diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 22d6099542..90d1cbbc14 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -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);