From owner-svn-src-all@freebsd.org Wed Apr 29 18:13:03 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0024C2BDA42 for ; Wed, 29 Apr 2020 18:13:03 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49C67f02SLz4bVt for ; Wed, 29 Apr 2020 18:13:01 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-lj1-f195.google.com with SMTP id u6so3637134ljl.6 for ; Wed, 29 Apr 2020 11:13:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uknjBQ+QEF7OJWtxRW/xHx0iUtWVOrfr/PBfjgGAIJA=; b=jn2/LBfpKASzL82kWoSXL73Jsqh3dTLbSOSEt6BuKpycGUFPKiH2FkqAYV7dDyP98f K2GGt1Pfs/15CU44wkXzx0LMEs+IxhiO3X0/+iPssvd5h5g+Iiq4O2FDXrUzBpuEZBPC BMpuuSpSodEbdvFijTi4lG65qgvnqjxY5NMsd0Xrc2eO7awyqWm5MR64q8ShhD97VPc+ eioniyRs0C+VZnkE8f7F3Pxx0z90Kj2WORZmDkeUpqw/mHd4qJnu1IXfuV2Fl7eORWo4 C66uf3TXIbP9mBFs1B2gIURIpQiKGzRIPo+2k75MeuFpKPZQLAI43zZITcqy33+YLv2V R9Rg== X-Gm-Message-State: AGi0PuaV+YkGP5mM2/61HYdGHZtDYZpBZXxWGAAXSrRlw0fWwPKUv9yt HSMt0KJcQeIL/EPKoc+vvRfJHH3o X-Google-Smtp-Source: APiQypKoIcqM4tll7r/jxhyS/SwOv3pAKYxR+mopJjSB/lHexr4CkDlbWUttJSofAE/93Tj0uYoYgg== X-Received: by 2002:a2e:2c11:: with SMTP id s17mr21272084ljs.119.1588183979899; Wed, 29 Apr 2020 11:12:59 -0700 (PDT) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com. [209.85.167.46]) by smtp.gmail.com with ESMTPSA id j8sm3122963lfk.88.2020.04.29.11.12.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Apr 2020 11:12:59 -0700 (PDT) Received: by mail-lf1-f46.google.com with SMTP id l11so2513515lfc.5 for ; Wed, 29 Apr 2020 11:12:59 -0700 (PDT) X-Received: by 2002:a19:f806:: with SMTP id a6mr23772383lff.201.1588183978317; Wed, 29 Apr 2020 11:12:58 -0700 (PDT) MIME-Version: 1.0 References: <202004272202.03RM2iR2012757@repo.freebsd.org> <122841588148797@mail.yandex.ru> In-Reply-To: <122841588148797@mail.yandex.ru> From: Eric Joyner Date: Wed, 29 Apr 2020 11:12:46 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r360398 - head/sys/net To: Aleksandr Fedorov Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" X-Rspamd-Queue-Id: 49C67f02SLz4bVt X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ricera10@gmail.com designates 209.85.208.195 as permitted sender) smtp.mailfrom=ricera10@gmail.com X-Spamd-Result: default: False [-1.04 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; URI_COUNT_ODD(1.00)[9]; RCVD_COUNT_THREE(0.00)[4]; FORGED_SENDER(0.30)[erj@freebsd.org,ricera10@gmail.com]; FREEMAIL_TO(0.00)[yandex.ru]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[erj@freebsd.org,ricera10@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.966,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.98)[-0.977,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-all@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[195.208.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.09)[ip: (0.41), ipnet: 209.85.128.0/17(-0.40), asn: 15169(-0.43), country: US(-0.05)]; RWL_MAILSPIKE_POSSIBLE(0.00)[195.208.85.209.rep.mailspike.net : 127.0.0.17]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 18:13:03 -0000 Hi Aleksandr, Part of this patch was to introduce a driver-dependent iflib function that would allow drivers to tell iflib whether or not to flap the interface when a vlan is registered or unregistered. I think this could be fixed for em(4) by having it implement that function to either always return false (so iflib doesn't do an init/stop), or maybe have it only do a reset when vlanhwfilter is enabled; I'm going to take a look at doing that. - Eric On Wed, Apr 29, 2020 at 1:27 AM Aleksandr Fedorov wrote: > Sorry for the late response, but I think that this changes makes Intel > cards with iflib drivers fully unusable. > We already have a regression which leads to an interface flapping > when adding vlan with enabled vlanhwfilter. But at least there is a > workaround - disabling hwfilter. > After this change, the interface will always flap. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241785 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240818 > https://lists.freebsd.org/pipermail/freebsd-net/2018-November/052184.html > >