From owner-freebsd-net@freebsd.org Thu Nov 8 10:14:54 2018 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 7757C1124739 for ; Thu, 8 Nov 2018 10:14:54 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id B0633773D9; Thu, 8 Nov 2018 10:14:53 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.23.186] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id C84AC1A0; Thu, 8 Nov 2018 13:14:52 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: ix0 (iflib) vlans @ head & 12-stable To: Oleg Bulyzhin , freebsd-net@FreeBSD.org References: <20181108101124.GB80723@lath.rinet.ru> From: Lev Serebryakov Openpgp: preference=signencrypt Autocrypt: addr=lev@FreeBSD.org; prefer-encrypt=mutual; keydata= xsFNBFKbGksBEADeguVs+XyJc3mL3iiOBqDd16wSk97YTJYOi4VsHsINzJr09oFvNDiaDBIi fLn2p8XcJvehcsF2GSgrfXfw+uK4O1jyNIKJmiYA0EtE+ZbRtvDrrE0w6Q8+SDeKA21SWh3Y vSQ0DJUontbgW55ER2CbEiIUTIn34uQ0kmESAaw/v5p/9ue8yPTmURvv130FqPFz8VPzltqL NxyGt54TxPfKAzAHEIwxlEZ63JOwzloKh1UDBExcsf9nJO08/TAVgR5UZ5njFBPzaaquhRoP qPJLEQQDqxPIlvMNtHKf7iIebE4BHeqgCdJA0BoiR6gpa0wlsZtdrTPK3n4wYSphLvGbhfOZ YW/hbcu7HYS/FImkVxB3iY17kcC1UTnx4ZaYeASPBGOOPbXky1lLfmDGWIFT//70yx+G17qD OZzF1SvJJhGvh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F IPiqoAEhy8QoddlSvRTwL5Z7zFQiwMdiXU7toL8pfzj/zJR1jELXKMipijrt5MLrV8XX3OPN yZZvh95VIl8mv+iAqwSZUufd2EJnvj5TObB0eH+a+34NWf/XqA3fPjE6KHzmdnw9PZjPEjlx JCPECSs+6gse1+GaEfKYuXzB/ENe2ctlcfx5iQJXFc+/+zG/uU/JX/pXJHA12CUfB5g7lH6X BZIHvRo3VTCDjXgbF5xxDAe5V4exf8d4oSNjQIFLYxxN7zkvH89EN6RPfRgsWN7bYArCwfS9 MOgs9pFeCOewR6qieK150aoqNENGfKFXJup+5VVl6I0mU+j0rgVDZDht2/QgP/Tb4lGBe+ai pOGaK/GYNR+Ad6bUmokKsx4= Organization: FreeBSD Message-ID: <417ecc04-783f-2ecd-d0bf-66510168ca51@FreeBSD.org> Date: Thu, 8 Nov 2018 13:14:45 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181108101124.GB80723@lath.rinet.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0PQUDKYqXHB1o8xz8ezpHZFRWUXvysZ4o" X-Rspamd-Queue-Id: B0633773D9 X-Spamd-Result: default: False [-106.29 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[lev@FreeBSD.org]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; HAS_ATTACHMENT(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.997,0]; SIGNED_PGP(-2.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-1.18)[ipnet: 2a01:4f8::/29(-3.00), asn: 24940(-2.88), country: DE(-0.01)]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org 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: Thu, 08 Nov 2018 10:14:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0PQUDKYqXHB1o8xz8ezpHZFRWUXvysZ4o Content-Type: multipart/mixed; boundary="dTmhz5JagI5sj3guhhPLeDMG53THYKlso"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: Oleg Bulyzhin , freebsd-net@FreeBSD.org Message-ID: <417ecc04-783f-2ecd-d0bf-66510168ca51@FreeBSD.org> Subject: Re: ix0 (iflib) vlans @ head & 12-stable References: <20181108101124.GB80723@lath.rinet.ru> In-Reply-To: <20181108101124.GB80723@lath.rinet.ru> --dTmhz5JagI5sj3guhhPLeDMG53THYKlso Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 08.11.2018 13:11, Oleg Bulyzhin wrote: > current ixgbe driver is using iflib and has IFCAP_VLAN_HWFILTER > enabled by default. >=20 > /sys/net/iflib.c iflib_vlan_[un]register() functions have this code: >=20 > /* Re-init to load the changes */ > if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) > iflib_if_init_locked(ctx); >=20 > Thus any vlan reconfiguration leads to link flap. This is not > how it was before iflib conversion. On 12 each cpability reconfiguration for em/igb/ix leads to link flap, where 11 doesn't need this flap for most of capabilities of these cards. IMHO, it is regression. --=20 // Lev Serebryakov --dTmhz5JagI5sj3guhhPLeDMG53THYKlso-- --0PQUDKYqXHB1o8xz8ezpHZFRWUXvysZ4o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlvkDJVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R48dsBAAsAPd4sAHp1uK77ZvZlfbFONHMTadrRt/c1eiTWdvrcrgyh3X8f2SMHDC m0yasEjo2tgRtSlcYlcfpPtW7UNl98QtMRIOaUbDwPXigiWwyu2m1nqBh/KDFRO7 9qX/GGpGBVpiA+q2DiTz5i1zVgTx9vJl3/ggbFBM3LLNLtor3aq69XWaplIFLJ14 E2F+AUreHf1Pkhb8ZaRY0s/huprYeNH25jze9EXQwKkqk4vFI/TS0KCk5Hfd46+K X/9O3vNL6RnaWOTf1zzaTa6jmjaSjpC5rQejKZSk67vyqS1V3cz7s2hzGDnnEPfN 8/fM2tK+6CIdGpkXfVVsjjtH5X4o5YpyY7bHimUjUJcEyIGBm0JYI05oE9DQ0mUe S/JyHzuuBWWvKpb/Gq7hyDbHq5UbLotFQ+7VCN+sGhcp69ON+yZQtsCagYmMbAz2 0e+szR6yH0xxNphQJ4TdJEXJ3AbPr9wD++lB7F+MChFYghl+cJaUTa20ki5n29kD mKnJrW1QOUXn00iC5/55lKAl8upUC0xjyGH8pcuGtaZImwz5EUZt21scrw+uiEUQ f/5N7H/AQjoNnS8wbK6DpyQAb/EQoWqil4MVyzntJkYHc5U6qq72WCEttZrO5sVk zTWSenWetqU0iUP4qWN4arT1ZVRUKVEh8uUXEueZp8KeLU7SdiY= =o9vL -----END PGP SIGNATURE----- --0PQUDKYqXHB1o8xz8ezpHZFRWUXvysZ4o--