From owner-freebsd-net@freebsd.org Fri Mar 1 11:42:53 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5255015104F9 for ; Fri, 1 Mar 2019 11:42:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D967E72E93 for ; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 99E7715104F1; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7519915104F0 for ; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F5D372E8F for ; Fri, 1 Mar 2019 11:42:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 53ACF4696 for ; Fri, 1 Mar 2019 11:42:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x21BgpbB022594 for ; Fri, 1 Mar 2019 11:42:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x21Bgp0I022593 for net@FreeBSD.org; Fri, 1 Mar 2019 11:42:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236102] When create or destroy vlan, the physical interface is flapping Date: Fri, 01 Mar 2019 11:42:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 11:42:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236102 --- Comment #12 from Alexey --- I rolled back on the current server to revision r341831 and it did not help, then I remembered that on the second server I used the drivers installed fr= om the ports (/usr/ports/net/intel-ix-kmod/). Now when using these drivers - there are no problems and the physical inter= face does not flap. FreeBSD nas1 12.0-STABLE FreeBSD 12.0-STABLE r341831 NAS amd64 Mar 1 13:38:29 nas1 ntpd[1127]: Listen normally on 8 vlan111 192.168.0.8:1= 23 Mar 1 13:38:32 nas1 ntpd[1127]: Deleting interface #8 vlan111, 192.168.0.8#123, interface stats: received=3D0, sent=3D0, dropped=3D0, acti= ve_time=3D3 secs [root@nas1 /home/pautina]# cat /etc/rc.conf |egrep "vlan111|ix1" cloned_interfaces=3D"vlan111 vlan780" ifconfig_ix1=3D"up -tso4 -tso6 -lro -vlanhwtso description -=3DINTERFACE-TO-APHRODITE=3D" ifconfig_vlan111=3D"inet 192.168.0.8 netmask 255.255.255.224 vlan 111 vland= ev ix1 description -=3DNAS-WORLD=3D-" [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# ifconfig vlan111 vlan111: flags=3D8843 metric 0 mtu = 1500 description: -=3DNAS-WORLD=3D- options=3D600003 ether e4:11:5b:9b:72:b4 inet 192.168.0.8 netmask 0xffffffe0 broadcast 192.168.0.31 groups: vlan vlan: 111 vlanpcp: 0 parent interface: ix1 media: Ethernet autoselect (10Gbase-Twinax ) status: active nd6 options=3D29 [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# ifconfig ix1 ix1: flags=3D8843 metric 0 mtu 1500 description: -=3DINTERFACE-TO-APHRODITE=3D =20=20=20=20=20=20=20 options=3De000bb ether e4:11:5b:9b:72:b4 media: Ethernet autoselect (10Gbase-Twinax ) status: active nd6 options=3D29 [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# grep if_ix_updated /boot/loader.conf if_ix_updated_load=3D"YES" [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# kldstat Id Refs Address Size Name 1 9 0xffffffff80200000 12f04e0 kernel 2 1 0xffffffff814f1000 562f0 if_ix_updated.ko 3 1 0xffffffff81621000 acf mac_ntpd.ko [root@nas1 /home/pautina]# [root@nas1 /home/pautina]# dmesg |grep ix1 ix1: port 0xe000-0xe01f mem 0xdf980000-0xdf9fffff,0xdfb00000-0xdfb03fff irq 17 at dev= ice 0.1 on pci2 ix1: Using MSI-X interrupts with 5 vectors ix1: Ethernet address: e4:11:5b:9b:72:b4 ix1: PCI Express Bus: Speed 5.0GT/s Width x8 ix1: link state changed to UP [root@nas1 /home/pautina]# ix0@pci0:2:0:0: class=3D0x020000 card=3D0x17d3103c chip=3D0x10fb8086 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection' class =3D network subclass =3D ethernet ix1@pci0:2:0:1: class=3D0x020000 card=3D0x17d3103c chip=3D0x10fb8086 rev=3D= 0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82599ES 10-Gigabit SFI/SFP+ Network Connection' class =3D network subclass =3D ethernet --=20 You are receiving this mail because: You are the assignee for the bug.=