Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2019 10:08:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 235918] with more than 1 vlan, ix0 gets 'No carrier.'  ixgbe_driver_version[] = "4.0.1-k"
Message-ID:  <bug-235918-7501-wWIHZdXUuJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235918-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235918-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235918

Sergey Surikov <surikovs@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |surikovs@gmail.com

--- Comment #1 from Sergey Surikov <surikovs@gmail.com> ---
The same issue. The NIC going to 'no carrier' for the some time after ifconfig
vlan created.  If add next vlan in this time NIC stay 'no carrier'.
The workaround is add pause before/after vlan created.


--- /tmp/network.subr   2019-12-27 13:04:36.376505000 +0300
+++ /usr/src/libexec/rc/network.subr    2019-12-26 14:06:25.670522000 +0300
@@ -1520,6 +1520,7 @@
        fi

        for child in ${child_vlans}; do
+               sleep 1;
                if expr $child : '[1-9][0-9]*$' >/dev/null 2>&1; then
                        child="${ifn}.${child}"
                        create_args=`get_if_var $child create_args_IF`

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235918-7501-wWIHZdXUuJ>