Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 08:36:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 240818] igb(4) vlanhwfilter feature generate link UP/DOWN for each new vlan created
Message-ID:  <bug-240818-7501-c33Tb7jUCr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240818-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240818-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=3D240818

--- Comment #17 from martin.mato@orange.fr ---
(In reply to Ra=C3=BAl from comment #16)
No, unfortunately:
Unplugging/repluging the cable doesn't work, like i said.
The only way is to manually reset by ifconfig(8) down and up the parent
interface em0 , not the vlan interface(s).

In the @current list ; Ian Freislich  provided a patch who worked for him

i tested succesfully as well on my box

here it is


Index: sys/dev/e1000/if_em.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/dev/e1000/if_em.c       (revision 361538)
+++ sys/dev/e1000/if_em.c       (working copy)
@@ -4054,7 +4054,7 @@
 {
        switch (event) {
        case IFLIB_RESTART_VLAN_CONFIG:
-               return (false);
+               return (true);
        default:
                return (true);
        }

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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