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 <hare@suse.com>master
parent
4e3eb1e9d1
commit
36a8b2e305
|
|
@ -64,10 +64,11 @@ if [ "$netdriver" = "bnx2x" ]; then
|
|||
udevadm settle --timeout=30
|
||||
# Sleep for 13 s to allow dcb negotiation
|
||||
sleep 13
|
||||
write_fcoemon_cfg
|
||||
fcoemon $syslogopt
|
||||
fipvlan -c -s "$netif"
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue