Blame SOURCES/0514-fcoe-Allow-more-time-for-the-bnx2x-link-negotiation-.patch

18971c
From 3d1c9a76e7f0147feb65bd627583205d3a719ed0 Mon Sep 17 00:00:00 2001
18971c
From: Chad Dupuis <chad.dupuis@cavium.com>
18971c
Date: Wed, 12 Oct 2016 11:32:47 -0400
18971c
Subject: [PATCH] fcoe: Allow more time for the bnx2x link negotiation before
18971c
 brining up fcoe interfaces.
18971c
18971c
bnx2x can take no longer than 3 seconds to initialize the link in some setups
18971c
which can cause fipvlan to fail and thus the fcoe interface(s) won't be
18971c
created.
18971c
18971c
Add another 10 seconds to give the link enough time to initialize.
18971c
18971c
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
18971c
18971c
Cherry-picked from: 3966a1e1ee0e3d27197258f446f54b683c415208
18971c
Resolves: #1378910
18971c
---
18971c
 modules.d/95fcoe/fcoe-up.sh | 4 ++--
18971c
 1 file changed, 2 insertions(+), 2 deletions(-)
18971c
18971c
diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh
18971c
index cdff6ef1..a1f04747 100755
18971c
--- a/modules.d/95fcoe/fcoe-up.sh
18971c
+++ b/modules.d/95fcoe/fcoe-up.sh
18971c
@@ -87,8 +87,8 @@ elif [ "$netdriver" = "bnx2x" ]; then
18971c
     # If driver is bnx2x, do not use /sys/module/fcoe/parameters/create but fipvlan
18971c
     modprobe 8021q
18971c
     udevadm settle --timeout=30
18971c
-    # Sleep for 3 s to allow dcb negotiation
18971c
-    sleep 3
18971c
+    # Sleep for 13 s to allow dcb negotiation
18971c
+    sleep 13
18971c
     fipvlan "$netif" -c -s
18971c
 else
18971c
     vlan="no"