Skip to contentSkip to conversation

librte_pmd_i40e: increase ASQ_DELAY_MS to 100 in i40evf_wait_cmd_done()

RFC PATCH Superseded Bernard Iremonger 1 participant 1 message Apr 30, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

RFC PATCH 3/4 librte_pmd_i40e: increase ASQ_DELAY_MS to 100 in i40evf_wait_cmd_done()

Increase delay to avoid i40evf_read_pfmsg() failures.

---
 lib/librte_pmd_i40e/i40e_ethdev_vf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/librte_pmd_i40e/i40e_ethdev_vf.c +1 -1
index 7c5b3f5..af45064 100644
@@ -299,7 +299,7 @@ i40evf_wait_cmd_done(struct rte_eth_dev *dev,
 	enum i40evf_aq_result ret;
 
 #define MAX_TRY_TIMES 10
-#define ASQ_DELAY_MS  50
+#define ASQ_DELAY_MS  100
 	do {
 		/* Delay some time first */
 		rte_delay_ms(ASQ_DELAY_MS);
Signature · 1 line
1.7.4.1