[Bug 235918] with more than 1 vlan, ix0 gets 'No carrier.' ixgbe_driver_version[] = "4.0.1-k"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 27 10:08:51 UTC 2019


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

Sergey Surikov <surikovs at gmail.com> changed:

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

--- Comment #1 from Sergey Surikov <surikovs at 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.


More information about the freebsd-net mailing list