From 9353f7e22da71f16a070cb27c139817ba04879c5 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Thu, 17 Aug 2017 10:54:22 +0200 Subject: [PATCH 1/3] 95fcoe: Switch back to using fipvlan for bnx2fc bnx2fc doesn't _actually_ need fcoemon, so fipvlan is sufficient to start the FCoE connection. And, in fact, fcoemon is started for every interface, causing subsequent invocations to fail with fcoemon[1157]: error 98 address already in use and fcoemon tearing down the connection. References: bsc#1052840 Signed-off-by: Hannes Reinecke --- modules.d/95fcoe/fcoe-up.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh index 74bdf819..261bf70c 100755 --- a/modules.d/95fcoe/fcoe-up.sh +++ b/modules.d/95fcoe/fcoe-up.sh @@ -57,7 +57,11 @@ if [ "$netdriver" = "bnx2x" ]; then udevadm settle --timeout=30 # Sleep for 3 s to allow dcb negotiation sleep 3 -elif [ "$dcb" = "dcb" ]; then + fipvlan "$netif" -c -s + need_shutdown + exit +fi +if [ "$dcb" = "dcb" ]; then # wait for lldpad to be ready i=0 while [ $i -lt 60 ]; do -- 2.13.6